mirror of
https://github.com/huggingface/kernels.git
synced 2025-10-20 20:56:31 +08:00
* Set `kernelize` default mode to `Mode.TRAINING | Mode.TORCH_COMPILE` Also update docs and tests. * Rename `Mode.DEFAULT` to `Mode.FALLBACK` * More fine-grained fallbacks For instance, INFERENCE can fall back to INFERENCE | TORCH_COMPILE, TRAINING, TRAINING | TORCH_COMPILE, and FALLBACK. * Update documtenation for mode fallback * Mention that you can rerun `kernelize` to change the mode