Skip to content

Commit 40c6b24

Browse files
authored
Disable INT8 for sm120 - Blackwell GPUs (#1937)
1 parent e38043e commit 40c6b24

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/cuda/utils.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ namespace ctranslate2 {
182182

183183
bool gpu_supports_int8(int device) {
184184
const cudaDeviceProp& device_prop = get_device_properties(device);
185+
// Disable INT8 for sm120: https://github.com/OpenNMT/CTranslate2/issues/1865
186+
if (device_prop.major == 12 && device_prop.minor == 0)
187+
return false;
185188
return device_prop.major > 6 || (device_prop.major == 6 && device_prop.minor == 1);
186189
}
187190

0 commit comments

Comments
 (0)