mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 07:46:59 +00:00
bump chunk size to 95MB
This commit is contained in:
@@ -56,7 +56,8 @@ func uploadBlobChunked(ctx context.Context, mp ModelPath, requestURL *url.URL, l
|
||||
defer f.Close()
|
||||
|
||||
var completed int64
|
||||
chunkSize := 10 * 1024 * 1024
|
||||
// 95MB chunk size
|
||||
chunkSize := 95 * 1024 * 1024
|
||||
|
||||
for {
|
||||
chunk := int64(layer.Size) - completed
|
||||
|
||||
Reference in New Issue
Block a user