mirror of
https://github.com/huggingface/transformers.git
synced 2025-10-20 17:13:56 +08:00
add comment
This commit is contained in:
@ -132,7 +132,7 @@ try:
|
||||
}
|
||||
},
|
||||
}
|
||||
# We pin the version here for xpu support
|
||||
# We pin the version here for xpu support, if kernels is not available at all we won't reach this point, so it's safe.
|
||||
if is_kernels_available(MIN_VERSION="0.10.2"):
|
||||
register_kernel_mapping(_KERNEL_MAPPING)
|
||||
else:
|
||||
|
Reference in New Issue
Block a user