Skip to content

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

@levmckinney

Description

@levmckinney

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions