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
#- PyTorch Lightning Version (e.g., 1.5.0):
#- PyTorch Version (e.g., 2.0):
#- Python version (e.g., 3.9):
#- OS (e.g., Linux):
#- CUDA/cuDNN version:
#- GPU models and configuration:
#- How you installed Lightning(`conda`, `pip`, source):
Bug description
trainer.fit(model, data_module)
trainer.py 543 fit
call._call_and_handle_interrupt(
call.py 44 _call_and_handle_interrupt
return trainer_fn(*args, **kwargs)
trainer.py 579 _fit_impl
self._run(model, ckpt_path=ckpt_path)
trainer.py 948 _run
call._call_setup_hook(self) # allow user to set up LightningModule in accelerator environment
call.py 95 _call_setup_hook
_call_callback_hooks(trainer, "setup", stage=fn)
call.py 210 _call_callback_hooks
fn(trainer, trainer.lightning_module, *args, **kwargs)
stochastic_weight_avg.py 154 setup
self._average_model = deepcopy(pl_module)
copy.py 172 deepcopy
y = _reconstruct(x, memo, *rv)
copy.py 271 _reconstruct
state = deepcopy(state, memo)
copy.py 146 deepcopy
y = copier(x, memo)
copy.py 231 _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
copy.py 146 deepcopy
y = copier(x, memo)
copy.py 206 _deepcopy_list
append(deepcopy(a, memo))
copy.py 153 deepcopy
y = copier(memo)
_tensor.py 86 deepcopy
raise RuntimeError(
RuntimeError:
Only Tensors created explicitly by the user (graph leaves) support the deepcopy protocol at the moment
What version are you seeing the problem on?
master
How to reproduce the bug
Error messages and logs
Environment
Current environment
More info
No response
cc @carmocca
The text was updated successfully, but these errors were encountered: