codemaivanngu commited on
Commit
2f96deb
·
verified ·
1 Parent(s): 0269685

Publish qualified portable vLLM 0.32.0 CUDA 13 runtime

Browse files
releases/vllm-0.32.0-cu130-20261028-r1/CUDA-LICENSES.txt ADDED
The diff for this file is too large to render. See raw diff
 
releases/vllm-0.32.0-cu130-20261028-r1/README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Portable vLLM 0.32.0 / CUDA 13.0
2
+
3
+ This GOLD-style release installs into `/opt/vllm-runtime-0.32.0-cu130`.
4
+ It includes standalone Python 3.12.12, its independent venv, vLLM 0.32.0,
5
+ Torch 2.13.0, the complete resolved `uv.lock`, a private CUDA 13.0 toolkit
6
+ (excluding static archives/developer GUI tools), support libraries, helpers
7
+ and tiny random-weight qualification fixtures. Other research runtimes are
8
+ not modified. Production models, datasets, credentials and JIT caches stay
9
+ outside the archive. Each dependency retains its own license.
10
+
11
+ ## Requirements
12
+
13
+ Linux x86_64, glibc >= 2.35, an NVIDIA driver compatible with the selected GPU
14
+ and CUDA 13.0, bash, GNU tar/gzip, `ldconfig`, and sufficient disk. JIT requires
15
+ a working host C/C++ compiler and system development headers; GCC 11 is the
16
+ build/restore baseline. The bundled toolkit supplies nvcc, CUDA headers and
17
+ ptxas independently of `/usr/local/cuda`. NVIDIA kernel drivers and host glibc
18
+ are never bundled/replaced. The GOLD-style fixed paths require root to install.
19
+ This release is not an arbitrarily relocatable virtualenv.
20
+
21
+ ## Download and install
22
+
23
+ Use the immutable HF payload revision and archive SHA256 in the release card.
24
+ `download_release.py` is a Python 3.10+ stdlib downloader with bounded parallel
25
+ HTTP ranges, strict range checks and complete file hashes. Use the existing
26
+ company-approved proxy environment. It needs no HF token for this public repo.
27
+
28
+ Download to a new directory; verify `SHA256SUMS`, then run `python3 install.py`.
29
+ The installer verifies all files and the archive allowlist, refuses existing
30
+ runtime paths, checks disk and glibc, installs only this release's private
31
+ directory, then executes CPU/import checks with GPUs hidden. It never starts a
32
+ server, modifies drivers/toolkits, or downloads packages.
33
+
34
+ ## Use
35
+
36
+ `node/vllm.sh` accepts normal vLLM CLI arguments, including `serve /path/to/model`.
37
+ `node/python-vllm.sh` accepts normal Python arguments/scripts.
38
+ Both wrappers default to `CUDA_VISIBLE_DEVICES=-1`; explicitly expose only your
39
+ assigned GPU(s). Model paths/revisions, serving options and output directories
40
+ are supplied by the caller. HF/Transformers default to offline operation;
41
+ stage production weights separately through the approved company transport.
42
+ Override `VLLM_PORTABLE_CACHE` and `VLLM_PORTABLE_HF_HOME` for persistent caches.
43
+
44
+ Calling the wrapper selects the runtime for that process. Stopping the server
45
+ and its owned workers releases their GPU allocations. Shell activation or
46
+ deactivation alone does not stop running processes. The serving wrapper is a
47
+ foreground command; use your existing process manager for durable service.
48
+
49
+ Run `node_gate.py` with the actual confirmed node label and assigned GPU UUID
50
+ for a read-only occupancy check. `--run` additionally executes the shipped
51
+ CPU, CUDA/CLI, normal compiled inference and local HTTP canaries. No helper kills
52
+ other users' processes or infers GPU assignment from an idle device.
53
+
54
+ ## Qualification and provenance
55
+
56
+ The release is gated on actual synthetic BF16 native CUDA operations, normal
57
+ compiled dense Llama inference and loopback HTTP generation on a Modal B200.
58
+ Its archive must also restore on a separate pinned Ubuntu 22.04 image without
59
+ a system CUDA toolkit and with Internet blocked, followed by the same GPU inference/HTTP gates.
60
+ The synthetic fixtures are random weights, not benchmark models or production
61
+ assets. Qualification does not establish company-node compatibility, model
62
+ quality, multi-GPU/NCCL, multimodal, quantization or every optional backend.
63
+
64
+ `pins.json`, `uv.lock`, `build-facts.json`, `manifest.json`, qualification JSON,
65
+ restore receipts and full remote logs identify exactly what was tested.
66
+ Failures use new attempt IDs and remain in the evidence volume.
67
+
68
+ Source lives in `experiments/vllm_runtime/`; this reuses the reviewed GOLD
69
+ archive contract and downloader range implementation. Builds/package transfers
70
+ run only on Modal. Personal-machine checks use existing Python/WSL stdlib,
71
+ with no local ML dependency/model download or Docker daemon.
releases/vllm-0.32.0-cu130-20261028-r1/SHA256SUMS ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 5e72ff86ba2dcda82ff75cb8788351703baec3191923f632f833cd5cbf005dd7 CUDA-LICENSES.txt
2
+ 3ff20c283001e54bb2f20ff9ce12ea5344b7b5ae2624ea51630acc4bb5f153a0 README.md
3
+ 694914d21aadcfe8c891bc92c8fe1072bf69ff6dc21c0c2ae00a1703231e0ad2 archive_contract.py
4
+ 887a82b972a29b8bb99118eb2616233cb2024adadddc4083e7d1197f990de72c build-facts.json
5
+ f98613a7a4f8883f2f8a3234dac0973bc00002deb3d5ff6e319e31ad19d20f3d download_release.py
6
+ e37c16fe6bdd925efae3f16974b49c9b6df169d9b011333b99a9f842f50304eb install.py
7
+ 1c15d3434f4b41a4414b29633c1a6be6ca45c422a716b1ce416c13672a3af8d2 manifest.json
8
+ c43da09e054b7967e75a68137fa4619b925dde5988bcbba14f64da898e1a3ea0 node_gate.py
9
+ d56689414e3fa222ccf4a4c872b94430ab5dd02ff0b8e9cf37e62d4774dd3d6e pins.json
10
+ 1771ab395f426c977f1c3052d75bf35ce95015159f72a669d5ee9833dd67eee4 python-vllm.sh
11
+ 66f5fb0c01ddbee0d6d5913e69aa04e85ee4cd1438b87d4972b1b42f527396ba qualification.json
12
+ b22e2ef9b1d1f1f2f233b9360bc82e8cb53b69c3d4811e3043167f0037db532b runtime.tar.gz
13
+ 213282f08d00ba473c6692aa62b39de4c07c7029f7279db62c87850c3d1e6cd9 uv.lock
14
+ 2e93d80f0b6bab7d9d66436c18257526a72a05a6da8f537aeadad7e6b27d0b9e vllm.sh
releases/vllm-0.32.0-cu130-20261028-r1/archive_contract.py ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Archive checks shared by export and install; no third-party dependencies."""
2
+ import posixpath
3
+ from pathlib import PurePosixPath
4
+ import tarfile
5
+
6
+ def inside(name,roots):
7
+ return any(name==root or name.startswith(root+'/') for root in roots)
8
+
9
+ def review_archive(path,targets):
10
+ roots=[str(PurePosixPath(t)).lstrip('/') for t in targets]
11
+ if not roots or any(not t.startswith('/opt/') for t in targets):
12
+ raise ValueError('Only explicit /opt targets are permitted')
13
+ seen=set(); total=0; count=0
14
+ with tarfile.open(path,'r:gz') as archive:
15
+ for member in archive:
16
+ name=member.name
17
+ if name.startswith('/') or '..' in PurePosixPath(name).parts or not inside(name,roots):
18
+ raise ValueError('Member escapes runtime allowlist: '+name)
19
+ if name in seen: raise ValueError('Duplicate archive member: '+name)
20
+ seen.add(name); count+=1
21
+ if not (member.isfile() or member.isdir() or member.issym() or member.islnk()):
22
+ raise ValueError('Unsupported archive member type: '+name)
23
+ if member.issym():
24
+ link=member.linkname
25
+ target=posixpath.normpath(link.lstrip('/')) if link.startswith('/') else posixpath.normpath(posixpath.join(posixpath.dirname(name),link))
26
+ if not inside(target,roots): raise ValueError('Symlink escapes runtime allowlist: '+name)
27
+ if member.islnk():
28
+ if member.linkname.startswith('/') or not inside(posixpath.normpath(member.linkname),roots):
29
+ raise ValueError('Hardlink escapes runtime allowlist: '+name)
30
+ if member.isfile(): total+=member.size
31
+ for root in roots:
32
+ if not any(name==root or name.startswith(root+'/') for name in seen):
33
+ raise ValueError('Missing runtime target: '+root)
34
+ return {'members':count,'unpacked_regular_file_bytes':total,'targets':targets}
releases/vllm-0.32.0-cu130-20261028-r1/build-facts.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "base_image": "docker.io/nvidia/cuda:13.0.2-devel-ubuntu22.04@sha256:1c517d4fb96528c8999e14e6e6b16d7e2ff9ae8d194fd788d60fdc88e693e982",
3
+ "python": "3.12.12",
4
+ "uv": "0.12.7",
5
+ "build_glibc": "glibc 2.35",
6
+ "nvcc": "nvcc: NVIDIA (R) Cuda compiler driver\nCopyright (c) 2005-2025 NVIDIA Corporation\nBuilt on Wed_Aug_20_01:58:59_PM_PDT_2025\nCuda compilation tools, release 13.0, V13.0.88\nBuild cuda_13.0.r13.0/compiler.36424714_0\n",
7
+ "gcc": "gcc (Ubuntu 11.4.0-1ubuntu1~22.04.2) 11.4.0",
8
+ "support_libraries": [
9
+ "libaio.so.1",
10
+ "libffi.so.8",
11
+ "libgcc_s.so.1",
12
+ "libgomp.so.1",
13
+ "libibverbs.so.1",
14
+ "libnl-3.so.200",
15
+ "libnl-route-3.so.200",
16
+ "libnuma.so.1",
17
+ "librdmacm.so.1",
18
+ "libstdc++.so.6",
19
+ "libuuid.so.1"
20
+ ],
21
+ "lock_sha256": "213282f08d00ba473c6692aa62b39de4c07c7029f7279db62c87850c3d1e6cd9"
22
+ }
releases/vllm-0.32.0-cu130-20261028-r1/download_release.py ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Pinned public HF release download; no installation or GPU use."""
2
+ import argparse
3
+ import concurrent.futures
4
+ import hashlib
5
+ import json
6
+ import os
7
+ from pathlib import Path
8
+ import re
9
+ import time
10
+ import urllib.request
11
+
12
+ REPO = 'codemaivanngu/vllm-portable-runtime'
13
+ RUN = 'vllm-0.32.0-cu130-20261028-r1'
14
+
15
+
16
+ def sha(path):
17
+ h = hashlib.sha256()
18
+ with Path(path).open('rb') as stream:
19
+ for chunk in iter(lambda: stream.read(8 * 1024**2), b''): h.update(chunk)
20
+ return h.hexdigest()
21
+
22
+
23
+ def small(url, limit):
24
+ with urllib.request.urlopen(url, timeout=120) as response: data = response.read(limit + 1)
25
+ if len(data) > limit: raise RuntimeError('Unexpected metadata/file size')
26
+ return data
27
+
28
+
29
+ def download_ranges(url, path, size, workers):
30
+ if not hasattr(os, 'pwrite'): raise RuntimeError('Parallel download requires Linux/Unix os.pwrite')
31
+ partial = path.with_name(path.name + '.partial')
32
+ fd = os.open(partial, os.O_RDWR | os.O_CREAT | os.O_EXCL, 0o600)
33
+ try:
34
+ os.ftruncate(fd, size)
35
+ chunk = 16 * 1024**2
36
+ def transfer(start):
37
+ end = min(start + chunk, size) - 1
38
+ for attempt in range(4):
39
+ try:
40
+ request = urllib.request.Request(url, headers={'Range': f'bytes={start}-{end}'})
41
+ with urllib.request.urlopen(request, timeout=180) as response:
42
+ if response.status != 206 or response.headers.get('Content-Range', '') != f'bytes {start}-{end}/{size}':
43
+ raise RuntimeError('Server did not honor the requested byte range')
44
+ data = response.read(end - start + 2)
45
+ if len(data) != end - start + 1: raise RuntimeError('Incomplete range')
46
+ position = 0
47
+ while position < len(data):
48
+ count = os.pwrite(fd, data[position:], start + position)
49
+ if count <= 0: raise RuntimeError('Range write failed')
50
+ position += count
51
+ return
52
+ except Exception:
53
+ if attempt == 3: raise RuntimeError('Range transfer failed; inspect approved proxy/connectivity') from None
54
+ time.sleep(2**attempt)
55
+ with concurrent.futures.ThreadPoolExecutor(max_workers=workers) as pool:
56
+ for _ in pool.map(transfer, range(0, size, chunk)): pass
57
+ os.fsync(fd)
58
+ finally: os.close(fd)
59
+ return partial
60
+
61
+
62
+ def download(revision, archive_sha256, output, workers):
63
+ if not re.fullmatch('[0-9a-f]{40}', revision): raise ValueError('Use the immutable 40-character payload revision')
64
+ if not re.fullmatch('[0-9a-f]{64}', archive_sha256): raise ValueError('Use the archive SHA256 from the release receipt')
65
+ if not 1 <= workers <= 16: raise ValueError('Use 1..16 workers')
66
+ base = f'https://huggingface.co/datasets/{REPO}/resolve/{revision}/releases/{RUN}'
67
+ output = Path(output); output.mkdir(parents=True, exist_ok=False)
68
+ raw = small(base + '/manifest.json', 1024**2); manifest = json.loads(raw)
69
+ if manifest['files']['runtime.tar.gz']['sha256'] != archive_sha256:
70
+ raise RuntimeError('Manifest does not identify the requested runtime')
71
+ (output / 'manifest.json').write_bytes(raw)
72
+ for name, item in manifest['files'].items():
73
+ if Path(name).name != name or name in ('', '.', '..'): raise RuntimeError('Unsafe manifest filename')
74
+ target = output / name
75
+ if name == 'runtime.tar.gz':
76
+ print('Downloading runtime with bounded parallel HTTP ranges...', flush=True)
77
+ partial = download_ranges(base + '/' + name, target, item['bytes'], workers)
78
+ else:
79
+ if item['bytes'] > 4 * 1024**2: raise RuntimeError('Unexpected non-archive size')
80
+ partial = target.with_name(target.name + '.partial')
81
+ partial.write_bytes(small(base + '/' + name, item['bytes']))
82
+ if partial.stat().st_size != item['bytes'] or sha(partial) != item['sha256']:
83
+ raise RuntimeError('File SHA256/size mismatch: ' + name)
84
+ partial.rename(target)
85
+ for name in ('SHA256SUMS', 'restore-cpu-receipt.json', 'restore-gpu-receipt.json'):
86
+ (output / name).write_bytes(small(base + '/' + name, 65536))
87
+ result = {'repo_id': REPO, 'payload_revision': revision, 'archive_sha256': archive_sha256,
88
+ 'all_manifest_files_verified': True, 'gpu_used': False}
89
+ (output / 'download-receipt.json').write_text(json.dumps(result, indent=2))
90
+ print('VLLM_DOWNLOAD_RESULT=' + json.dumps(result), flush=True)
91
+
92
+
93
+ if __name__ == '__main__':
94
+ parser = argparse.ArgumentParser(description=__doc__)
95
+ parser.add_argument('--revision', required=True)
96
+ parser.add_argument('--archive-sha256', required=True)
97
+ parser.add_argument('--output', required=True)
98
+ parser.add_argument('--workers', type=int, default=8)
99
+ args = parser.parse_args()
100
+ download(args.revision, args.archive_sha256, args.output, args.workers)
releases/vllm-0.32.0-cu130-20261028-r1/install.py ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Verified path-preserving installation. No package downloads or GPU use."""
2
+ import json
3
+ import os
4
+ from pathlib import Path
5
+ import platform
6
+ import shutil
7
+ import subprocess
8
+ import sys
9
+ from archive_contract import review_archive
10
+
11
+
12
+ def sha(path):
13
+ import hashlib
14
+ h = hashlib.sha256()
15
+ with Path(path).open('rb') as stream:
16
+ for block in iter(lambda: stream.read(8 * 1024**2), b''): h.update(block)
17
+ return h.hexdigest()
18
+
19
+
20
+ def install(payload):
21
+ payload = Path(payload).resolve()
22
+ manifest = json.loads((payload / 'manifest.json').read_text())
23
+ pins = manifest['pins']; root = Path(pins['root'])
24
+ if platform.system() != 'Linux' or platform.machine() != 'x86_64':
25
+ raise RuntimeError('Requires Linux x86_64')
26
+ libc = platform.libc_ver()
27
+ if libc[0] != 'glibc' or tuple(map(int, libc[1].split('.'))) < (2, 35):
28
+ raise RuntimeError('Requires glibc >= 2.35; never replace host glibc')
29
+ if str(root) != '/opt/vllm-runtime-0.32.0-cu130':
30
+ raise RuntimeError('Unexpected installation root')
31
+ if root.exists() or root.is_symlink(): raise RuntimeError('Existing runtime is preserved; select a fresh node/path release')
32
+ if os.geteuid() != 0: raise RuntimeError('This GOLD-style release requires root to create its private /opt directory')
33
+ if Path('/opt').is_symlink(): raise RuntimeError('Unexpected /opt symlink')
34
+ for name, item in manifest['files'].items():
35
+ if Path(name).name != name or name in ('', '.', '..'):
36
+ raise RuntimeError('Unsafe manifest filename')
37
+ path = payload / name
38
+ if not path.is_file() or path.stat().st_size != item['bytes'] or sha(path) != item['sha256']:
39
+ raise RuntimeError('Payload SHA256/size mismatch: ' + name)
40
+ archive = payload / 'runtime.tar.gz'
41
+ review = review_archive(archive, [str(root)])
42
+ if review != manifest['archive']: raise RuntimeError('Archive allowlist/member/size mismatch')
43
+ if shutil.disk_usage('/opt').free < review['unpacked_regular_file_bytes'] + 2 * 1024**3:
44
+ raise RuntimeError('Insufficient /opt disk')
45
+ subprocess.run(['tar', '--keep-old-files', '-xzf', str(archive), '-C', '/'], check=True)
46
+ command = ['bash', str(root / 'node/python-vllm.sh'), str(root / 'node/gates.py'),
47
+ 'cpu', '--output', str(payload / 'node-cpu-qualification')]
48
+ subprocess.run(command, env={**os.environ, 'CUDA_VISIBLE_DEVICES': '-1'}, check=True, timeout=150)
49
+ print(json.dumps({'installed': str(root), 'cpu_passed': True, 'gpu_used': False,
50
+ 'company_gpu_qualification': 'pending assigned node/GPU'}), flush=True)
51
+
52
+
53
+ if __name__ == '__main__': install(Path(__file__).absolute().parent)
releases/vllm-0.32.0-cu130-20261028-r1/manifest.json ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "protocol": "vllm-portable-runtime-v1",
3
+ "release": "vllm-0.32.0-cu130-20261028-r1",
4
+ "pins": {
5
+ "protocol": "vllm-portable-runtime-v1",
6
+ "release": "vllm-0.32.0-cu130-20261028-r1",
7
+ "vllm": "0.32.0",
8
+ "torch": "2.13.0",
9
+ "python": "3.12.12",
10
+ "uv": "0.12.7",
11
+ "modal_sdk": "1.6.1",
12
+ "base_image": "docker.io/nvidia/cuda:13.0.2-devel-ubuntu22.04@sha256:1c517d4fb96528c8999e14e6e6b16d7e2ff9ae8d194fd788d60fdc88e693e982",
13
+ "restore_image": "docker.io/library/ubuntu:22.04@sha256:e0f80c829509ef4df9e76bd8944eb7b8ec25cbb379b112a7f9448b2c77a77c9b",
14
+ "root": "/opt/vllm-runtime-0.32.0-cu130",
15
+ "python_root": "/opt/vllm-runtime-0.32.0-cu130/python",
16
+ "venv": "/opt/vllm-runtime-0.32.0-cu130/venv",
17
+ "project": "/opt/vllm-runtime-0.32.0-cu130/env",
18
+ "node": "/opt/vllm-runtime-0.32.0-cu130/node",
19
+ "support_libs": "/opt/vllm-runtime-0.32.0-cu130/lib",
20
+ "toolkit": "/opt/vllm-runtime-0.32.0-cu130/cuda",
21
+ "fixtures": "/opt/vllm-runtime-0.32.0-cu130/fixtures",
22
+ "min_glibc": "2.35",
23
+ "modal_profile": "lhtu05",
24
+ "additional_spend_cap_usd": 5,
25
+ "hf_repo": "codemaivanngu/vllm-portable-runtime",
26
+ "hf_private": false,
27
+ "qualification_gpu": "B200",
28
+ "qualification_scope": "Linux x86_64 runtime, synthetic dense BF16 inference and local HTTP serving on one B200; no company-node, production-model or multi-GPU qualification"
29
+ },
30
+ "archive": {
31
+ "members": 70230,
32
+ "unpacked_regular_file_bytes": 11041486896,
33
+ "targets": [
34
+ "/opt/vllm-runtime-0.32.0-cu130"
35
+ ]
36
+ },
37
+ "files": {
38
+ "CUDA-LICENSES.txt": {
39
+ "bytes": 1743247,
40
+ "sha256": "5e72ff86ba2dcda82ff75cb8788351703baec3191923f632f833cd5cbf005dd7"
41
+ },
42
+ "README.md": {
43
+ "bytes": 4061,
44
+ "sha256": "3ff20c283001e54bb2f20ff9ce12ea5344b7b5ae2624ea51630acc4bb5f153a0"
45
+ },
46
+ "archive_contract.py": {
47
+ "bytes": 1963,
48
+ "sha256": "694914d21aadcfe8c891bc92c8fe1072bf69ff6dc21c0c2ae00a1703231e0ad2"
49
+ },
50
+ "build-facts.json": {
51
+ "bytes": 848,
52
+ "sha256": "887a82b972a29b8bb99118eb2616233cb2024adadddc4083e7d1197f990de72c"
53
+ },
54
+ "download_release.py": {
55
+ "bytes": 5008,
56
+ "sha256": "f98613a7a4f8883f2f8a3234dac0973bc00002deb3d5ff6e319e31ad19d20f3d"
57
+ },
58
+ "install.py": {
59
+ "bytes": 2695,
60
+ "sha256": "e37c16fe6bdd925efae3f16974b49c9b6df169d9b011333b99a9f842f50304eb"
61
+ },
62
+ "node_gate.py": {
63
+ "bytes": 2519,
64
+ "sha256": "c43da09e054b7967e75a68137fa4619b925dde5988bcbba14f64da898e1a3ea0"
65
+ },
66
+ "pins.json": {
67
+ "bytes": 1245,
68
+ "sha256": "d56689414e3fa222ccf4a4c872b94430ab5dd02ff0b8e9cf37e62d4774dd3d6e"
69
+ },
70
+ "python-vllm.sh": {
71
+ "bytes": 1288,
72
+ "sha256": "1771ab395f426c977f1c3052d75bf35ce95015159f72a669d5ee9833dd67eee4"
73
+ },
74
+ "qualification.json": {
75
+ "bytes": 6325,
76
+ "sha256": "66f5fb0c01ddbee0d6d5913e69aa04e85ee4cd1438b87d4972b1b42f527396ba"
77
+ },
78
+ "runtime.tar.gz": {
79
+ "bytes": 5821293851,
80
+ "sha256": "b22e2ef9b1d1f1f2f233b9360bc82e8cb53b69c3d4811e3043167f0037db532b"
81
+ },
82
+ "uv.lock": {
83
+ "bytes": 378886,
84
+ "sha256": "213282f08d00ba473c6692aa62b39de4c07c7029f7279db62c87850c3d1e6cd9"
85
+ },
86
+ "vllm.sh": {
87
+ "bytes": 133,
88
+ "sha256": "2e93d80f0b6bab7d9d66436c18257526a72a05a6da8f537aeadad7e6b27d0b9e"
89
+ }
90
+ },
91
+ "qualification_scope": "Linux x86_64 runtime, synthetic dense BF16 inference and local HTTP serving on one B200; no company-node, production-model or multi-GPU qualification",
92
+ "company_status": "not run"
93
+ }
releases/vllm-0.32.0-cu130-20261028-r1/node_gate.py ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Read-only physical-GPU UUID preflight; --run opts into the runtime canaries."""
2
+ import argparse
3
+ import csv
4
+ import json
5
+ import os
6
+ from pathlib import Path
7
+ import re
8
+ import subprocess
9
+
10
+ ROOT = '/opt/vllm-runtime-0.32.0-cu130'
11
+
12
+
13
+ def selected_gpu(gpu_text, process_text, target):
14
+ fields = ('index', 'uuid', 'name', 'used_mib', 'total_mib', 'driver')
15
+ rows = [dict(zip(fields, [value.strip() for value in row])) for row in csv.reader(gpu_text.splitlines()) if row]
16
+ selected = [row for row in rows if row['uuid'] == target]
17
+ if len(selected) != 1: raise RuntimeError('Assigned GPU UUID does not uniquely exist')
18
+ row = selected[0]
19
+ occupants = [values for values in csv.reader(process_text.splitlines()) if values and values[0].strip() == target]
20
+ if occupants or int(row['used_mib']) >= 2048: raise RuntimeError('Assigned GPU is occupied; no process was stopped')
21
+ return row
22
+
23
+
24
+ if __name__ == '__main__':
25
+ parser = argparse.ArgumentParser(description=__doc__)
26
+ parser.add_argument('--node-label', required=True)
27
+ parser.add_argument('--gpu-uuid', required=True)
28
+ parser.add_argument('--output', required=True)
29
+ parser.add_argument('--run', action='store_true')
30
+ args = parser.parse_args()
31
+ if not re.fullmatch(r'[A-Za-z0-9._-]+', args.node_label): parser.error('Use the actual confirmed node label')
32
+ if not re.fullmatch(r'GPU-[0-9A-Fa-f-]{36}', args.gpu_uuid): parser.error('Use a physical assigned GPU UUID')
33
+ gpu_text = subprocess.check_output(['nvidia-smi', '--query-gpu=index,uuid,name,memory.used,memory.total,driver_version', '--format=csv,noheader,nounits'], text=True)
34
+ process_text = subprocess.check_output(['nvidia-smi', '--query-compute-apps=gpu_uuid,pid,process_name', '--format=csv,noheader'], text=True)
35
+ gpu = selected_gpu(gpu_text, process_text, args.gpu_uuid)
36
+ print(json.dumps({'node_label_from_user': args.node_label, 'assigned_gpu': gpu, 'mode': 'run' if args.run else 'read_only'}), flush=True)
37
+ if args.run:
38
+ output = Path(args.output); output.mkdir(parents=True, exist_ok=False)
39
+ for stage in ('cpu', 'cuda', 'infer', 'serve'):
40
+ with (output / (stage + '.log')).open('x') as log:
41
+ subprocess.run(['bash', ROOT + '/node/python-vllm.sh', ROOT + '/node/gates.py', stage,
42
+ '--output', str(output / stage)], env={**os.environ, 'CUDA_VISIBLE_DEVICES': '-1' if stage == 'cpu' else args.gpu_uuid},
43
+ stdout=log, stderr=subprocess.STDOUT, check=True, timeout=600)
releases/vllm-0.32.0-cu130-20261028-r1/pins.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "protocol": "vllm-portable-runtime-v1",
3
+ "release": "vllm-0.32.0-cu130-20261028-r1",
4
+ "vllm": "0.32.0",
5
+ "torch": "2.13.0",
6
+ "python": "3.12.12",
7
+ "uv": "0.12.7",
8
+ "modal_sdk": "1.6.1",
9
+ "base_image": "docker.io/nvidia/cuda:13.0.2-devel-ubuntu22.04@sha256:1c517d4fb96528c8999e14e6e6b16d7e2ff9ae8d194fd788d60fdc88e693e982",
10
+ "restore_image": "docker.io/library/ubuntu:22.04@sha256:e0f80c829509ef4df9e76bd8944eb7b8ec25cbb379b112a7f9448b2c77a77c9b",
11
+ "root": "/opt/vllm-runtime-0.32.0-cu130",
12
+ "python_root": "/opt/vllm-runtime-0.32.0-cu130/python",
13
+ "venv": "/opt/vllm-runtime-0.32.0-cu130/venv",
14
+ "project": "/opt/vllm-runtime-0.32.0-cu130/env",
15
+ "node": "/opt/vllm-runtime-0.32.0-cu130/node",
16
+ "support_libs": "/opt/vllm-runtime-0.32.0-cu130/lib",
17
+ "toolkit": "/opt/vllm-runtime-0.32.0-cu130/cuda",
18
+ "fixtures": "/opt/vllm-runtime-0.32.0-cu130/fixtures",
19
+ "min_glibc": "2.35",
20
+ "modal_profile": "lhtu05",
21
+ "additional_spend_cap_usd": 5,
22
+ "hf_repo": "codemaivanngu/vllm-portable-runtime",
23
+ "hf_private": false,
24
+ "qualification_gpu": "B200",
25
+ "qualification_scope": "Linux x86_64 runtime, synthetic dense BF16 inference and local HTTP serving on one B200; no company-node, production-model or multi-GPU qualification"
26
+ }
releases/vllm-0.32.0-cu130-20261028-r1/python-vllm.sh ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ ROOT=/opt/vllm-runtime-0.32.0-cu130
4
+ test -x "$ROOT/venv/bin/python" || { echo 'Install the verified vLLM payload first' >&2; exit 2; }
5
+ unset PYTHONHOME PYTHONPATH
6
+ export PYTHONNOUSERSITE=1 PYTHONUNBUFFERED=1 TOKENIZERS_PARALLELISM=false
7
+ export CUDA_VISIBLE_DEVICES="${CUDA_VISIBLE_DEVICES:--1}"
8
+ export CUDA_HOME="$ROOT/cuda"
9
+ export PATH="$ROOT/venv/bin:$CUDA_HOME/bin:$PATH"
10
+ export LD_LIBRARY_PATH="$ROOT/lib:$CUDA_HOME/lib64:${LD_LIBRARY_PATH:-}"
11
+ # Match nvcc to its own headers. Do not inherit another image's CPATH/CUDA paths.
12
+ unset C_INCLUDE_PATH CPLUS_INCLUDE_PATH CUDA_PATH
13
+ export CPATH="$CUDA_HOME/include"
14
+ export VLLM_PORTABLE_CACHE="${VLLM_PORTABLE_CACHE:-${XDG_CACHE_HOME:-/var/tmp}/vllm-portable-${UID}/0.32.0-cu130}"
15
+ export XDG_CACHE_HOME="$VLLM_PORTABLE_CACHE"
16
+ export VLLM_CACHE_ROOT="$VLLM_PORTABLE_CACHE/vllm" TRITON_CACHE_DIR="$VLLM_PORTABLE_CACHE/triton"
17
+ export FLASHINFER_WORKSPACE_BASE="$VLLM_PORTABLE_CACHE/flashinfer" TORCH_EXTENSIONS_DIR="$VLLM_PORTABLE_CACHE/torch"
18
+ export HF_HOME="${VLLM_PORTABLE_HF_HOME:-$VLLM_PORTABLE_CACHE/huggingface}"
19
+ export HF_HUB_OFFLINE="${HF_HUB_OFFLINE:-1}" TRANSFORMERS_OFFLINE="${TRANSFORMERS_OFFLINE:-1}"
20
+ export VLLM_NO_USAGE_STATS=1 HF_HUB_DISABLE_TELEMETRY=1
21
+ exec "$ROOT/venv/bin/python" "$@"
releases/vllm-0.32.0-cu130-20261028-r1/qualification.json ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cpu": {
3
+ "packages": {
4
+ "vllm": "0.32.0",
5
+ "torch": "2.13.0",
6
+ "transformers": "5.19.0",
7
+ "flashinfer-python": "0.7.0.post1",
8
+ "triton": "3.7.1"
9
+ },
10
+ "python": "3.12.12 (main, Feb 12 2026, 00:42:14) [Clang 21.1.4 ]",
11
+ "python_base": "/opt/vllm-runtime-0.32.0-cu130/python/cpython-3.12.12-linux-x86_64-gnu",
12
+ "wrapper_sha256": "1771ab395f426c977f1c3052d75bf35ce95015159f72a669d5ee9833dd67eee4",
13
+ "gates_sha256": "66d661aa6debd9ee29075543897af1ce94b32561674d8ede81f4ac6ba47e1af7",
14
+ "pins_sha256": "d56689414e3fa222ccf4a4c872b94430ab5dd02ff0b8e9cf37e62d4774dd3d6e",
15
+ "lock_sha256": "213282f08d00ba473c6692aa62b39de4c07c7029f7279db62c87850c3d1e6cd9",
16
+ "torch_cuda": "13.0",
17
+ "gpu_required": false,
18
+ "cli_help_scope": "checked by CUDA gate; upstream CLI probes NVML even for --help",
19
+ "stage": "cpu",
20
+ "elapsed_seconds": 4.7786136710000005,
21
+ "qualification_scope": "Linux x86_64 runtime, synthetic dense BF16 inference and local HTTP serving on one B200; no company-node, production-model or multi-GPU qualification",
22
+ "passed": true
23
+ },
24
+ "cuda": {
25
+ "packages": {
26
+ "vllm": "0.32.0",
27
+ "torch": "2.13.0",
28
+ "transformers": "5.19.0",
29
+ "flashinfer-python": "0.7.0.post1",
30
+ "triton": "3.7.1"
31
+ },
32
+ "python": "3.12.12 (main, Feb 12 2026, 00:42:14) [Clang 21.1.4 ]",
33
+ "python_base": "/opt/vllm-runtime-0.32.0-cu130/python/cpython-3.12.12-linux-x86_64-gnu",
34
+ "wrapper_sha256": "1771ab395f426c977f1c3052d75bf35ce95015159f72a669d5ee9833dd67eee4",
35
+ "gates_sha256": "66d661aa6debd9ee29075543897af1ce94b32561674d8ede81f4ac6ba47e1af7",
36
+ "pins_sha256": "d56689414e3fa222ccf4a4c872b94430ab5dd02ff0b8e9cf37e62d4774dd3d6e",
37
+ "lock_sha256": "213282f08d00ba473c6692aa62b39de4c07c7029f7279db62c87850c3d1e6cd9",
38
+ "gpu": "NVIDIA B200",
39
+ "capability": [
40
+ 10,
41
+ 0
42
+ ],
43
+ "native_rmsnorm": true,
44
+ "driver": "610.57.04",
45
+ "stage": "cuda",
46
+ "elapsed_seconds": 19.354250988,
47
+ "qualification_scope": "Linux x86_64 runtime, synthetic dense BF16 inference and local HTTP serving on one B200; no company-node, production-model or multi-GPU qualification",
48
+ "passed": true
49
+ },
50
+ "infer": {
51
+ "packages": {
52
+ "vllm": "0.32.0",
53
+ "torch": "2.13.0",
54
+ "transformers": "5.19.0",
55
+ "flashinfer-python": "0.7.0.post1",
56
+ "triton": "3.7.1"
57
+ },
58
+ "python": "3.12.12 (main, Feb 12 2026, 00:42:14) [Clang 21.1.4 ]",
59
+ "python_base": "/opt/vllm-runtime-0.32.0-cu130/python/cpython-3.12.12-linux-x86_64-gnu",
60
+ "wrapper_sha256": "1771ab395f426c977f1c3052d75bf35ce95015159f72a669d5ee9833dd67eee4",
61
+ "gates_sha256": "66d661aa6debd9ee29075543897af1ce94b32561674d8ede81f4ac6ba47e1af7",
62
+ "pins_sha256": "d56689414e3fa222ccf4a4c872b94430ab5dd02ff0b8e9cf37e62d4774dd3d6e",
63
+ "lock_sha256": "213282f08d00ba473c6692aa62b39de4c07c7029f7279db62c87850c3d1e6cd9",
64
+ "requests": 2,
65
+ "tokens_per_request": 8,
66
+ "token_ids": [
67
+ [
68
+ 54,
69
+ 53,
70
+ 31,
71
+ 31,
72
+ 31,
73
+ 31,
74
+ 31,
75
+ 31
76
+ ],
77
+ [
78
+ 28,
79
+ 28,
80
+ 28,
81
+ 28,
82
+ 28,
83
+ 44,
84
+ 68,
85
+ 3
86
+ ]
87
+ ],
88
+ "normal_compiled_engine": true,
89
+ "synthetic_random_weights": true,
90
+ "stage": "infer",
91
+ "elapsed_seconds": 125.49120856799999,
92
+ "qualification_scope": "Linux x86_64 runtime, synthetic dense BF16 inference and local HTTP serving on one B200; no company-node, production-model or multi-GPU qualification",
93
+ "passed": true
94
+ },
95
+ "serve": {
96
+ "packages": {
97
+ "vllm": "0.32.0",
98
+ "torch": "2.13.0",
99
+ "transformers": "5.19.0",
100
+ "flashinfer-python": "0.7.0.post1",
101
+ "triton": "3.7.1"
102
+ },
103
+ "python": "3.12.12 (main, Feb 12 2026, 00:42:14) [Clang 21.1.4 ]",
104
+ "python_base": "/opt/vllm-runtime-0.32.0-cu130/python/cpython-3.12.12-linux-x86_64-gnu",
105
+ "wrapper_sha256": "1771ab395f426c977f1c3052d75bf35ce95015159f72a669d5ee9833dd67eee4",
106
+ "gates_sha256": "66d661aa6debd9ee29075543897af1ce94b32561674d8ede81f4ac6ba47e1af7",
107
+ "pins_sha256": "d56689414e3fa222ccf4a4c872b94430ab5dd02ff0b8e9cf37e62d4774dd3d6e",
108
+ "lock_sha256": "213282f08d00ba473c6692aa62b39de4c07c7029f7279db62c87850c3d1e6cd9",
109
+ "models": {
110
+ "object": "list",
111
+ "data": [
112
+ {
113
+ "id": "portable-fixture",
114
+ "object": "model",
115
+ "created": 1793124855,
116
+ "owned_by": "vllm",
117
+ "root": "/opt/vllm-runtime-0.32.0-cu130/fixtures",
118
+ "parent": null,
119
+ "max_model_len": 128,
120
+ "permission": [
121
+ {
122
+ "id": "modelperm-9f0581941061b324",
123
+ "object": "model_permission",
124
+ "created": 1793124855,
125
+ "allow_create_engine": false,
126
+ "allow_sampling": true,
127
+ "allow_logprobs": true,
128
+ "allow_search_indices": false,
129
+ "allow_view": true,
130
+ "allow_fine_tuning": false,
131
+ "organization": "*",
132
+ "group": null,
133
+ "is_blocking": false
134
+ }
135
+ ]
136
+ }
137
+ ]
138
+ },
139
+ "completion": {
140
+ "id": "cmpl-9deb7a4eaab71aad",
141
+ "object": "text_completion",
142
+ "created": 1793124855,
143
+ "model": "portable-fixture",
144
+ "choices": [
145
+ {
146
+ "index": 0,
147
+ "text": " token54 token53 token31 token31 token31 token31 token31 token31",
148
+ "logprobs": null,
149
+ "finish_reason": "length",
150
+ "stop_reason": null,
151
+ "token_ids": null,
152
+ "prompt_logprobs": null,
153
+ "prompt_token_ids": null,
154
+ "routed_experts": null
155
+ }
156
+ ],
157
+ "service_tier": null,
158
+ "system_fingerprint": "vllm-0.32.0-6952f46e",
159
+ "usage": {
160
+ "prompt_tokens": 2,
161
+ "total_tokens": 10,
162
+ "completion_tokens": 8,
163
+ "prompt_tokens_details": null,
164
+ "completion_tokens_details": null
165
+ },
166
+ "kv_transfer_params": null,
167
+ "ec_transfer_params": null,
168
+ "metrics": null
169
+ },
170
+ "bound_to_loopback": true,
171
+ "stage": "serve",
172
+ "elapsed_seconds": 40.58435433300002,
173
+ "qualification_scope": "Linux x86_64 runtime, synthetic dense BF16 inference and local HTTP serving on one B200; no company-node, production-model or multi-GPU qualification",
174
+ "passed": true
175
+ }
176
+ }
releases/vllm-0.32.0-cu130-20261028-r1/restore-cpu-receipt.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "pass": true,
3
+ "installer_exit_code": 0,
4
+ "restore_image": "docker.io/library/ubuntu:22.04@sha256:e0f80c829509ef4df9e76bd8944eb7b8ec25cbb379b112a7f9448b2c77a77c9b",
5
+ "base_had_cuda_toolkit": false,
6
+ "gpu_gates": false,
7
+ "elapsed_seconds": 234.295727668
8
+ }
releases/vllm-0.32.0-cu130-20261028-r1/restore-gpu-receipt.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "pass": true,
3
+ "installer_exit_code": 0,
4
+ "restore_image": "docker.io/library/ubuntu:22.04@sha256:e0f80c829509ef4df9e76bd8944eb7b8ec25cbb379b112a7f9448b2c77a77c9b",
5
+ "base_had_cuda_toolkit": false,
6
+ "gpu_gates": true,
7
+ "elapsed_seconds": 233.742409607
8
+ }
releases/vllm-0.32.0-cu130-20261028-r1/runtime.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b22e2ef9b1d1f1f2f233b9360bc82e8cb53b69c3d4811e3043167f0037db532b
3
+ size 5821293851
releases/vllm-0.32.0-cu130-20261028-r1/uv.lock ADDED
The diff for this file is too large to render. See raw diff
 
releases/vllm-0.32.0-cu130-20261028-r1/vllm.sh ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ exec bash /opt/vllm-runtime-0.32.0-cu130/node/python-vllm.sh -m vllm.entrypoints.cli.main "$@"