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

Moved old_per_token_logps acquisition from torch.inference_mode to torch.no_grad #7

Merged
merged 1 commit into from
Feb 27, 2025

Using no_grad over inference_mode to work around 'RuntimeError: Infer…

f7ce883
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Moved old_per_token_logps acquisition from torch.inference_mode to torch.no_grad #7

Using no_grad over inference_mode to work around 'RuntimeError: Infer…
f7ce883
Select commit
Loading
Failed to load commit list.