Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
7aea80c9
Unverified
Commit
7aea80c9
authored
May 12, 2020
by
Eli Uriegas
Committed by
GitHub
May 12, 2020
Browse files
Add test channels for pytorch version functions (#2208)
parent
40ad5572
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
packaging/pkg_helpers.bash
packaging/pkg_helpers.bash
+2
-1
No files found.
packaging/pkg_helpers.bash
View file @
7aea80c9
...
...
@@ -214,6 +214,7 @@ setup_pip_pytorch_version() {
else
pip_install
"torch==
$PYTORCH_VERSION$PYTORCH_VERSION_SUFFIX
"
\
-f
https://download.pytorch.org/whl/torch_stable.html
\
-f
https://download.pytorch.org/whl/test/torch_test.html
-f
https://download.pytorch.org/whl/nightly/torch_nightly.html
fi
}
...
...
@@ -239,7 +240,7 @@ setup_conda_pytorch_constraint() {
exit
1
fi
else
export
CONDA_CHANNEL_FLAGS
=
"-c pytorch -c pytorch-nightly"
export
CONDA_CHANNEL_FLAGS
=
"-c pytorch -c pytorch-nightly
-c pytorch-test
"
fi
if
[[
"
$CU_VERSION
"
==
cpu
]]
;
then
export
CONDA_PYTORCH_BUILD_CONSTRAINT
=
"- pytorch==
$PYTORCH_VERSION
${
PYTORCH_VERSION_SUFFIX
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment