Apache TVM
Apache TVM 0.8 integration for optimized model inference
Apache TVM
What TVM Provides
Maven Dependency
<dependency>
<groupId>org.nd4j</groupId>
<artifactId>nd4j-tvm</artifactId>
<version>${dl4j.version}</version>
</dependency>Step 1: Compile Your Model with TVM (Python)
Install TVM
Compile an ONNX Model
Compile a PyTorch Model
Auto-Tuning for Better Performance
Step 2: Load and Run the Compiled Module in Java
TvmRunner Builder Options
Supported Target Backends
Hardware
TVM Target String
Troubleshooting
Last updated
Was this helpful?