# Check

```bash
$ wget -c 
https://dist.apache.org/repos/dist/dev/tvm/tvm-v0.16.0-rc0/apache-tvm-src-v0.16.0.rc0.tar.gz
$ wget -c 
https://dist.apache.org/repos/dist/dev/tvm/tvm-v0.16.0-rc0/apache-tvm-src-v0.16.0.rc0.tar.gz.sha512
$ wget -c 
https://dist.apache.org/repos/dist/dev/tvm/tvm-v0.16.0-rc0/apache-tvm-src-v0.16.0.rc0.tar.gz.asc
```

## Check asc & sha512

```bash
$ gpg --verify ./apache-tvm-src-v0.16.0.rc0.tar.gz.asc 
./apache-tvm-src-v0.16.0.rc0.tar.gz

$ cat ./apache-tvm-src-v0.16.0.rc0.tar.gz.sha512

$ sha512sum ./apache-tvm-src-v0.16.0.rc0.tar.gz
```


## Check binary in source code

```bash
$ find ./apache-tvm-src-v0.16.0 -type f -exec file {} + | grep -w "ELF\|shared 
object"
$
```


## Compile and Python Import on Linux

```bash
$ cd ./apache-tvm-src-v0.16.0
$ mkdir build
$ cd build
$ cp ../cmake/config.cmake .
$ cmake ..
$ make -j3

$ cd ..
$ export TVM_HOME=$(pwd)
$ export PYTHONPATH=$TVM_HOME/python:${PYTHONPATH}

$ python3 -c "import tvm; print(tvm.__path__)"
['/workspaces/apache-tvm-src-v0.16.0/python/tvm']
$ python3 
/workspaces/tvm/gallery/how_to/work_with_schedules/schedule_primitives.py
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/tvm/issues/16912#issuecomment-2068038126
You are receiving this because you are subscribed to this thread.

Message ID: <apache/tvm/issues/16912/2068038...@github.com>

Reply via email to