An open API service indexing awesome lists of open source software.

https://github.com/modeltc/pyvlova

Yet another Polyhedra Compiler for DeepLearning
https://github.com/modeltc/pyvlova

Last synced: 7 months ago
JSON representation

Yet another Polyhedra Compiler for DeepLearning

Awesome Lists containing this project

README

          

# Pyvlova

A Simple Polyhedral Compiler for NN

# Benchmark

- [ResNet-18](doc/benchmark/resnet18.md)
- [MobileNetV2](doc/benchmark/mobilenetv2.md)

# Requirements

- `tvm`
- `sympy`, `numpy`

# Build extensions (Build ISL)

```bash
git submodule update --init --recursive --progress 3rdparty/isl

python setup.py build_ext
```

## ISL

- `isl` ([ChieloNewctle/isl](https://github.com/ChieloNewctle/isl))

### Requirements

- `llvm` and `clang`
- `libgmp-dev`
- `libclang-*-dev`, such as `libclang-10-dev`, **IMPORTANT for building the python interface**
- `automake`, `autoconf`, `libtool`
- `pkg-config`

# Run tests

To test CUDA kernels generated by pyvlova:
```bash
python -m unittest test.test_op
```