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
In various places, we are using torch.norm to calculate the vector norms of the inputs (for example here) . According to the documentation:
torch.norm is deprecated and may be removed in a future PyTorch release. Its documentation and behavior may be incorrect, and it is no longer actively maintained.
In various places, we are using
torch.norm
to calculate the vector norms of the inputs (for example here) . According to the documentation:It's better to switch to alternatives such as torch.linalg.norm or torch.nn.function.normalize if applicable.
The text was updated successfully, but these errors were encountered: