We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edcacd1 commit 4315db7Copy full SHA for 4315db7
context/entrypoint.sh
@@ -23,6 +23,14 @@ if [ "$EXTRA_PIP_PACKAGES" ]; then
23
timeout ${PIP_TIMEOUT:-600} pip install $EXTRA_PIP_PACKAGES || exit $?
24
fi
25
26
+if [ "$(uname -m)" = "aarch64" ]; then
27
+ # Check if the CUDA version is 12.8
28
+ if nvcc --version | grep -q "CUDA 12.8"; then
29
+ export NCCL_CUMEM_HOST_ENABLE=0
30
+ echo "Set NCCL_CUMEM_HOST_ENABLE=0 for ARM with CUDA 12.8"
31
+ fi
32
+fi
33
+
34
# Run whatever the user wants.
35
if [ "${UNQUOTE}" = "true" ]; then
36
exec $@
0 commit comments