Skip to content

Incorrect MFU computation #452

@thepowerfuldeez

Description

@thepowerfuldeez

Hi! In your code you mention https://arxiv.org/abs/2204.02311 (PaLM) paper for MFU computation which use total number of parameters with embedding
Line of code:

get_num_params(whole_model, exclude_embedding=True),

You instead compute based on number of parameters with embedding excluded (older OpenAI style). This is wrong and leads to larger than usual numbers.

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