Skip to content

Conversation

@mmathew23
Copy link
Collaborator

Fixes #3415

Users also report it fixes the issue for them. The change is needed due to transformers renaming PretrainedConfig to PreTrainedConfig in the main version of transformers.

@mmathew23 mmathew23 changed the title Handle transformers rename from PretrainedConfig to PreTrainedConfig Transformers Fix v4.57 rename from PretrainedConfig to PreTrainedConfig Oct 13, 2025
@danielhanchen danielhanchen merged commit bfad39b into unslothai:main Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] On import NameError: name 'PreTrainedConfig' is not defined. Did you mean: 'PretrainedConfig'?

2 participants