Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

remove file size limit

Manan17a08b73e38573
diff --git a/studio/backend/routes/datasets.py b/studio/backend/routes/datasets.py
index e01375d310e..2357cd2c0ec 100644
--- a/studio/backend/routes/datasets.py
+++ b/studio/backend/routes/datasets.py
@@ -295,10 +295,6 @@ def upload_dataset(
if not file_bytes:
raise HTTPException(status_code=400, detail="Empty upload payload")
- max_size_bytes = 512 * 1024 * 1024
- if len(file_bytes) > max_size_bytes:
- raise HTTPException(status_code=413, detail="File too large (max 512MB)")
-
DATASET_UPLOAD_DIR.mkdir(parents=True, exist_ok=True)
stored_name = f"{uuid4().hex}_{filename}"
stored_path = DATASET_UPLOAD_DIR / stored_name