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
Summary:
Pull Request resolved: #3025
Numpy doesn't like assigning a torch.Tensor to a numpy array, so let's do that conversion explicity.
This resolves **a ton** of warnings of the form:
```
[W 250925 11:18:45 numpy_utils:91] __array__ implementation doesn't accept a copy keyword, so passing copy=False failed. __array__ must implement 'dtype' and 'copy' keyword arguments. To learn more, see the migration guide https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword
```
Reviewed By: saitcakmak, Balandat
Differential Revision: D83269102
fbshipit-source-id: c56c34319521f3cd37a8a9e12885af3b48b609b5
0 commit comments