Skip to content

inference: improve partitioned blending by introducing chunk index#712

Open
jrudolph wants to merge 5 commits intomainfrom
partitioned-blending-fixes-squashed
Open

inference: improve partitioned blending by introducing chunk index#712
jrudolph wants to merge 5 commits intomainfrom
partitioned-blending-fixes-squashed

Conversation

@jrudolph
Copy link
Member

Corresponding to version v30 as used in the latest workflow.

Doesn't merge cleanly with the latest changes for 3d ink detection, so will need some work.

This avoids the existing O(n^2) problem when the coordinates array
was scanned linearly again and again for each chunk.

This led to excessive S3 retrievals for the small coordinate arrays
and subpar performance.

Now S3 is also scanned for missing (empty) patches files beforehand and
those are immediately skipped.

The runtime is now dominated by accessing and decompressing the logit array.
To avoid large intermediate zarr arrays on s3
@vercel
Copy link

vercel bot commented Feb 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
scrollprize-org Ignored Ignored Preview Feb 11, 2026 10:53am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant