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
c6c9ab98
Unverified
Commit
c6c9ab98
authored
Apr 05, 2022
by
Philip Meier
Committed by
GitHub
Apr 05, 2022
Browse files
remove unnecessary pytest install (#5739)
parent
095cabb7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
.circleci/unittest/linux/scripts/install.sh
.circleci/unittest/linux/scripts/install.sh
+2
-2
.circleci/unittest/windows/scripts/install.sh
.circleci/unittest/windows/scripts/install.sh
+1
-1
No files found.
.circleci/unittest/linux/scripts/install.sh
View file @
c6c9ab98
...
@@ -31,9 +31,9 @@ esac
...
@@ -31,9 +31,9 @@ esac
printf
"Installing PyTorch with %s
\n
"
"
${
cudatoolkit
}
"
printf
"Installing PyTorch with %s
\n
"
"
${
cudatoolkit
}
"
if
[
"
${
os
}
"
==
"MacOSX"
]
;
then
if
[
"
${
os
}
"
==
"MacOSX"
]
;
then
conda
install
-y
-c
"pytorch-
${
UPLOAD_CHANNEL
}
"
"pytorch-
${
UPLOAD_CHANNEL
}
"
::pytorch
"
${
cudatoolkit
}
"
pytest
conda
install
-y
-c
"pytorch-
${
UPLOAD_CHANNEL
}
"
"pytorch-
${
UPLOAD_CHANNEL
}
"
::pytorch
"
${
cudatoolkit
}
"
else
else
conda
install
-y
-c
"pytorch-
${
UPLOAD_CHANNEL
}
"
-c
nvidia
"pytorch-
${
UPLOAD_CHANNEL
}
"
::pytorch[build
=
"*
${
version
}
*"
]
"
${
cudatoolkit
}
"
pytest
conda
install
-y
-c
"pytorch-
${
UPLOAD_CHANNEL
}
"
-c
nvidia
"pytorch-
${
UPLOAD_CHANNEL
}
"
::pytorch[build
=
"*
${
version
}
*"
]
"
${
cudatoolkit
}
"
fi
fi
printf
"* Installing torchvision
\n
"
printf
"* Installing torchvision
\n
"
...
...
.circleci/unittest/windows/scripts/install.sh
View file @
c6c9ab98
...
@@ -28,7 +28,7 @@ else
...
@@ -28,7 +28,7 @@ else
fi
fi
printf
"Installing PyTorch with %s
\n
"
"
${
cudatoolkit
}
"
printf
"Installing PyTorch with %s
\n
"
"
${
cudatoolkit
}
"
conda
install
-y
-c
"pytorch-
${
UPLOAD_CHANNEL
}
"
-c
nvidia
"pytorch-
${
UPLOAD_CHANNEL
}
"
::pytorch[build
=
"*
${
version
}
*"
]
"
${
cudatoolkit
}
"
pytest
conda
install
-y
-c
"pytorch-
${
UPLOAD_CHANNEL
}
"
-c
nvidia
"pytorch-
${
UPLOAD_CHANNEL
}
"
::pytorch[build
=
"*
${
version
}
*"
]
"
${
cudatoolkit
}
"
torch_cuda
=
$(
python
-c
"import torch; print(torch.cuda.is_available())"
)
torch_cuda
=
$(
python
-c
"import torch; print(torch.cuda.is_available())"
)
echo
torch.cuda.is_available is
$torch_cuda
echo
torch.cuda.is_available is
$torch_cuda
...
...
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