Skip to content

[DOCS] Devguide: TVM Codebase Walkthrough Tutorial #2160

@tqchen

Description

@tqchen

As more contributors start to collaborate on TVM, it would be super helpful to write a few developer guides to walk through the TVM code base. As an open source project, we value the maintainability and docs above the code itself, and we should provide some dev guide to do so. The current runtime system doc is one example. But we need more of these.

In particular, it would be helpful to analysis a simple example (e.g., vector add, or relay compilation) and go through all the files/steps it involved. Because we have the PackedFunc and sometimes code goes across python/c++, such an initial navigation example would be super helpful for beginners who want to work on the codebase. Please reply to this issue if you are interested in helping out on this.

Proposed Action Item

Let us build a dev-guide series called hacking TVM by example. The general idea is to provide a simple python side example and walk through the details, when necessary, we can focus on a particular part of detail and leave others into other examples. This kinda of example is usually complementary to the general document we have so far to highlight certain problems a developer might have.

Some of the existing resources:

We can propose new items, for example, one action item could be what happens when we build an add one function in CUDA and LLVM

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions