Commit 849cba17 authored by rusty1s's avatar rusty1s
Browse files

potential mac fix

parent fd265775
#!/bin/bash #!/bin/bash
conda install pytorch="${TORCH_VERSION}" "${TOOLKIT}" -c pytorch --yes if [ "${TRAVIS_OS_NAME}" != "osx" ]; then
conda install pytorch="${TORCH_VERSION}" "${TOOLKIT}" -c pytorch --yes
fi
if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
conda install pytorch="${TORCH_VERSION}" -c pytorch --yes
fi
# Fix "member may not be initialized" error on Windows: https://github.com/pytorch/pytorch/issues/27958 # Fix "member may not be initialized" error on Windows: https://github.com/pytorch/pytorch/issues/27958
if [ "${TRAVIS_OS_NAME}" = "windows" ] && [ "${IDX}" != "cpu" ]; then if [ "${TRAVIS_OS_NAME}" = "windows" ] && [ "${IDX}" != "cpu" ]; then
......
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