Skip to content

Commit 44e50f4

Browse files
committed
ROCM bazelrc
1 parent 35c472a commit 44e50f4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

deps/ReactantExtra/.bazelrc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ build --define=allow_oversize_protos=true
1414

1515
build -c opt
1616

17-
1817
build:cuda --repo_env TF_NEED_CUDA=1
1918
build:cuda --repo_env TF_NCCL_USE_STUB=1
2019
build:cuda --repo_env=HERMETIC_CUDA_VERSION="12.3.2"
@@ -28,3 +27,10 @@ build:cuda --@xla//xla/python:jax_cuda_pip_rpaths=true
2827
# Default hermetic CUDA and CUDNN versions.
2928
build:cuda --@local_config_cuda//cuda:include_cuda_libs=true
3029
build:cuda --@local_config_cuda//:cuda_compiler=nvcc
30+
31+
32+
build:rocm --repo_env TF_NEED_ROCM=1
33+
build:rocm --define=using_rocm=true
34+
build:rocm --define=using_rocm_hipcc=true
35+
build:rocm --action_env TF_ROCM_AMDGPU_TARGETS="gfx900,gfx906,gfx908,gfx90a,gfx1030"
36+

0 commit comments

Comments
 (0)