Skip to content

Conversation

@pierlj
Copy link
Member

@pierlj pierlj commented Jan 18, 2024

Fixing issue when loading BaseModel instances (or custom model classes that directly extend BaseModel)

model_id, meta = cls.read_meta_from_local_dir(local_dir) returns a Tuple[MetaModelInfo, ModelMeta], therefore, model_id is not a str as it should.

@rabah-khalek this fix might interest you.

@pierlj pierlj requested a review from Hartorn January 18, 2024 17:29
@sonarqubecloud
Copy link

@andreybavt andreybavt merged commit ef06210 into main Jan 19, 2024
@andreybavt andreybavt deleted the fix-base-model-loading branch January 19, 2024 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants