LiveFrame
Real-time video generation, honestly measured.
LiveFrame is an evidence-first measurement framework for real-time autoregressive diffusion video, spanning NVIDIA CUDA and Apple MLX. It separates four claim layers — numerical trajectory, intrinsic quality, same-seed identity, and complete-wall performance — with pre-registered thresholds and digest-bound provenance.
Paper: LiveFrame: Evidence-First Measurement of Real-Time Autoregressive Diffusion Video Across CUDA and Apple MLX (2026).
This release (0.2.0)
This release adds dependency-free orchestration APIs for measured generation:
stream()yields timed native-frame events.clip()requires exact finite completion and reports complete measured wall time.benchmark()separates warmups from measured trials and reports median and p95 wall time.
Model loading remains behind a small backend protocol. The package does not bundle Wan, MLX, or CUDA weights and does not claim to provide a production model backend yet.
from collections.abc import Iterator
from liveframe import GenerationRequest, NativeFrame, benchmark, clip
class MyBackend:
def stream(self, request: GenerationRequest) -> Iterator[NativeFrame]:
for index in range(request.native_frames):
pixels = generate_one_frame(index, request) # your model integration
yield NativeFrame(index=index, payload=pixels)
request = GenerationRequest("a paper boat crossing a rain puddle")
result = clip(MyBackend(), request)
print(result.metrics.generated_fps)
summary = benchmark(MyBackend(), request, warmup_runs=1, trials=3)
print(summary.median_generated_fps, summary.p95_wall_seconds)
If a backend emits chunks, native_frame_count keeps generated-frame accounting
explicit:
yield NativeFrame(index=0, payload=first_chunk, native_frame_count=4)
yield NativeFrame(index=4, payload=second_chunk, native_frame_count=4)
Missing, duplicate, out-of-order, and excess native frames fail closed. Generated FPS is computed from the declared native-frame count and measured wall time, never playback duration or iterator-item count.
The evidence verifier for LiveFrame claim ledgers remains available:
pip install liveframe
# re-hash every unique digest-bound artifact referenced by a ledger (fail-closed)
liveframe verify path/to/liveframe-publication-claims.v1.json --artifacts-root path/to/repo
# independently recompute headline arithmetic from values recorded in the ledger
liveframe recompute path/to/liveframe-publication-claims.v1.json
verify requires the separately distributed evidence artifacts referenced by the
ledger; model weights and evidence files are not bundled in this Python package.
It rejects missing files, digest mismatches, unsupported schemas, conflicting
references, and artifact paths outside the selected root.
See the repository for the full evidence bundle, claim protocol, and reports.
License
Apache-2.0
Metadata
Release files for liveframe 0.2.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 | |
|---|---|---|---|
| liveframe-0.2.0.tar.gz | 12.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| liveframe-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.3 kB
Release files / liveframe-0.2.0.tar.gz
| Download URL | liveframe-0.2.0.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40b811b1430e252bd16eb6235e2b33490b123eab0fe6b74d8e25d257dc6d35ea
|
|
BLAKE2b-256 checksum How to use checksums |
d97a6e63b24a6de1f5357081670a5e7dbbebf996eaa18909e4e5b3ed775689a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.13
|
Release files / liveframe-0.2.0-py3-none-any.whl
| Download URL | liveframe-0.2.0-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1eb73e38c7b34f983e337bbed433ea59c8938de02435c71330cf3d27183010f4
|
|
BLAKE2b-256 checksum How to use checksums |
aa3919f84e7ba1cd5834719ee973b865ed894ad67b65759d09c7cc60fc51837a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.13
|