"megatron/git@developer.sourcefind.cn:OpenDAS/megatron-lm.git" did not exist on "51204a4da7d32ca74033c8d357a1fe32dca59af6"
Commit 99ff151a authored by rusty1s's avatar rusty1s
Browse files

all versions

parent fe79c969
...@@ -10,52 +10,51 @@ env: ...@@ -10,52 +10,51 @@ env:
jobs: jobs:
include: include:
# - name: linux/cpu - name: linux/cpu
# os: linux os: linux
# language: python language: python
# python: 3.7.6 python: 3.7.6
# env: env:
# - TORCH=${TORCH_VERSION}+cpu - TORCH=${TORCH_VERSION}+cpu
# - name: linux/cu92 - name: linux/cu92
# os: linux os: linux
# language: python language: python
# python: 3.7.6 python: 3.7.6
# env: env:
# - FORCE_CUDA=1 - FORCE_CUDA=1
# - CUDA_SHORT=9.2 - CUDA_SHORT=9.2
# - CUDA=9.2.148-1 - CUDA=9.2.148-1
# - 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
# - name: linux/cu100 - name: linux/cu100
# os: linux os: linux
# language: python language: python
# python: 3.7.6 python: 3.7.6
# env: env:
# - FORCE_CUDA=1 - FORCE_CUDA=1
# - CUDA_SHORT=10.0 - CUDA_SHORT=10.0
# - CUDA=10.0.130-1 - CUDA=10.0.130-1
# - UBUNTU_VERSION=ubuntu1804 - UBUNTU_VERSION=ubuntu1804
# - CUBLAS=cuda-cublas-dev-10-0 - CUBLAS=cuda-cublas-dev-10-0
# - TORCH=${TORCH_VERSION}+cu100 - TORCH=${TORCH_VERSION}+cu100
# - name: linux/cu101 - name: linux/cu101
# os: linux os: linux
# language: python language: python
# python: 3.7.6 python: 3.7.6
# env: env:
# - FORCE_CUDA=1 - FORCE_CUDA=1
# - CUDA_SHORT=10.1 - CUDA_SHORT=10.1
# - CUDA=10.1.105-1 - CUDA=10.1.105-1
# - UBUNTU_VERSION=ubuntu1804 - UBUNTU_VERSION=ubuntu1804
# - CUBLAS=libcublas-dev - CUBLAS=libcublas-dev
# - TORCH=${TORCH_VERSION}+ - TORCH=${TORCH_VERSION}+
# - name: macosx/cpu - name: macosx/cpu
# os: osx os: osx
# osx_image: xcode11.3 osx_image: xcode11.3
# language: shell language: shell
# env: env:
# - TORCH=${TORCH_VERSION} - TORCH=${TORCH_VERSION}
# - EXTRA_COMPILE_ARGS="-IC:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\include"
- name: windows/cpu - name: windows/cpu
os: windows os: windows
language: shell language: shell
...@@ -99,17 +98,18 @@ jobs: ...@@ -99,17 +98,18 @@ jobs:
# - choco install python --version 3.7.6 # - choco install python --version 3.7.6
install: install:
- if [ "${TRAVIS_OS_NAME}" = "windows" ]; then alias python3=python; fi
- pip3 install --upgrade --user pip - pip3 install --upgrade --user pip
- 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
- pip3 install flake8 - pip3 install flake8
- python3 setup.py install || python setup.py install - python3 setup.py install
script: script:
- flake8 . - flake8 .
- python3 setup.py test || python setup.py install - python3 setup.py test
- python3 setup.py bdist_wheel || python3 setup.py bdist_wheel # - python3 setup.py bdist_wheel
- ls dist # - ls dist
notifications: notifications:
email: false email: false
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