Skip to content

ValueError: Attempting to unscale FP16 gradients. #3213

Closed

Description

@MilesQLi

The command is
~/repos/Open-Assistant/model/model_training$ python trainer_sft.py --configs galactica-125m webgpt_dataset_only

Python 3.10, libraries installed as instructed.

error_log.txt

Activity

  1. jeangeezhang commented on May 24, 2023

    @jeangeezhang

    I got same issue
    Python == 3.10
    peft == 0.3.0
    torch == 1.13.1

  2. andreaskoepf commented on May 24, 2023

    @andreaskoepf
    Collaborator

    Please try adding dtype: float32 to the model configuration.

  3. locked and limited conversation to collaborators on Jun 9, 2023
  4. converted this issue into a discussion #3355 on Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions