Remove misleading warning (not that important nowadays anyway).

This commit is contained in:
Nicolas Patry 2024-05-02 15:09:04 +02:00
parent 0038e6020f
commit ddbf038761

View File

@ -60,9 +60,6 @@ if (
except ImportError:
pass
if not CUSTOM_KERNELS_ENABLED:
logger.warning("We're not using custom kernels.")
def make_causal_mask(
input_ids_shape: torch.Size, device: torch.device, past_key_values_length: int