Skip to content

samples_per_second_per_gpu or tokens_per_second_per_gpu? #262

@Muennighoff

Description

@Muennighoff

I'm probably missing something but isn't this tokens per second per GPU:

samples_per_second_per_gpu = inputs.numel() / batch_time_m.val

inputs.numel() gives all tokens; for samples it would be inputs.shape[0], no?

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