evanberkowitz / two-dimensional-gasses

Let's crush it
0 stars 0 forks source link

Functorch will be deprecated #99

Open evanberkowitz opened 1 year ago

evanberkowitz commented 1 year ago

Running with pytorch 2.0.1 I get

UserWarning: We've integrated functorch into PyTorch. As the final step of the integration, functorch.vmap is deprecated as of PyTorch 2.0 and will be deleted in a future version of PyTorch >= 2.3. Please use torch.vmap instead; see the PyTorch 2.0 release notes and/or the torch.func migration guide for more details https://pytorch.org/docs/master/func.migrating.html

functorch is used: