mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-11 08:17:03 +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()
|
defer f.Close()
|
||||||
|
|
||||||
var completed int64
|
var completed int64
|
||||||
chunkSize := 10 * 1024 * 1024
|
// 95MB chunk size
|
||||||
|
chunkSize := 95 * 1024 * 1024
|
||||||
|
|
||||||
for {
|
for {
|
||||||
chunk := int64(layer.Size) - completed
|
chunk := int64(layer.Size) - completed
|
||||||
|
|||||||
Reference in New Issue
Block a user