g
and saving models.
config_name (str) — A filename under which the model should be stored when calling
save_pretrained().

disable_gradient_checkpointing

<
source
>
(
)



Deactivates gradient checkpointing for the current model.
Note that in other frameworks this feature can be referred to as “activation checkpointing” or “checkpoint
activations”.

disable_xformers_memory_efficient_attention

<
source
>
(
)



Disable memory efficient attent