From 35dc62df1deeb6b028dadbf6746c69603f88872f Mon Sep 17 00:00:00 2001 From: EthanRosenthal Date: Wed, 7 Oct 2026 11:51:55 +0000 Subject: [PATCH 1/2] Bump version to 0.5.2 Release plan_asset and richer probe_asset metadata (#18), exact in-window frames for end_time on B-frame streams (#19), and CPU output buffers allocated outside torch's allocator (#20). --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5bc185a..1379a33 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -139,7 +139,7 @@ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] name = "avtensor" -version = "0.5.1" +version = "0.5.2" dependencies = [ "anyhow", "aws-config", diff --git a/Cargo.toml b/Cargo.toml index 1ac74a2..6b9c5ed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "avtensor" -version = "0.5.1" +version = "0.5.2" edition = "2021" description = "High-performance decoding of media assets to torch Tensors" repository = "https://github.com/runwayml/avtensor" From f5f7a8f701b6499fe4dc2457c7d9370ac888764c Mon Sep 17 00:00:00 2001 From: EthanRosenthal Date: Wed, 7 Oct 2026 12:02:14 +0000 Subject: [PATCH 2/2] Build the sdist against torch 2.13 The build-system torch pin was left at 2.11.0 when tch moved to 0.26.0 (torch 2.13) in #15, so isolated sdist builds installed a torch that doesn't match the locked tch. Align the pin with Cargo.lock and update the README requirements row to match. --- README.md | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5dba5f0..5b858c5 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ Requirements: | dependency | version | notes | | --- | --- | --- | | Python | >= 3.8 (CPython) | wheel is built per Python minor version | -| PyTorch | matches the `tch` pin in `Cargo.toml` (0.24.x ↔ torch 2.11) | linked dynamically at build time | +| PyTorch | 2.13 by default (`tch` 0.26 in `Cargo.lock`); 2.11 via `tch` 0.24 | linked dynamically at build time | | FFmpeg | >= 7.1, shared libraries | needs `zscale`/`tonemap` filters (libzimg) for HDR input | | Rust | stable toolchain | build-time only | diff --git a/pyproject.toml b/pyproject.toml index 264bc9a..308f514 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ explicit = true torch = { index = "pytorch" } [build-system] -requires = ["maturin>=1.9,<2.0", "torch==2.11.0", "pytorch-triton", "setuptools"] +requires = ["maturin>=1.9,<2.0", "torch==2.13.0", "pytorch-triton", "setuptools"] build-backend = "maturin" [project]