We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c5f4a8 commit 1502865Copy full SHA for 1502865
.github/scripts/install-mpi-linux-x86.sh
@@ -0,0 +1,5 @@
1
+install_mpi_linux_x86() {
2
+ echo "install mpi for x86"
3
+ apt-get update
4
+ apt-get install -y libmpich-dev libopenmpi-dev
5
+}
.github/scripts/install-torch-tensorrt.sh
@@ -12,6 +12,12 @@ if [[ $(uname -m) == "aarch64" ]]; then
12
install_cuda_aarch64
13
fi
14
15
+if [[ "$(uname -s)" == "Linux" && "$(uname -m)" == "x86_64" ]]; then
16
+ # install MPI for Linux x86_64
17
+ source .github/scripts/install-mpi-linux-x86.sh
18
+ install_mpi_linux_x86
19
+fi
20
+
21
# Install all the dependencies required for Torch-TensorRT
22
pip install --pre -r ${PWD}/tests/py/requirements.txt
23
# dependencies in the tests/py/requirements.txt might install a different version of torch or torchvision
0 commit comments