Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorporate PyTorch Channel #11

Merged
merged 10 commits into from
Apr 6, 2021
119 changes: 119 additions & 0 deletions .azure-pipelines/azure-pipelines-win.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .ci_support/linux_64_numpy1.17python3.6.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ c_compiler_version:
cdt_name:
- cos7
channel_sources:
- conda-forge,defaults
- pytorch,conda-forge,defaults
channel_targets:
- conda-forge main
docker_image:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/linux_64_numpy1.17python3.7.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ c_compiler_version:
cdt_name:
- cos7
channel_sources:
- conda-forge,defaults
- pytorch,conda-forge,defaults
channel_targets:
- conda-forge main
docker_image:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/linux_64_numpy1.17python3.8.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ c_compiler_version:
cdt_name:
- cos7
channel_sources:
- conda-forge,defaults
- pytorch,conda-forge,defaults
channel_targets:
- conda-forge main
docker_image:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/linux_64_numpy1.19python3.9.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ c_compiler_version:
cdt_name:
- cos7
channel_sources:
- conda-forge,defaults
- pytorch,conda-forge,defaults
channel_targets:
- conda-forge main
docker_image:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/osx_64_numpy1.17python3.6.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ c_compiler:
c_compiler_version:
- '11'
channel_sources:
- conda-forge,defaults
- pytorch,conda-forge,defaults
channel_targets:
- conda-forge main
macos_machine:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/osx_64_numpy1.17python3.7.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ c_compiler:
c_compiler_version:
- '11'
channel_sources:
- conda-forge,defaults
- pytorch,conda-forge,defaults
channel_targets:
- conda-forge main
macos_machine:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/osx_64_numpy1.17python3.8.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ c_compiler:
c_compiler_version:
- '11'
channel_sources:
- conda-forge,defaults
- pytorch,conda-forge,defaults
channel_targets:
- conda-forge main
macos_machine:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/osx_64_numpy1.19python3.9.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ c_compiler:
c_compiler_version:
- '11'
channel_sources:
- conda-forge,defaults
- pytorch,conda-forge,defaults
channel_targets:
- conda-forge main
macos_machine:
Expand Down
19 changes: 19 additions & 0 deletions .ci_support/win_64_numpy1.17python3.6.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
c_compiler:
- vs2017
channel_sources:
- pytorch,conda-forge,defaults
channel_targets:
- conda-forge main
numpy:
- '1.17'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.6.* *_cpython
target_platform:
- win-64
zip_keys:
- - python
- numpy
19 changes: 19 additions & 0 deletions .ci_support/win_64_numpy1.17python3.7.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
c_compiler:
- vs2017
channel_sources:
- pytorch,conda-forge,defaults
channel_targets:
- conda-forge main
numpy:
- '1.17'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.7.* *_cpython
target_platform:
- win-64
zip_keys:
- - python
- numpy
19 changes: 19 additions & 0 deletions .ci_support/win_64_numpy1.17python3.8.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
c_compiler:
- vs2017
channel_sources:
- pytorch,conda-forge,defaults
channel_targets:
- conda-forge main
numpy:
- '1.17'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.8.* *_cpython
target_platform:
- win-64
zip_keys:
- - python
- numpy
19 changes: 19 additions & 0 deletions .ci_support/win_64_numpy1.19python3.9.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
c_compiler:
- vs2017
channel_sources:
- pytorch,conda-forge,defaults
channel_targets:
- conda-forge main
numpy:
- '1.19'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.9.* *_cpython
target_platform:
- win-64
zip_keys:
- - python
- numpy
28 changes: 28 additions & 0 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions azure-pipelines.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions conda-forge.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
conda_forge_output_validation: true
os_version:
linux_64: cos7
channel_priority: flexible
2 changes: 2 additions & 0 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
channel_sources:
- pytorch,conda-forge,defaults
7 changes: 3 additions & 4 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ source:
sha256: e18d822b735cdd61b710057c4e08c49fd534fb90484a53ab151b0ea6cf3d4d6a

build:
number: 0
number: 1
script: {{ PYTHON }} -m pip install . -vv
skip: true # [win]

requirements:
build:
Expand All @@ -30,8 +29,8 @@ requirements:
- pynndescent
- python
- scipy
- pytorch
- torchvision
- pytorch >=1.7.1
- torchvision >=0.8.2
- requests

test:
Expand Down