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

fix future warning amp.autocast #1730

Closed
felipemello1 opened this issue Oct 1, 2024 · 4 comments
Closed

fix future warning amp.autocast #1730

felipemello1 opened this issue Oct 1, 2024 · 4 comments

Comments

@felipemello1
Copy link
Contributor

"/home/felipemello/.conda/envs/torchtune-v0.3.1/lib/python3.11/site-packages/torch/utils/checkpoint.py:1399: FutureWarning: torch.cpu.amp.autocast(args...) is deprecated. Please use torch.amp.autocast('cpu', args...) instead."

when running

tune run --nproc_per_node 8 lora_finetune_distributed --config llama3/70B_lora
@joecummings
Copy link
Contributor

@felipemello1 This seems like a PyTorch Checkpointing issue. Are they planning on fixing it? Or are we finally going to migrate to a different checkpointing API?

@felipemello1
Copy link
Contributor Author

this only happens on stable, doesnt happen on pytorch nightlies

@joecummings
Copy link
Contributor

Okay, so I'm guessing the plan is to wait for 2.5 to come out?

@ebsmothers
Copy link
Contributor

Since 2.5 becomes stable in about 1.5 weeks I am gonna close this issue, I don't think there's any action required here

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

3 participants