Skip to content

Commit

Permalink
3.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
soumith committed Jan 14, 2020
1 parent 610548d commit bd4c2a9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion conda/build_pytorch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ if [[ -z "$DESIRED_PYTHON" ]]; then
if [[ "$OSTYPE" == "msys" ]]; then
DESIRED_PYTHON=('3.5' '3.6' '3.7')
else
DESIRED_PYTHON=('2.7' '3.5' '3.6' '3.7')
DESIRED_PYTHON=('2.7' '3.5' '3.6' '3.7' '3.8')
fi
fi
if [[ "$OSTYPE" == "darwin"* ]]; then
Expand Down
6 changes: 3 additions & 3 deletions conda/pytorch-nightly/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ requirements:
- numpy 1.11.*
- setuptools
- pyyaml
- cffi
- cffi # [py2k]
- mkl >=2019
- mkl-include
- typing
- typing # [py2k]
- ninja
- libuv # [unix]
- pkg-config # [unix]
Expand All @@ -28,7 +28,7 @@ requirements:
- python
- numpy >=1.11
- mkl >=2018
- cffi
- cffi # [py2k]
- ninja
- future # [py2k]
- typing # [py2k]
Expand Down
1 change: 1 addition & 0 deletions packaging/conda/build_vision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,6 @@ fi
time conda build -c $ANACONDA_USER --no-anaconda-upload --python 3.5 torchvision
time conda build -c $ANACONDA_USER --no-anaconda-upload --python 3.6 torchvision
time conda build -c $ANACONDA_USER --no-anaconda-upload --python 3.7 torchvision
time conda build -c $ANACONDA_USER --no-anaconda-upload --python 3.8 torchvision

set +e
2 changes: 1 addition & 1 deletion packaging/wheel/osx_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ rm -rf vision
git clone https://github.com/pytorch/vision
pushd vision

desired_pythons=( "2.7" "3.5" "3.6" "3.7" )
desired_pythons=( "2.7" "3.5" "3.6" "3.7" "3.8" )
# for each python
for desired_python in "${desired_pythons[@]}"
do
Expand Down
1 change: 1 addition & 0 deletions wheel/build_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
./build_wheel.sh 3.5 $BUILD_VERSION $BUILD_NUMBER
./build_wheel.sh 3.6 $BUILD_VERSION $BUILD_NUMBER
./build_wheel.sh 3.7 $BUILD_VERSION $BUILD_NUMBER
./build_wheel.sh 3.8 $BUILD_VERSION $BUILD_NUMBER

ls whl/ | xargs -I {} aws s3 cp whl/{} s3://pytorch/whl/ --acl public-read
fi

0 comments on commit bd4c2a9

Please sign in to comment.