apache / apache/tvm

How does relax generate the C code for the transformer?

Open
#17,982 0 comments 0 reactions 0 assignees View on GitHub
needs-triage type:ci
Dominant language
Python
Stars
13.7k
Forks
4k
Avg merge
2d 19h
Merged PRs (30d)
111

Description

We generated onnx for the transformer model, we want to compile it into a variable length .c file with support for variable length .c files using tvm's relax module, but we don't know the API for exporting to .c. Can anyone answer this question?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names TVM's Relax module, ONNX input, and C output but no files, tests, or entry points. Start by locating the documented Relax export and C code-generation APIs, then verify whether variable-length C output is supported. Done means providing a documented, reproducible answer or clearly stating the limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, python
Domain
compilers
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.