Skip to content

Commit

Permalink
also consider 32 bit system.
Browse files Browse the repository at this point in the history
  • Loading branch information
vanbasten23 committed Nov 2, 2023
1 parent 56ed004 commit 1d21486
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/ansible/config/env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ release_env:
TF_CUDA_COMPUTE_CAPABILITIES: 7.0,7.5,8.0
XLA_CUDA: 1
PATH=/usr/local/cuda-{{ cuda_version }}/bin${PATH:+:${PATH}}
LD_LIBRARY_PATH=/usr/local/cuda-{{ cuda_version }}/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
LD_LIBRARY_PATH=/usr/local/cuda-{{ cuda_version }}/lib64:/usr/local/cuda-{{ cuda_version }}/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

# Variables that will be passed to shell environment only for building PyTorch and XLA libs.
build_env:
Expand Down Expand Up @@ -47,7 +47,7 @@ build_env:
TF_CUDA_COMPUTE_CAPABILITIES: 7.0,7.5,8.0
XLA_CUDA: 1
PATH=/usr/local/cuda-{{ cuda_version }}/bin${PATH:+:${PATH}}
LD_LIBRARY_PATH=/usr/local/cuda-{{ cuda_version }}/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
LD_LIBRARY_PATH=/usr/local/cuda-{{ cuda_version }}/lib64:/usr/local/cuda-{{ cuda_version }}/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

tpu:
ACCELERATOR: tpu
Expand Down

0 comments on commit 1d21486

Please sign in to comment.