Skip to content

Commit

Permalink
suppress pydantic warnings for model_ fields (#2344) (#2345)
Browse files Browse the repository at this point in the history
  • Loading branch information
bfineran authored Jun 20, 2024
1 parent 7a41462 commit c0cc0d3
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 c0cc0d3

Please sign in to comment.