Skip to content

Commit f72f778

Browse files
Update src/compressed_tensors/utils/helpers.py
Co-authored-by: Kyle Sayers <[email protected]> Signed-off-by: Brian Dellabetta <[email protected]>
1 parent 429c105 commit f72f778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compressed_tensors/utils/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ def patch_attr(base: object, attr: str, value: Any):
370370

371371

372372
@contextlib.contextmanager
373-
def patch_attrs(bases: list[object], attr: str, values: list[Any]):
373+
def patch_attrs(bases: Iterable[Any], attr: str, values: Iterable[Any]):
374374
"""
375375
Same as `patch_attr` but for a list of objects to patch
376376
Patch attribute for a list of objects with list of values.

0 commit comments

Comments
 (0)