runtime error

Exit code: 1. Reason: 00%|██████████| 7/7 [00:06<00:00, 1.16it/s] ERR: subclass doesn't implement <method 'detach' of 'torch._C.TensorBase' objects> Traceback (most recent call last): File "/home/user/app/app.py", line 13, in <module> pipe.transformer = autoquant( File "/usr/local/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context return func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/torchao/quantization/autoquant.py", line 580, in autoquant _change_linears_to_autoquantizable( File "/usr/local/lib/python3.10/site-packages/torchao/quantization/autoquant.py", line 466, in _change_linears_to_autoquantizable _replace_with_custom_fn_if_matches_filter( File "/usr/local/lib/python3.10/site-packages/torchao/quantization/quant_api.py", line 188, in _replace_with_custom_fn_if_matches_filter new_child = _replace_with_custom_fn_if_matches_filter( File "/usr/local/lib/python3.10/site-packages/torchao/quantization/quant_api.py", line 188, in _replace_with_custom_fn_if_matches_filter new_child = _replace_with_custom_fn_if_matches_filter( File "/usr/local/lib/python3.10/site-packages/torchao/quantization/quant_api.py", line 188, in _replace_with_custom_fn_if_matches_filter new_child = _replace_with_custom_fn_if_matches_filter( [Previous line repeated 1 more time] File "/usr/local/lib/python3.10/site-packages/torchao/quantization/quant_api.py", line 184, in _replace_with_custom_fn_if_matches_filter model = replacement_fn(model) File "/usr/local/lib/python3.10/site-packages/torchao/quantization/quant_api.py", line 237, in insert_subclass lin.weight = torch.nn.Parameter( File "/usr/local/lib/python3.10/site-packages/torch/nn/parameter.py", line 43, in __new__ t = data.detach().requires_grad_(requires_grad) AttributeError: 'NoneType' object has no attribute 'requires_grad_' /usr/local/lib/python3.10/site-packages/torch/cuda/__init__.py:654: UserWarning: Can't initialize NVML warnings.warn("Can't initialize NVML")

Container logs:

Fetching error logs...