diff --git a/readthedocs.yml b/readthedocs.yml index 05580f48..5d7e2864 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -1,8 +1,12 @@ version: 2 build: + os: ubuntu-22.04 tools: python: "3.8" + commands: + # 在安装主包之前手动安装 torch-sparse + - pip install torch-sparse==0.6.12 python: install: @@ -10,9 +14,5 @@ python: - method: pip path: . -# 使用 build.commands 在主安装之前手动安装 torch-sparse -build: - commands: - - pip install torch-sparse==0.6.12 formats: []