Fine-tuning file size guard rejects 60 GB despite documented 100 GB limit
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
Start with together.lib.utils.check_file and trace the shared size guard through UploadManager, MultipartUploadManager, and their async variants. Run the supplied boundary reproduction, then compare how fine-tune, eval, and batch-api purposes use the guard. Done means the intended byte limit and affected purposes are confirmed and the boundary behavior is covered consistently.
索引モデルが issue の本文から書いたものです。
説明
The fine-tuning data preparation docs advertise 100 GB for JSONL/Parquet and show check_file() followed by files.upload(..., purpose="fine-tune", check=True). Current Python SDK 2.35.0 at b0c7f91e283a4b674c82be7558e69ddcadc46487 rejects files above 50.1 * 2**30 bytes (about 53.79 decimal GB).
Originally reported by Vinish Reddy Pannala in Fine-Tuning Open Models From Lakehouse Tables, published July 28, 2026, modified August 12. The original SDK version was not stated.
CPU reproduction against the unmodified installed SDK, using a real 3,700-byte, 100-row JSONL and changing only its reported os.stat().st_size:
import os
import tempfile
from pathlib import Path
from unittest.mock import patch
from together.lib.utils import check_file
real_stat = os.stat
with tempfile.TemporaryDirectory() as directory:
file = Path(directory) / "tiny.jsonl"
file.write_text('{"text": "local validation fixture"}\n' * 100)
for size in (3700, 53_794_465_382, 53_794_465_383, 60_000_000_000):
def controlled_stat(path, *args, **kwargs):
result = real_stat(path, *args, **kwargs)
if isinstance(path, str) and path == file.as_posix():
fields = list(result)
fields[6] = size
return os.stat_result(fields)
return result
with patch("os.stat", side_effect=controlled_stat):
report = check_file(file, purpose="fine-tune")
print(size, report["is_check_passed"])
Output: True, True, False, False. Rejection happens before format parsing. The same threshold is enforced by UploadManager, MultipartUploadManager and both async variants; check=False does not bypass it. I also checked those paths and the public sync/async upload methods with an HTTP transport that aborts at the first request. No real large file, hosted upload, backend acceptance, inference or training was tested.
Could you confirm the intended fine-tuning maximum in bytes and whether this shared guard should also change for eval/batch-api? The SDK uses binary units labeled GB, while the docs do not define that conversion. This concerns the threshold, separately from the Parquet fallthrough fixed in #558 and CLI coverage in #572. I have left the limit unchanged pending clarification.
- 主要言語
- Python
- スター
- 13
- フォーク
- 6
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 23
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
togethercomputer/together-py のほかの issue
-
Server Sent Events?オープン
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
togethercomputer/together-py#651 ·
メンテナーはふだん 1 日以内に返信
-
Eval CSV validation accepts duplicate headers and loses a column value対応中かも @raunakpandey1 が 4 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
togethercomputer/together-py#700 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
togethercomputer/together-py#505 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
togethercomputer/together-py#454 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
togethercomputer/together-py の issue をすべて見る
似ている issue
-
soup prune-prompt exits 1 after writing its output on a file over 100,000 rows, and reports a capped row count otherwise対応中かも @abdulwaarith0 が今日担当しました。 オープンneeds-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
MakazhanAlpamys/Soup#3690 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
bug data-types native-format
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
ClickHouse/clickhouse-connect#1320 ·
メンテナーはふだん 1 日以内に返信
-
accepted
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
future-agi/future-agi#6392 ·
メンテナーはふだん 1 日以内に返信