File tree Expand file tree Collapse file tree 3 files changed +26
-2
lines changed Expand file tree Collapse file tree 3 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -78,3 +78,7 @@ node_modules
78
78
79
79
# mypy
80
80
** /.mypy_cache /
81
+
82
+ # Mac directory meta
83
+ .DS_Store
84
+ * /** /.DS_Store
Original file line number Diff line number Diff line change @@ -52,6 +52,10 @@ cuda_version_nodot=$(echo $CUDA_VERSION | tr -d '.')
52
52
53
53
TORCH_CUDA_ARCH_LIST=" 3.7;5.0;6.0;7.0"
54
54
case ${CUDA_VERSION} in
55
+ 11.2)
56
+ TORCH_CUDA_ARCH_LIST=" ${TORCH_CUDA_ARCH_LIST} ;7.5;8.0;8.6"
57
+ EXTRA_CAFFE2_CMAKE_FLAGS+=(" -DATEN_NO_TEST=ON" )
58
+ ;;
55
59
11.1)
56
60
TORCH_CUDA_ARCH_LIST=" 5.0;7.0;8.0;8.6" # removing some to prevent bloated binary size
57
61
EXTRA_CAFFE2_CMAKE_FLAGS+=(" -DATEN_NO_TEST=ON" )
@@ -207,7 +211,7 @@ DEPS_SONAME=(
207
211
)
208
212
elif [[ $CUDA_VERSION == " 11.1" ]]; then
209
213
DEPS_LIST=(
210
- " /usr/local/cuda/lib64/libcudart.so.11.0" # CUDA 11.1 usues libcudart11.0 for backwards compat
214
+ " /usr/local/cuda/lib64/libcudart.so.11.0" # CUDA 11.1 uses libcudart11.0 for backwards compat
211
215
" /usr/local/cuda/lib64/libnvToolsExt.so.1"
212
216
" /usr/local/cuda/lib64/libnvrtc.so.11.1"
213
217
" /usr/local/cuda/lib64/libnvrtc-builtins.so"
@@ -221,6 +225,22 @@ DEPS_SONAME=(
221
225
" libnvrtc-builtins.so"
222
226
" libgomp.so.1"
223
227
)
228
+ elif [[ $CUDA_VERSION == " 11.2" ]]; then
229
+ DEPS_LIST=(
230
+ " /usr/local/cuda/lib64/libcudart.so.11.2.72"
231
+ " /usr/local/cuda/lib64/libnvToolsExt.so.1"
232
+ " /usr/local/cuda/lib64/libnvrtc.so.11.2"
233
+ " /usr/local/cuda/lib64/libnvrtc-builtins.so"
234
+ " $LIBGOMP_PATH "
235
+ )
236
+
237
+ DEPS_SONAME=(
238
+ " libcudart.so.11.2.72"
239
+ " libnvToolsExt.so.1"
240
+ " libnvrtc.so.11.2"
241
+ " libnvrtc-builtins.so"
242
+ " libgomp.so.1"
243
+ )
224
244
else
225
245
echo " Unknown cuda version $CUDA_VERSION "
226
246
exit 1
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ for rocm_version in 3.7 3.8 3.9 3.10 4.0; do
16
16
)
17
17
done
18
18
19
- for cuda_version in 9.2 10.1 10.2 11.0 11.1; do
19
+ for cuda_version in 9.2 10.1 10.2 11.0 11.1 11.2 ; do
20
20
(
21
21
set -x
22
22
DOCKER_BUILDKIT=1 docker build \
You can’t perform that action at this time.
0 commit comments