Fine-tuning file size guard rejects 60 GB despite documented 100 GB limit
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 13
- Forks
- 6
- Merge medio
- 2 d 12 h
- PR fusionados (30 d)
- 23
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de togethercomputer/together-py
-
Server Sent Events?Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
togethercomputer/together-py#651 ·
Los mantenedores suelen responder en 1 día
-
Eval CSV validation accepts duplicate headers and loses a column valuePosiblemente ocupada @raunakpandey1 la tomó hace 4 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
togethercomputer/together-py#700 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
togethercomputer/together-py#505 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
togethercomputer/together-py#454 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de togethercomputer/together-py
Issues similares
-
soup prune-prompt exits 1 after writing its output on a file over 100,000 rows, and reports a capped row count otherwisePosiblemente ocupada @abdulwaarith0 la tomó hoy. Abiertoneeds-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
MakazhanAlpamys/Soup#3690 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
bug data-types native-format
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
ClickHouse/clickhouse-connect#1320 ·
Los mantenedores suelen responder en 1 día
-
Public benchmark import end-to-end test fails when the test stack's worker runs the parity jobAbiertoaccepted
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
future-agi/future-agi#6392 ·
Los mantenedores suelen responder en 1 día