Skip to content

Commit

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

Please sign in to comment.