We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb3e5d8 commit 9b976a4Copy full SHA for 9b976a4
1 file changed
src/together/constants.py
@@ -20,13 +20,17 @@
20
21
# Multipart upload constants
22
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)
+TARGET_PART_SIZE_MB = (
+ 250 # Target part size for optimal performance (increased for 50GB+ files)
25
+)
26
+MAX_MULTIPART_PARTS = (
27
+ 250 # Maximum parts per upload (conservative limit, S3 allows 10k)
28
29
MULTIPART_UPLOAD_TIMEOUT = 300 # Timeout in seconds for uploading each part
30
MULTIPART_THRESHOLD_GB = 5.0 # threshold for switching to multipart upload
31
32
# maximum number of GB sized files we support finetuning for
-MAX_FILE_SIZE_GB = 25.0
33
+MAX_FILE_SIZE_GB = 50.1
34
35
36
# Messages
0 commit comments