Skip to content

How to run the model in float32? #82

Open

Description

@xbq1994

How to run the model in float32?

Activity

  1. wangjiongw commented on Oct 23, 2024

    @wangjiongw
    Collaborator

    As the repo is build upon deepspeed framework. You can find corresponding config file in src/config, where you can config fp16 or bf16. I think setting both of them to False will run the model in float32. You can find more on deepspeed docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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