Skip to content

Commit c0cc0d3

Browse files
authored
suppress pydantic warnings for model_ fields (#2344) (#2345)
1 parent 7a41462 commit c0cc0d3

File tree

1 file changed

+1
-1
lines changed
  • src/sparseml/exporters/transforms/kv_cache

1 file changed

+1
-1
lines changed

src/sparseml/exporters/transforms/kv_cache/configs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class KeyValueCacheConfig(BaseModel):
8484
"the kv cache. If this is not provided, no transpose will "
8585
"be applied.",
8686
)
87-
model_config = ConfigDict(arbitrary_types_allowed=True)
87+
model_config = ConfigDict(arbitrary_types_allowed=True, protected_namespaces=())
8888

8989

9090
OPT_CONFIG = KeyValueCacheConfig(

0 commit comments

Comments
 (0)