Cargo Features

[dependencies]
tvm = { version = "0.1.1-alpha", default-features = false, features = ["dynamic-linking", "static-linking", "blas", "python"] }
default = dynamic-linking, python

These default features are set whenever tvm is added without default-features = false somewhere in the dependency tree.

dynamic-linking default

Enables dynamic-linking of tvm-rt

Required by the tyck binary

static-linking

Enables static-linking of tvm-rt

blas

Enables blas of ndarray ^0.12

ndarray:

Enable blas usage
See README for more instructions

python default = pyo3

Affects tvm::compiler, tvm::python

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

pyo3 python

Enables pyo3 ^0.13