mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-24 13:20:19 +08:00
fix QuantizedTensor.is_contiguous (#10956)
This commit is contained in:
parent
9d8a817985
commit
47bd2a96ae
@ -235,8 +235,8 @@ class QuantizedTensor(torch.Tensor):
|
|||||||
def is_pinned(self):
|
def is_pinned(self):
|
||||||
return self._qdata.is_pinned()
|
return self._qdata.is_pinned()
|
||||||
|
|
||||||
def is_contiguous(self):
|
def is_contiguous(self, *arg, **kwargs):
|
||||||
return self._qdata.is_contiguous()
|
return self._qdata.is_contiguous(*arg, **kwargs)
|
||||||
|
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Generic Utilities (Layout-Agnostic Operations)
|
# Generic Utilities (Layout-Agnostic Operations)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user