[Bugfix] Fix OOM in tensorizer LoRA deserialization (#41845)

Signed-off-by: Or Ozeri <oro@il.ibm.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Or Ozeri
2026-05-07 02:17:47 -07:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 8a4888be21
commit 6e6d182d18
+1
View File
@@ -203,6 +203,7 @@ class LoRAModel:
tensors = TensorDeserializer(
lora_tensor_path,
dtype=tensorizer_config.dtype,
device=device,
**tensorizer_args.deserialization_kwargs,
)
check_unexpected_modules(tensors)