Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UserWarning from torch.utils.checkpoint #88

Open
DhanshreeA opened this issue Apr 18, 2024 · 0 comments
Open

UserWarning from torch.utils.checkpoint #88

DhanshreeA opened this issue Apr 18, 2024 · 0 comments

Comments

@DhanshreeA
Copy link

I am running tabpfn v0.0.9 within a Python 3.10 environment, and torch version 2.2.1. There's the following user warning:

/usr/local/lib/python3.10/dist-packages/torch/utils/checkpoint.py:460: UserWarning: torch.utils.checkpoint: please pass in use_reentrant=True or use_reentrant=False explicitly. The default value of use_reentrant will be updated to be False in the future. To maintain current behavior, pass use_reentrant=True. It is recommended that you use use_reentrant=False. Refer to docs for more details on the differences between the two variants.
  warnings.warn(

This is coming from transformer_prediction_interface.py which makes use of the checkpoints function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant