Skip to content

Commit 33b71b3

Browse files
committed
better comments
Signed-off-by: Kyle Sayers <[email protected]>
1 parent 2bf33c8 commit 33b71b3

File tree

1 file changed

+0
-1
lines changed
  • src/compressed_tensors/transform

1 file changed

+0
-1
lines changed

src/compressed_tensors/transform/apply.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ def _tie_offloaded_tensors(model: torch.nn.Module):
6262
# map from offloaded tensor pointers to module-key locations
6363
offloaded_ptrs: dict[int, List[Tuple[torch.nn.Module, str]]] = defaultdict(list)
6464
for module in model.modules():
65-
# NOTE: previously asserted that parent._hf_hook.place_submodules=False
6665
if has_offloaded_params(module):
6766
for key, _ in module.named_parameters(recurse=False):
6867
param = module._hf_hook.weights_map[key]

0 commit comments

Comments
 (0)