cpu wheel builds for linux and mac

Reviewed By: nikhilaravi

Differential Revision: D20073426

fbshipit-source-id: fce83c9b63d630de1e6ebe2ff4790f29d11b65cc
This commit is contained in:
Jeremy Reizenstein
2020-02-24 13:36:02 -08:00
committed by Facebook Github Bot
parent 40be4cf78b
commit 4233c32887
5 changed files with 103 additions and 3 deletions

View File

@@ -182,6 +182,24 @@ jobs:
docker run --gpus all --ipc=host -v $(pwd):/remote -w /remote ${VARS_TO_PASS} ${DOCKER_IMAGE} ./packaging/build_conda.sh
binary_macos_wheel:
<<: *binary_common
macos:
xcode: "9.0"
steps:
- checkout
- run:
# Cannot easily deduplicate this as source'ing activate
# will set environment variables which we need to propagate
# to build_wheel.sh
command: |
curl -o conda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
sh conda.sh -b
source $HOME/miniconda3/bin/activate
packaging/build_wheel.sh
- store_artifacts:
path: dist
workflows:
version: 2
build_and_test:
@@ -247,8 +265,44 @@ workflows:
name: binary_linux_conda_py3.8_cu101
python_version: '3.8'
pytorch_version: '1.4'
- binary_linux_wheel:
build_version: 0.1.0
cu_version: cpu
name: binary_linux_wheel_py3.6_cpu
python_version: '3.6'
pytorch_version: '1.4'
- binary_linux_wheel:
build_version: 0.1.0
cu_version: cpu
name: binary_linux_wheel_py3.7_cpu
python_version: '3.7'
pytorch_version: '1.4'
- binary_linux_wheel:
build_version: 0.1.0
cu_version: cpu
name: binary_linux_wheel_py3.8_cpu
python_version: '3.8'
pytorch_version: '1.4'
- binary_linux_conda_cuda:
name: testrun_conda_cuda_py3.7_cu100
python_version: "3.7"
pytorch_version: "1.4"
cu_version: "cu100"
- binary_macos_wheel:
build_version: 0.1.0
cu_version: cpu
name: binary_linux_wheel_py3.6_cpu
python_version: '3.6'
pytorch_version: '1.4'
- binary_macos_wheel:
build_version: 0.1.0
cu_version: cpu
name: binary_linux_wheel_py3.7_cpu
python_version: '3.7'
pytorch_version: '1.4'
- binary_macos_wheel:
build_version: 0.1.0
cu_version: cpu
name: binary_linux_wheel_py3.8_cpu
python_version: '3.8'
pytorch_version: '1.4'