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
c8c3839c
Unverified
Commit
c8c3839c
authored
Mar 04, 2024
by
Nicolas Hug
Committed by
GitHub
Mar 04, 2024
Browse files
Pin 'mpmath<1.4' in CI (#8291)
parent
3b5e6fc4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
.github/scripts/setup-env.sh
.github/scripts/setup-env.sh
+2
-1
No files found.
.github/scripts/setup-env.sh
View file @
c8c3839c
...
...
@@ -87,7 +87,8 @@ case $GPU_ARCH_TYPE in
;;
esac
PYTORCH_WHEEL_INDEX
=
"https://download.pytorch.org/whl/
${
CHANNEL
}
/
${
GPU_ARCH_ID
}
"
pip
install
--progress-bar
=
off
--pre
torch
--index-url
=
"
${
PYTORCH_WHEEL_INDEX
}
"
# TODO: remove pinning of mpmath when https://github.com/pytorch/vision/issues/8292 is properly fixed.
pip
install
--progress-bar
=
off
"mpmath<1.4"
--pre
torch
--index-url
=
"
${
PYTORCH_WHEEL_INDEX
}
"
if
[[
$GPU_ARCH_TYPE
==
'cuda'
]]
;
then
python
-c
"import torch; exit(not torch.cuda.is_available())"
...
...
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