MacOS <13.0 falls back on CPU
chigozienri opened this issue · 0 comments
chigozienri commented
Warning message:
/Users/chigozie/anaconda3/envs/lcm/lib/python3.11/site-packages/torch/nn/functional.py:3931: UserWarning: MPS: passing scale factor to upsample ops is supported natively starting from macOS 13.0. Falling back on CPU. This may have performance implications. (Triggered internally at /Users/runner/work/pytorch/pytorch/pytorch/aten/src/ATen/native/mps/operations/UpSample.mm:233.)
torch/nn/functional.py:3931:
return torch._C._nn.upsample_nearest2d(input, output_size, scale_factors)
It gets called a lot - I set a breakpoint on it and it was called 15 times in a 4 step image, so it might not be possible to avoid, but if not we should at least put a message about it in the readme.