You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run:
python -m deepcompressor.app.diffusion.ptq configs/model/flux.1-schnell.yaml configs/svdquant/int4.yaml --eval-benchmarks MJHQ --eval-num-samples 1024
File "anaconda3/envs/deepcom/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "anaconda3/envs/deepcom/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1585, in _call_impl
args_kwargs_result = hook(self, args, kwargs) # type: ignore[misc]
^^^^^^^^^^^^^^^^^^^^^^^^
File "/deepcompressor/deepcompressor/utils/hooks/hook.py", line 107, in call
return self.pre_forward(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "deepcompressor/deepcompressor/dataset/action.py", line 55, in pre_forward
self.action.info(self.name, module, tensors, self.cache)
File "deepcompressor/deepcompressor/app/diffusion/dataset/calib.py", line 129, in info
return super().info(name, module, tensors, cache)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "deepcompressor/deepcompressor/dataset/action.py", line 259, in info
c.num_total += x.shape[0]
^^^^^^^
AttributeError: 'tuple' object has no attribute 'shape'
The text was updated successfully, but these errors were encountered:
When I run:
python -m deepcompressor.app.diffusion.ptq configs/model/flux.1-schnell.yaml configs/svdquant/int4.yaml --eval-benchmarks MJHQ --eval-num-samples 1024
File "anaconda3/envs/deepcom/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "anaconda3/envs/deepcom/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1585, in _call_impl
args_kwargs_result = hook(self, args, kwargs) # type: ignore[misc]
^^^^^^^^^^^^^^^^^^^^^^^^
File "/deepcompressor/deepcompressor/utils/hooks/hook.py", line 107, in call
return self.pre_forward(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "deepcompressor/deepcompressor/dataset/action.py", line 55, in pre_forward
self.action.info(self.name, module, tensors, self.cache)
File "deepcompressor/deepcompressor/app/diffusion/dataset/calib.py", line 129, in info
return super().info(name, module, tensors, cache)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "deepcompressor/deepcompressor/dataset/action.py", line 259, in info
c.num_total += x.shape[0]
^^^^^^^
AttributeError: 'tuple' object has no attribute 'shape'
The text was updated successfully, but these errors were encountered: