PyTorch Profiler kineto_event.name() shows "UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 5: invalid start byte"

hi, I use PyTorch Profiler on V100 (pytorch:1.8.0-cuda11.1-cudnn8),
According to the instruction on torch.profiler — PyTorch 1.9.0 documentation, I update my code. But I got this error:

"Traceback (most recent call last):
File “/opt/conda/lib/python3.8/site-packages/torch/autograd/profiler.py”, line 1141, in parse_kineto_results
filter_name(kineto_event.name())
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0x89 in position 5: invalid start byte
"

Hi @seanM29 , I am also facing the same issue. Did you find the solution?

1 Like

Same issue here. Any update?