File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ install:
6161 - source script/conda.sh
6262 - conda create --yes -n test python="${PYTHON_VERSION}"
6363 - source activate test
64+ - conda install pytorch=${TORCH_VERSION} ${TOOLKIT} -c pytorch --yes
6465 - source script/torch.sh
6566 - pip install flake8 codecov
6667 - python setup.py install
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- conda install pytorch=" ${TORCH_VERSION} " " ${TOOLKIT} " -c pytorch --yes
4-
53# Fix "member may not be initialized" error on Windows: https://github.com/pytorch/pytorch/issues/27958
64if [ " ${TRAVIS_OS_NAME} " = " windows" ] && [ " ${IDX} " != " cpu" ]; then
75 sed -i.bak -e ' s/constexpr/const/g' /c/tools/miniconda3/envs/test/lib/site-packages/torch/include/torch/csrc/jit/script/module.h
You can’t perform that action at this time.
0 commit comments