Revert "MPDynamic: Pre-generate the tensors for vbars"

This reverts commit 12028af97b.
This commit is contained in:
Rattus
2026-02-10 11:18:03 +10:00
parent 76a7fa96db
commit 89dc4a8df8
3 changed files with 3 additions and 4 deletions

View File

@@ -1213,7 +1213,8 @@ def cast_to(weight, dtype=None, device=None, non_blocking=False, copy=False, str
signature = comfy_aimdo.model_vbar.vbar_fault(weight._v)
if signature is not None:
v_tensor = comfy.memory_management.interpret_gathered_like(cast_geometry, weight._v_tensor)[0]
raw_tensor = comfy_aimdo.torch.aimdo_to_tensor(weight._v, device)
v_tensor = comfy.memory_management.interpret_gathered_like(cast_geometry, raw_tensor)[0]
if not comfy_aimdo.model_vbar.vbar_signature_compare(signature, weight._v_signature):
weight._v_signature = signature
#Send it over