Skip to content

[Unitrace] Tool always aborts by assertion error in 'UniTracer::Create' when tried to profile on python scripts #64

@xunsongh

Description

@xunsongh

I built unitrace tool on PVC machine with driver agama-ci-devel-hotfix-821.36 by default without MPI support, and then try to run this tool on a simple python script, but it always be aborted by the assertion error in UniTracer::Create.

Here is my command to run the successfully built unitrace tool:

./unitrace -h python ./simple.py
./unitrace --chrome-kernel-logging --chrome-dnn-logging --chrome-ccl-logging python ./simple.py

Also I tried other options in running but all of them failed on such an assertion error:

python: /home/gta/pti-gpu/tools/unitrace/src/tracer.h:50: static UniTracer* UniTracer::Create(const TraceOptions&): Assertion `status == ZE_RESULT_SUCCESS' failed.
Aborted (core dumped)

My test case is simplest as could:

if __name__ == '__main__':
    a = 1

Would you please help check why the unitrace tool crashed on such a simple case who is even not related to SYCL or L0?

Metadata

Metadata

Assignees

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