Skip to content

Add support for chunking - #73

Open
tdene wants to merge 3 commits into
fzyzcjy:masterfrom
tdene:tde/chunking
Open

Add support for chunking#73
tdene wants to merge 3 commits into
fzyzcjy:masterfrom
tdene:tde/chunking

Conversation

@tdene

@tdene tdene commented Apr 3, 2026

Copy link
Copy Markdown

Offloading / onloading the whole tensor is wasteful.

This allows for offloading / onloading of specific chunks.

@fzyzcjy

fzyzcjy commented Apr 3, 2026

Copy link
Copy Markdown
Owner

Great job! Before digging deeper, may I know a bit of context e.g. where do you want to use it? I am thinking about, shall we use "let user provide num chunks per physical allocation" or "let user provide chunk size per physical allocation", given that some physical allocations may be huge while some are tiny.

@tdene

tdene commented Apr 8, 2026

Copy link
Copy Markdown
Author

Hey fzyzcjy, thanks a lot for the attention!

Sorry that it's taken me some time to get back to you, and that the original PR description is so sparse. I was pushing for a deadline, needed this functionality for the deadline, and wanted a barebones PR up for tracking purposes.

I 100% agree that chunk size is the better way to go about it. And I will share with you the PRs that I need this for, as well as more details, by end-of-week!

@fzyzcjy

fzyzcjy commented Apr 9, 2026

Copy link
Copy Markdown
Owner

Take your time and looking forward to it!

@fzyzcjy

fzyzcjy commented May 5, 2026

Copy link
Copy Markdown
Owner

@tdene gentle ping :)

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.

2 participants