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 recently had a 1.8 release, bringing much better support for backing torch.cuda tensors with AMD GPUs.
However, CLIP hasn't been ported to PyTorch 1.8 yet.
In particular, CLIP still uses the deprecated and now removed pytorch.irfft, which needs to be replaced with calls to methods in the torch.fft namespace to work on PyTorch 1.8.
Unfortunately, the PR that removed support for the old methods doesn't provide a recipe for translating calls that can be executed by someone who doesn't understand the finer points of FFTs. It seems to me that the square-root-of-a-bunch-of-stuff normalization method of the old function isn't available as any of the normalization modes of torch.fft.irfft, and I'm not sure of the number of dimensions involved here, or whether we have the input versus the output sizes handy.
The text was updated successfully, but these errors were encountered:
PyTorch recently had a 1.8 release, bringing much better support for backing
torch.cuda
tensors with AMD GPUs.However, CLIP hasn't been ported to PyTorch 1.8 yet.
In particular, CLIP still uses the deprecated and now removed
pytorch.irfft
, which needs to be replaced with calls to methods in thetorch.fft
namespace to work on PyTorch 1.8.Unfortunately, the PR that removed support for the old methods doesn't provide a recipe for translating calls that can be executed by someone who doesn't understand the finer points of FFTs. It seems to me that the square-root-of-a-bunch-of-stuff normalization method of the old function isn't available as any of the normalization modes of
torch.fft.irfft
, and I'm not sure of the number of dimensions involved here, or whether we have the input versus the output sizes handy.The text was updated successfully, but these errors were encountered: