-
Notifications
You must be signed in to change notification settings - Fork 502
/
Copy pathenv.yaml
50 lines (42 loc) · 1.27 KB
/
env.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Variables that will be stored in ~/.bashrc and ~/.zshrc files for the release stage.
# They'll be accessible for all processes on the host, also in the development image.
release_env:
common:
# Force GCC because clang/bazel has issues.
CC: gcc
CXX: g++
# CC: "clang-{{ clang_version }}"
# CXX: "clang++-{{ clang_version }}"
LD_LIBRARY_PATH: "$LD_LIBRARY_PATH:/usr/local/lib"
tpu:
ACCELERATOR: tpu
TPUVM_MODE: 1
cuda:
TF_CUDA_COMPUTE_CAPABILITIES: 7.0,7.5,8.0
XLA_CUDA: 1
# Variables that will be passed to shell environment only for building PyTorch and XLA libs.
build_env:
common:
LD_LIBRARY_PATH: "$LD_LIBRARY_PATH:/usr/local/lib"
# Set explicitly to 0 as setup.py defaults this flag to true if unset.
BUILD_CPP_TESTS: 0
# Force GCC because clang/bazel has issues.
CC: gcc
CXX: g++
PYTORCH_BUILD_NUMBER: 1
TORCH_XLA_VERSION: "{{ package_version }}"
PYTORCH_BUILD_VERSION: "{{ package_version }}"
XLA_SANDBOX_BUILD: 1
BAZEL_REMOTE_CACHE: 1
SILO_NAME: "cache-silo-{{ arch }}-{{ accelerator }}"
_GLIBCXX_USE_CXX11_ABI: 0
amd64:
ARCH: amd64
aarch64:
cuda:
TF_CUDA_COMPUTE_CAPABILITIES: 7.0,7.5,8.0
XLA_CUDA: 1
tpu:
ACCELERATOR: tpu
TPUVM_MODE: 1
BUNDLE_LIBTPU: 1