Skip to content
Snippets Groups Projects
Commit 9554f709 authored by Guillaume HEUSCH's avatar Guillaume HEUSCH
Browse files

Merge branch 'update-pytorch' into 'master'

Update pytorch

See merge request !2
parents 6b635019 eef4fe67
Branches
No related tags found
1 merge request!2Update pytorch
Pipeline #26049 passed
......@@ -48,10 +48,18 @@ stages:
key: "linux-cache"
build_linux_27:
<<: *linux_build_job
variables:
PYTHON_VERSION: "2.7"
.build_macosx_template: &macosx_build_job
<<: *build_job
tags:
- macosx
artifacts:
expire_in: 1 week
paths:
- _ci/
- ${CONDA_ROOT}/conda-bld/osx-64/*.tar.bz2
cache:
<<: *build_caches
key: "macosx-cache"
build_linux_36:
......@@ -68,6 +76,12 @@ build_linux_36:
- ${CONDA_ROOT}/conda-bld/linux-64/*.tar.bz2
build_macosx_36:
<<: *macosx_build_job
variables:
PYTHON_VERSION: "3.6"
# Deploy targets
.deploy_template: &deploy_job
stage: deploy
......@@ -76,8 +90,8 @@ build_linux_36:
script:
- ./_ci/deploy.sh
dependencies:
- build_linux_27
- build_linux_36
- build_macosx_36
tags:
- deployer
......
......@@ -30,8 +30,8 @@ requirements:
- python
- setuptools
- numpy >=1.11
- pytorch =0.4
- torchvision =0.2.0
- pytorch >=0.4
- torchvision >=0.2.0
test:
imports:
- {{ name }}
......
......@@ -3,5 +3,5 @@ numpy
bob.extension
bob.core
bob.bio.base
torch == 0.4.0
torchvision == 0.2.0
torch >= 0.4.0
torchvision >= 0.2.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment