Skip to content

load_nvprof error #5586

@ruotianluo

Description

@ruotianluo

I got the following error when I load_nvprof.

Traceback (most recent call last):
File "", line 1, in
File "/opt/pytorch/torch/autograd/profiler.py", line 286, in load_nvprof
return EventList(parse_nvprof_trace(path))
File "/opt/pytorch/torch/autograd/profiler.py", line 539, in parse_nvprof_trace
functions.sort(key=lambda evt: evt.start)
File "/opt/pytorch/torch/autograd/profiler.py", line 539, in
functions.sort(key=lambda evt: evt.start)
AttributeError: 'FunctionEvent' object has no attribute 'start'

pytorch version:
0.4.0a0+b69b885

The function works properly on 0.3.1.

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