"torchvision/git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "0e688ce085392e748467d0858dd5d7af0f21ee9c"
Commit 74a55812 authored by rusty1s's avatar rusty1s
Browse files

update

parent 1f0904c3
...@@ -12,14 +12,16 @@ env: ...@@ -12,14 +12,16 @@ env:
jobs: jobs:
include: include:
- os: linux - name: linux/cpu
os: linux
language: python language: python
python: 3.6 python: 3.7
env: env:
- TORCH=${TORCH_VERSION}+cpu - TORCH=${TORCH_VERSION}+cpu
- os: linux - name: linux/cu92
os: linux
language: python language: python
python: 3.6 python: 3.7
env: env:
- FORCE_CUDA=1 - FORCE_CUDA=1
- CUDA_SHORT=9.2 - CUDA_SHORT=9.2
...@@ -27,19 +29,20 @@ jobs: ...@@ -27,19 +29,20 @@ jobs:
- UBUNTU_VERSION=ubuntu1604 - UBUNTU_VERSION=ubuntu1604
- CUBLAS=cuda-cublas-dev-9-2 - CUBLAS=cuda-cublas-dev-9-2
- TORCH=${TORCH_VERSION}+cu92 - TORCH=${TORCH_VERSION}+cu92
- os: osx - name: macosx/cpu
osx_image: xcode11.2 os: osx
osx_image: xcode11.3
language: shell language: shell
env: env:
- TORCH=${TORCH_VERSION} - TORCH=${TORCH_VERSION}
- PATH=/c/Python38:/c/Python38/Scripts:$PATH - PATH=/c/Python37:/c/Python37/Scripts:$PATH
- os: windows - name: windows/cpu
os: windows
language: shell # `language: python` is an error on Travis CI Windows language: shell # `language: python` is an error on Travis CI Windows
env: env:
- TORCH=${TORCH_VERSION}+cpu - TORCH=${TORCH_VERSION}+cpu
before_install: before_install:
- choco install python --version 3.8.0 - choco install python --version 3.7.6
- python -m pip install --upgrade pip
# - os: o # - os: o
# python: 3.6 # python: 3.6
# env: FORCE_CUDA=0 TORCH=${TORCH_VERSION} # env: FORCE_CUDA=0 TORCH=${TORCH_VERSION}
...@@ -51,7 +54,7 @@ install: ...@@ -51,7 +54,7 @@ install:
- source install.sh - source install.sh
- pip3 install numpy - pip3 install numpy
- pip3 install torch==${TORCH} -f https://download.pytorch.org/whl/torch_stable.html - pip3 install torch==${TORCH} -f https://download.pytorch.org/whl/torch_stable.html
- python -c "import torch; print(torch.__version__)" - python3 -c "import torch; print(torch.__version__)"
- pip3 install flake8 - pip3 install flake8
- pip3 install twine cibuildwheel - pip3 install twine cibuildwheel
- python3 setup.py install || python setup.py install - python3 setup.py install || python setup.py install
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment