Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make sure the model config loader respects the model_revision too #1160

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

winglian
Copy link
Collaborator

Description

reported in discord:

ValueError: The model class you are passing has a `config_class` attribute that is not consistent with the config class you passed (model has <class 'transformers_modules.microsoft.phi-2.834565c23f9b28b96ccbeabe614dd906b6db551a.configuration_phi.PhiConfig'> and you passed <class 'transformers_modules.microsoft.phi-2.85d00b03fee509307549d823fdd095473ba5197c.configuration_phi.PhiConfig'>. Fix one of those so they match!

this is due to the config loader pulling main rather than the revision specified

Motivation and Context

How has this been tested?

Screenshots (if appropriate)

Types of changes

Social Handles (Optional)

@winglian winglian merged commit fccb542 into main Jan 22, 2024
7 checks passed
@winglian winglian deleted the config-revision branch January 22, 2024 18:23
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.

None yet

1 participant