TraceLoom vLLM runtime plugin
An opt-in scheduler observer for TraceLoom, the standalone accelerator trace analyzer. This package records scheduling context; it does not install or replace vLLM, torch, a device backend, or the native TraceLoom CLI.
Install and enable
Use the Python environment that already runs your compatible vLLM installation:
python -m pip install traceloom-vllm-context==0.1.0
export TRACELOOM_CONTEXT_DIR=/path/to/capture/context
export TRACELOOM_RUN_ID=inference-study-001
vllm serve /path/to/model --async-scheduling \
--scheduler-cls traceloom_vllm_scheduler.TracingAsyncScheduler
For synchronous scheduling use TracingScheduler and omit --async-scheduling.
Unset TRACELOOM_CONTEXT_DIR to disable recording. To remove the adapter entirely,
restart without the custom scheduler class. Existing worker-class selection is
left unchanged; arbitrary custom schedulers are not automatically composable.
Two explicit collection modes
- Scheduler-only: launch-argument injection, no source patch. Records step identity, scheduled-token counts, request shapes and available cache counters. It does not associate steps with device execution.
- Execution-linked:
LinkedTracingAsyncScheduler/LinkedTracingSchedulerplus the repository's explicittransport-worker.patch. Carries step identity to workers and emits profiler markers for supported host/device correlation. This mode is not patch-free. Use the existing profiler to collect device data.
The native analyzer imports JSONL with repeated --context arguments alongside
the profiler database. Unknown or ambiguous associations remain explicit; a
scheduler-only record does not imply zero device work.
Compatibility and limits
Real capture validation is bounded to Qwen3-0.6B, TP1, eager, an in-process V1
engine, vLLM 0fc695fc6d1d82e9a5ac6835ac8e4e1c83703665 and vLLM-Ascend
f4a08bddd0cc65a0bd8c3d377b158ae5ca7527db. Audit the selected runtime before
using a different revision. This is an alpha observer, not an inference
acceleration package or a universal compatibility claim. Recording adds host
work; overhead and graph/distributed capture coverage are not qualified.
Prompt text, generated token values and KV payloads are not intentionally exported. Request IDs are producer-local pseudonyms. Treat captured metadata as potentially sensitive and control access to the output directory.
Full integration guide and patch · Native analyzer · Context analysis contract
MIT licensed. Built and maintained as part of TraceLoom.
Metadata
Release files for traceloom-vllm-context 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| traceloom_vllm_context-0.1.0.tar.gz | 23.0 kB | Without provenance | Details for traceloom_vllm_context-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| traceloom_vllm_context-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for traceloom_vllm_context-0.1.0-py3-none-any.whl |
Total release size: 32.8 kB
Release files / traceloom_vllm_context-0.1.0.tar.gz
| Download URL | traceloom_vllm_context-0.1.0.tar.gz |
|---|---|
| Size | 23.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
652874571eb4b21e452475b3658c7abfb4232ebaaf700157cdb75030b258e485
|
|
BLAKE2b-256 checksum How to use checksums |
7e7c23c6071180c064308088ed010eb2e8761a65614fa5a802d63b8c311a3ff5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / traceloom_vllm_context-0.1.0-py3-none-any.whl
| Download URL | traceloom_vllm_context-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7eca0e3725a95da0c07568678cc1df12f7e7a0d1a8b900a864ba546da5a5382
|
|
BLAKE2b-256 checksum How to use checksums |
16aa01b80e38f43974c833a09699d1f008a6dc27156bcb7df4bc598db67e4846
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Security for traceloom-vllm-context 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.