Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion s3/src/bucket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ use crate::utils::error_from_response_data;
use http::header::HeaderName;
use http::HeaderMap;

pub const CHUNK_SIZE: usize = 268_435_456; // 256 Mebibytes (8 wasn't enough), min is 5 (5_242_880);
pub const CHUNK_SIZE: usize = 16_777_216; // 16 Mebibytes (8 wasn't enough), min is 5 (5_242_880);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This block size is needed to support uploading 70B models since S3 protocol only allows a max of 10k blocks.


const DEFAULT_REQUEST_TIMEOUT: Option<Duration> = Some(Duration::from_secs(60));

Expand Down