MasterJH5574 left a comment (apache/tvm#20099)

Verified the v0.26.0.rc0 candidate two ways — **(A)** building from the signed 
source release, and **(B)** installing the published wheel from PyPI. Kept 
separate since they are different installation paths.

## A. Source build check — `tests/scripts/release/test_release_package.sh`

Run with the script as shipped in the release candidate:
https://github.com/apache/tvm/blob/v0.26.0.rc0/tests/scripts/release/test_release_package.sh

```bash
$ bash test_release_package.sh

+ version=v0.26.0
+ rc=rc0
[setup] Create an isolated virtualenv ...
+ python3 -m venv .venv
...
IGNORE
...
[1/10] Downloading from apache.org ...
...
IGNORE
...
[2/10] Downloading from github.com ...
...
IGNORE
...
[3/10] Check difference between github.com and apache.org ...
+ diff github/md5sum.txt ./apache/md5sum.txt
[4/10] Checking asc ...
+ gpg --verify ./apache-tvm-src-v0.26.0.rc0.tar.gz.asc 
./apache-tvm-src-v0.26.0.rc0.tar.gz
gpg:                using RSA key 3EA0F45C3223CF0D81C8F2CCA9F8369106601185
gpg: Good signature from "Ruihang Lai <[email protected]>" [unknown]
[5/10] Checking sha512 ...
+ sha512sum -c ./apache-tvm-src-v0.26.0.rc0.tar.gz.sha512
apache-tvm-src-v0.26.0.rc0.tar.gz: OK
[6/10] Unzip ...
+ tar -zxf apache-tvm-src-v0.26.0.rc0.tar.gz
[7/10] Checking whether binary in source code ...
[8/10] Compile and Python Import on Linux ...
+ cmake ..
+ make -j16
...
IGNORE
...
[100%] Built target tvm_objs
[100%] Linking CXX shared library lib/libtvm_compiler.so
[100%] Built target tvm_compiler
[9/10] Install Python runtime dependencies (declared in the source 
pyproject.toml) ...
Installing declared runtime deps: apache-tvm-ffi>=0.1.13.post2 ml_dtypes numpy 
typing_extensions
Successfully installed apache-tvm-ffi-0.1.13.post2 ...
[10/10] Import TVM and print path ...
+ python3 -c 'import tvm; print(tvm.__path__)'
['.../github/apache-tvm-src-v0.26.0/python/tvm']
```

LGTM — md5 (github vs apache.org) identical, GPG signature good (verified 
against the dev KEYS), sha512 OK, no binaries in source, full compile with no 
warnings, and `import tvm` succeeds.

## B. Wheel install check — PyPI

All four platform wheels published for `apache-tvm==0.26.0rc0` (macOS arm64, 
Linux x86_64 + aarch64 manylinux_2_28, Windows AMD64). Installed the Linux 
x86_64 wheel in a clean venv — dependencies (including `apache-tvm-ffi`) 
resolve automatically, no source build:

```bash
$ python3 -m venv venv && . venv/bin/activate
$ pip install apache-tvm==0.26.0rc0
...
Successfully installed apache-tvm-0.26.0rc0 apache-tvm-ffi-0.1.13.post2 ...
$ python -c "import tvm; print(tvm.__version__)"
0.26.0rc0
```

LGTM — wheel installs with the declared dependencies 
(`apache-tvm-ffi>=0.1.13.post2`) and imports at the expected version. (It is a 
pre-release, so a bare `pip install apache-tvm` still resolves the latest 
*stable*; testers opt into the RC by pinning `==0.26.0rc0` or using `--pre`.)


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

Message ID: <apache/tvm/issues/20099/[email protected]>

Reply via email to