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

Allow prediction trajectories to be made from BFloat 16 Models #126

Open
levmckinney opened this issue Mar 11, 2024 · 0 comments
Open

Allow prediction trajectories to be made from BFloat 16 Models #126

levmckinney opened this issue Mar 11, 2024 · 0 comments

Comments

@levmckinney
Copy link
Collaborator

Currently, if you try to create a prediction trajectory from a model and lens loaded in bfloat16 error.

    294     traj_log_probs.append(
--> 295         logits.log_softmax(dim=-1).squeeze().detach().cpu().numpy()
    296     )
    298 # Add model predictions
    299 traj_log_probs.append(model_log_probs)

TypeError: Got unsupported ScalarType BFloat16
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