Skip to content

Using Triton with PyTorch 2.0 for AMP training results in tensors containing inf values. #35

@DrRyanHuang

Description

@DrRyanHuang

Hi, thx for your great work!

I set use_triton=True, and turned on automatic mixed precision training, but inf appeared in the results.
Does the lion_pytorch/triton.py need to consider bf16 or fp16?

It seems this issue #20 (comment) is similar to mine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions