Skip to content

script: accelerate.py function: clip_grad_norm_ if parameters == [p for p in model.parameters()]: RuntimeError: Boolean value of Tensor with more than one value is ambiguous #880

script: accelerate.py function: clip_grad_norm_ if parameters == [p for p in model.parameters()]: RuntimeError: Boolean value of Tensor with more than one value is ambiguous

script: accelerate.py function: clip_grad_norm_ if parameters == [p for p in model.parameters()]: RuntimeError: Boolean value of Tensor with more than one value is ambiguous #880