https://github.com/huggingface/transformers/blob/7bbc62474391aff64f63fcc064c975752d1fa4de/src/transformers/trainer.py#L3728 may be using these fixes it ```py for param in model.parameters(): if not param.is_contiguous(): param.data = param.data.contiguous() ```