Skip to content

Commit 6b685e2

Browse files
committed
feat: Increase file size limit from 25GB to 50.1GB
1 parent 1c106f7 commit 6b685e2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/together/constants.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020

2121
# Multipart upload constants
2222
MIN_PART_SIZE_MB = 5 # Minimum part size (S3 requirement)
23-
TARGET_PART_SIZE_MB = 100 # Target part size for optimal performance
24-
MAX_MULTIPART_PARTS = 250 # Maximum parts per upload (S3 limit)
23+
TARGET_PART_SIZE_MB = 250 # Target part size for large files
24+
MAX_MULTIPART_PARTS = 250 # Maximum parts per upload
2525
MULTIPART_UPLOAD_TIMEOUT = 300 # Timeout in seconds for uploading each part
2626
MULTIPART_THRESHOLD_GB = 5.0 # threshold for switching to multipart upload
2727

2828
# maximum number of GB sized files we support finetuning for
29-
MAX_FILE_SIZE_GB = 25.0
29+
MAX_FILE_SIZE_GB = 50.1
3030

3131

3232
# Messages

0 commit comments

Comments
 (0)