"...python/git@developer.sourcefind.cn:change/sglang.git" did not exist on "a80bcb5a68494cb542800af6ef14469615d1b3c6"
Commit 53c2026d authored by rusty1s's avatar rusty1s
Browse files

fix windows cu92

parent 36a2d4da
...@@ -27,7 +27,7 @@ env: ...@@ -27,7 +27,7 @@ env:
# - TORCH_VERSION=1.4.0 PYTHON_VERSION=3.5 IDX=cu101 # - TORCH_VERSION=1.4.0 PYTHON_VERSION=3.5 IDX=cu101
jobs: jobs:
exclude: exclude: # Exclude all macOS CUDA jobs.
- os: osx - os: osx
env: TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu92 env: TORCH_VERSION=1.4.0 PYTHON_VERSION=3.8 IDX=cu92
- os: osx - os: osx
...@@ -58,7 +58,7 @@ install: ...@@ -58,7 +58,7 @@ install:
- source script/conda.sh - source script/conda.sh
- conda create --yes -n test python=${PYTHON_VERSION} - conda create --yes -n test python=${PYTHON_VERSION}
- source activate test - source activate test
- conda install pytorch=${TORCH_VERSION} ${TOOLKIT} -c pytorch --yes if [ ${TRAVIS_OS_NAME} = "windows" ] || [ $IDX != "cu92" ]; then conda install pytorch ${TOOLKIT} -c pytorch -c defaults -c numba/label/dev --yes; else conda install pytorch=${TORCH_VERSION} ${TOOLKIT} -c pytorch --yes; fi
- pip install flake8 codecov - pip install flake8 codecov
- python 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