Skip to content

Commit 49692ce

Browse files
committed
Add resumable downloads for llama-server model loading
- Implement resumable downloads in common_download_file_single function - Add detection of partial download files (.downloadInProgress) - Check server support for HTTP Range requests via Accept-Ranges header - Implement HTTP Range request with "bytes=<start>-" header - Open files in append mode when resuming vs create mode for new downloads Signed-off-by: Eric Curtin <eric.curtin@docker.com>
1 parent 28c39da commit 49692ce

File tree

1 file changed

+265
-202
lines changed

1 file changed

+265
-202
lines changed

0 commit comments

Comments
 (0)