Skip to content

Support revision parameter in FastLanguageModel.from_pretrained#625

Closed
chrehall68 wants to merge 3 commits into
unslothai:mainfrom
chrehall68:main
Closed

Support revision parameter in FastLanguageModel.from_pretrained#625
chrehall68 wants to merge 3 commits into
unslothai:mainfrom
chrehall68:main

Conversation

@chrehall68

Copy link
Copy Markdown
Contributor

This pull request addresses #624

Instead of always passing the revision parameter to be used by the base model, the revision parameter is now:

  • passed to PeftConfig and PeftModel if the model is a PEFT model
  • passed to AutoConfig and the base model dispatcher if the model isn't a PEFT model

@chrehall68

Copy link
Copy Markdown
Contributor Author

Sorry, used the wrong branch.

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.

1 participant