#tvm #programmatically #build #install #settings #installing #version

bin+lib tvm-build

A CLI and library for programmatically building TVM

8 releases

0.2.4 Dec 8, 2021
0.2.2 Aug 11, 2021
0.1.4 Apr 15, 2021
0.1.2 Mar 4, 2021
0.1.1 Feb 23, 2021

#456 in Configuration

Download history 58/week @ 2023-12-06 75/week @ 2023-12-13 36/week @ 2023-12-20 46/week @ 2023-12-27 114/week @ 2024-01-03 95/week @ 2024-01-10 108/week @ 2024-01-17 92/week @ 2024-01-24 106/week @ 2024-01-31 120/week @ 2024-02-07 172/week @ 2024-02-14 175/week @ 2024-02-21 223/week @ 2024-02-28 170/week @ 2024-03-06 170/week @ 2024-03-13 160/week @ 2024-03-20

763 downloads per month

Apache-2.0

30KB
640 lines

tvm-build

A library for building TVM programmatically.

tvm-build contains a library for programmatically installing multiple versions of TVM using different configurations and build settings, as well as a command line tool for installing TVM.

The library is currently under active development and the goal is to serve a tool for installing TVM for the Rust bindings as well as provide an easy tool for end-users to install both mainline and custom forks of TVM.

There exists some duplicate functionality across the many pieces of the stack, but the goal is to mimic the ease of use enjoyed by tools such as pyenv and rbenv.

Currently the easiest way to get started is to install the tool directly from Cargo using:

cargo install tvm-build

Once installed you can see available commands by running tvm-build --help.

For programmatic use you can perform a minimal build using the below code:

let mut build_config = BuildConfig::default();
build_config.repository = Some("https://github.com/jroesch/tvm".to_string());
build_config.branch = Some("rust-tvm-build".to_string());

Dependencies

~23–36MB
~619K SLoC