Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

fix QuantizedTensor.is_contiguous (#10956) (#10959)

Urle Sistiana6484ac89dc68
diff --git a/comfy/quant_ops.py b/comfy/quant_ops.py
index 9b924560b..bb1fb860c 100644
--- a/comfy/quant_ops.py
+++ b/comfy/quant_ops.py
@@ -235,8 +235,8 @@ class QuantizedTensor(torch.Tensor):
def is_pinned(self):
return self._qdata.is_pinned()
- def is_contiguous(self):
- return self._qdata.is_contiguous()
+ def is_contiguous(self, *arg, **kwargs):
+ return self._qdata.is_contiguous(*arg, **kwargs)
# ==============================================================================
# Generic Utilities (Layout-Agnostic Operations)