Skip to content

Commit 6c2d700

Browse files
authored
Merge branch 'master' into patch-3
2 parents 531347f + ac15240 commit 6c2d700

File tree

2 files changed

+31
-8
lines changed

2 files changed

+31
-8
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
-DBUILD_TESTS=ON \
110110
.
111111
make -j $(nproc) install
112-
112+
113113
- name: Build Ruy
114114
if: matrix.backend == 'ruy'
115115
run: |
@@ -121,7 +121,7 @@ jobs:
121121
$CMAKE_EXTRA_OPTIONS \
122122
.
123123
make -j $(nproc) install
124-
124+
125125
- name: Download test data
126126
run: |
127127
wget https://opennmt-models.s3.amazonaws.com/transliteration-aren-all.tar.gz
@@ -229,7 +229,7 @@ jobs:
229229
ls -l
230230
find .
231231
pip install ${{ matrix.wheel_pattern }}
232-
232+
233233
- name: Test Python wheel
234234
run: |
235235
pytest -v python/tests/ --ignore=python/tests/test_opennmt_tf.py
@@ -295,6 +295,29 @@ jobs:
295295
with:
296296
submodules: recursive
297297

298+
- name: Show disk and docker usage (before cleanup)
299+
run: |
300+
df -h
301+
echo " -= Docker System =-"
302+
docker system df || true
303+
304+
- name: Free disk space (cleanup heavy preinstalled directories + docker prune)
305+
run: |
306+
echo " -= Removing big preinstalled directories (shouldn't remove the needed tools) =-"
307+
sudo rm -rf /opt/hostedtoolcache || true
308+
sudo rm -rf /usr/share/dotnet || true
309+
sudo rm -rf /usr/lib/jvm || true
310+
sudo rm -rf /usr/local/lib/android || true
311+
echo " -= Running docker prune =-"
312+
docker system prune -af --volumes || true
313+
docker builder prune -af || true
314+
315+
- name: Show disk and docker usage (after cleanup)
316+
run: |
317+
df -h
318+
echo " -= Docker System =-"
319+
docker system df || true
320+
298321
- name: Build Docker images
299322
run: |
300323
./docker/build_all.sh

src/cuda/primitives.cu

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ namespace ctranslate2 {
503503
beta_ptr,
504504
c, CUDA_R_16F, ldc,
505505
compute_type,
506-
CUBLAS_GEMM_DEFAULT_TENSOR_OP));
506+
CUBLAS_GEMM_DEFAULT));
507507
}
508508

509509
template<>
@@ -528,7 +528,7 @@ namespace ctranslate2 {
528528
&beta,
529529
c, CUDA_R_16BF, ldc,
530530
CUDA_R_32F,
531-
CUBLAS_GEMM_DEFAULT_TENSOR_OP));
531+
CUBLAS_GEMM_DEFAULT));
532532
}
533533

534534
template<>
@@ -556,7 +556,7 @@ namespace ctranslate2 {
556556
&beta_i,
557557
c, CUDA_R_32I, ldc,
558558
CUDA_R_32I,
559-
CUBLAS_GEMM_DEFAULT_TENSOR_OP));
559+
CUBLAS_GEMM_DEFAULT));
560560
}
561561

562562
template<>
@@ -617,7 +617,7 @@ namespace ctranslate2 {
617617
c, CUDA_R_16F, ldc, stridec,
618618
batch_size,
619619
compute_type,
620-
CUBLAS_GEMM_DEFAULT_TENSOR_OP));
620+
CUBLAS_GEMM_DEFAULT));
621621
}
622622

623623
template<>
@@ -642,7 +642,7 @@ namespace ctranslate2 {
642642
c, CUDA_R_16BF, ldc, stridec,
643643
batch_size,
644644
CUDA_R_32F,
645-
CUBLAS_GEMM_DEFAULT_TENSOR_OP));
645+
CUBLAS_GEMM_DEFAULT));
646646
}
647647

648648
template <typename T>

0 commit comments

Comments
 (0)