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
RuntimeError: Only Tensors created explicitly by the user (graph leaves) support the deepcopy protocol at the moment. If you were attempting to deepcopy a module, this may be because of a torch.nn.utils.weight_norm usage, see pytorch/pytorch#103001
The text was updated successfully, but these errors were encountered:
In the BPM, there is a call to
deepcopy
before passing on the beam down the line:cheetah/cheetah/accelerator/bpm.py
Line 51 in b38a654
Unfortunetly, this copy currently inhibits taking gradients of the BPM reading. The reduced example
fails with
The text was updated successfully, but these errors were encountered: