We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e38043e commit 40c6b24Copy full SHA for 40c6b24
src/cuda/utils.cc
@@ -182,6 +182,9 @@ namespace ctranslate2 {
182
183
bool gpu_supports_int8(int device) {
184
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;
188
return device_prop.major > 6 || (device_prop.major == 6 && device_prop.minor == 1);
189
}
190
0 commit comments