bump chunk size to 95MB

This commit is contained in:
Michael Yang 2023-08-25 15:38:39 -07:00
parent d3b838ce60
commit 72266c7684

View file

@ -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