Repository navigation
Conversation
RyanPCo
force-pushed
the
ryanco/eva-to-lance
branch
from
October 22, 2026 14:06
e642184 to
bd04b38
Compare
RyanPCo
force-pushed
the
ryanco/lance-mp4-ranges
branch
from
October 22, 2026 14:06
8ae0806 to
0b25bc8
Compare
RyanPCo
force-pushed
the
ryanco/eva-to-lance
branch
from
October 23, 2026 19:28
bd04b38 to
204c215
Compare
RyanPCo
force-pushed
the
ryanco/lance-mp4-ranges
branch
from
October 23, 2026 19:28
0b25bc8 to
07c145d
Compare
RyanPCo
force-pushed
the
ryanco/eva-to-lance
branch
from
October 23, 2026 19:36
204c215 to
f5b66c3
Compare
RyanPCo
force-pushed
the
ryanco/lance-mp4-ranges
branch
from
October 23, 2026 19:36
07c145d to
12ee83c
Compare
LanceStreamingDataset now reads frames straight from the MP4s: each process reads an MP4's sample table once (one range GET of its moov), then a batch fetches only the packets its frames need (keyframe through frame; adjacent with GOP 2) in one concurrent round of range GETs and decodes them in memory with PyAV. Frames match torchcodec bit for bit. On R2 with 8 workers this ties the K=8 chunk tables on raw reads (277 vs 276 samples/s steady state) and runs 5-15% behind through the full loader, with video stored once and nothing for the committer to build. So video_chunks tables, chunk_videos.py and --chunk-k go. The chunk path had been broken since leaves were keyed by recording_id (row.episode_hash). Claude-Session: https://claude.ai/code/session_01Kt1E8T2x8kdV9akAvbJyVd
RyanPCo
force-pushed
the
ryanco/lance-mp4-ranges
branch
from
October 23, 2026 20:03
12ee83c to
ffa99f1
Compare
RyanPCo
force-pushed
the
ryanco/eva-to-lance
branch
from
October 23, 2026 20:03
f5b66c3 to
ca35d13
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
LanceStreamingDataset now reads frames straight from the MP4s: each
process reads an MP4's sample table once (one range GET of its moov),
then a batch fetches only the packets its frames need (keyframe through
frame; adjacent with GOP 2) in one concurrent round of range GETs and
decodes them in memory with PyAV. Frames match torchcodec bit for bit.
On R2 with 8 workers this ties the K=8 chunk tables on raw reads (277
vs 276 samples/s steady state) and runs 5-15% behind through the full
loader, with video stored once and nothing for the committer to build.
So video_chunks tables, chunk_videos.py and --chunk-k go. The chunk path
had been broken since leaves were keyed by recording_id (row.episode_hash).
https://claude.ai/code/session_01HjCQBqQCr2igFEMR7yUovw