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 4abaae5 commit 589cea1Copy full SHA for 589cea1
.github/container/Dockerfile.jax
@@ -62,6 +62,11 @@ pip install ninja && rm -rf ~/.cache/pip
62
git-clone.sh ${URLREF_TRANSFORMER_ENGINE} ${SRC_PATH_TRANSFORMER_ENGINE}
63
pushd ${SRC_PATH_TRANSFORMER_ENGINE}
64
export NVTE_BUILD_THREADS_PER_JOB=8
65
+if [[ -n "${CUDA_ARCH_LIST//}" ]]; then
66
+ # "1.2 3.4 5.6" -> "12-real;34-real;56", i.e. SASS plus PTX for the last one
67
+ NVTE_CUDA_ARCHS="${CUDA_ARCH_LIST// /-real;}"
68
+ export NVTE_CUDA_ARCHS="${NVTE_CUDA_ARCHS//./}"
69
+fi
70
export NVTE_FRAMEWORK=jax
71
# TransformerEngine needs FFI headers from XLA
72
export XLA_HOME=${SRC_PATH_XLA}
0 commit comments