Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

matx.trace warning about gcc version is misleading #262

@koyo922

Description

@koyo922

when I run the line of code matx.trace(...), the command line prints the following warning:

eeb93b32-3cb6-4d9b-8401-99cd5b82236b

however, I checked gcc is installed and version is also correct(gcc8)

d77cc293-9668-4a6e-a2f3-8b8de38181c0

When I try to load the traced model in Laplace Server, it prints the following warning:

[12:32:08] nlp/matxscript/src/pipeline/[jit_object.cc:410](http://jit_object.cc:410/): Check failed: (!dso_path.empty()) && FileUtil::IsRegularFile(abs_dso_path) && FileUtil::Exists(abs_dso_path): dso path not found: /var/lib/containterd/tmp/laplace_pytorch_110/[1.0.0.51/models/short_text_xxx_v1.0_0_1/](http://1.0.0.51/models/short_text_xxx_v1.0_0_1/)
Please check gcc8 was available when tracing a model for c++ server

Finally, I fixed the problem by installing blade following this inner doc https://bytedance.feishu.cn/wiki/wikcnHYP34p5Es680lIaNJr7PUg#5QQCoY

I guess the gcc minor version in blade maybe different on my devbox (which is gcc8.3), the warning message could be more specific.

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