Skip to content

About the time test #1

Closed
Closed
@kakaxi314

Description

@kakaxi314

I found you directly used time.time() to calculate time in your code.
However, it's not accurate in GPU mode.
torch.cuda.synchronize() should be added to get precise time.
From my test, the jit version is a little slower in fact?

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