Skip to content

Commit

Permalink
suppress pydantic warnings for model_ fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin committed Jun 20, 2024
1 parent 52245b3 commit 05604a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparseml/exporters/transforms/kv_cache/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class KeyValueCacheConfig(BaseModel):
"the kv cache. If this is not provided, no transpose will "
"be applied.",
)
model_config = ConfigDict(arbitrary_types_allowed=True)
model_config = ConfigDict(arbitrary_types_allowed=True, protected_namespaces=())


OPT_CONFIG = KeyValueCacheConfig(
Expand Down

0 comments on commit 05604a1

Please sign in to comment.