Manan17
780444c56b
fixing gguf export for gemma with text
2026-03-11 00:58:22 +00:00
Manan17
e097ae9d1a
fix: local directory dataset loading
2026-03-10 21:29:51 +00:00
Manan Shah
a2178dd141
Merge branch 'nightly' into feat/embedding-models
2026-03-10 14:16:05 -07:00
Manan17
1bede34409
fixing logging for each step
2026-03-10 20:32:40 +00:00
Roland Tannous
279afa5b0b
fix: skip streaming when dataset_slice_start > dataset_slice_end
...
Prevents training on the wrong row range when start exceeds end by
falling back to full download where existing clamping handles it.
2026-03-10 20:21:34 +00:00
Roland Tannous
905e5a460e
fix: guard against negative dataset_slice_end before streaming
...
Fall back to full download when dataset_slice_end is negative,
avoiding an empty stream.take(0) that would produce a broken dataset.
2026-03-10 20:12:42 +00:00
Roland Tannous
c0f0ad7baa
fix: stream HF dataset when manual slice is specified
...
Instead of downloading the full dataset and then slicing, use
streaming mode to only fetch the rows needed (up to slice_end + 1)
when a manual dataset slice is configured.
2026-03-10 19:50:53 +00:00
Roland Tannous
2520bca631
fix: preserve zero-valued dataset slice boundaries in embedding worker
...
Use explicit None checks instead of falsy `or` for slice_start and
slice_end so that a valid slice_end=0 is not replaced with the full
dataset length.
2026-03-10 19:33:10 +00:00
Roland Tannous
65e402e8db
fix: pass hf_token for gated embedding models and key cache by token
...
- Forward hf_token to FastSentenceTransformer.from_pretrained() so
private/gated embedding repos authenticate correctly
- Key _embedding_detection_cache by (model_name, hf_token) tuple so
unauthenticated lookups don't shadow subsequent authenticated ones
2026-03-10 19:20:12 +00:00
Roland Tannous
beca4aa49e
fix: propagate is_embedding into worker subprocess config
...
start_training() cherry-picks kwargs into a config dict but was missing
is_embedding, so config.get("is_embedding", False) in worker.py always
returned False and embedding training never ran.
2026-03-10 19:05:47 +00:00
Roland Tannous
c87fdf079c
feat: add embedding model training support
...
Add end-to-end embedding/sentence-transformer training pipeline using
FastSentenceTransformer, SentenceTransformerTrainer, and
MultipleNegativesRankingLoss with BatchSamplers.NO_DUPLICATES.
Backend:
- Add is_embedding_model() detection via HF tags + pipeline_tag
- Add /check-embedding/ API route and EmbeddingCheckResponse
- Extend derive_model_type() to return "embeddings"
- Add _run_embedding_training() in worker.py with progress callbacks,
stop handling, LoRA (task_type=FEATURE_EXTRACTION), and model saving
- Add is_embedding field to TrainingStartRequest and ModelDetails
- Add YAML configs for 5 models: all-MiniLM-L6-v2, bge-m3,
embeddinggemma-300m, gte-modernbert-base, Qwen3-Embedding-0.6B
Frontend:
- Wire isEmbeddingModel flag through store, API types, and mappers
- Force packing=false, train_on_completions=false, warmup_ratio=0.03
- Hide packing and train_on_completions checkboxes for embedding models
- Auto-set modelType to "embeddings" from backend model_type response
2026-03-10 18:10:09 +00:00
Roland Tannous
4ea0b3cf28
Merge pull request #352 from unslothai/fix/cancel-training
...
Fix/cancel training
2026-03-10 14:38:30 +04:00
Manan17
41bc28f076
distinguish cancel and stop for force terminate
2026-03-10 02:35:32 +00:00
Manan17
068e34bc1d
fixing cancel training
2026-03-10 02:20:56 +00:00
Roland Tannous
22eb0eea29
Revert "Merge pull request #347 from unslothai/feature/studio-storage-roots"
...
This reverts commit e9c7b97d23 , reversing
changes made to b75cc9b959 .
2026-03-10 01:52:47 +00:00
Shine1i
b08b606b21
feat(studio): studio storage roots path utilities
2026-03-09 23:48:31 +00:00
Roland Tannous
a0f03d3080
Add AGPL-3.0 SPDX headers to all source files
2026-03-09 20:17:45 +00:00
Roland Tannous
65d3539bac
Merge pull request #342 from unslothai/local-dataset
...
dataset upload
2026-03-09 21:22:23 +04:00
Roland Tannous
a8992279b6
fix: split dataset 80/20 when eval split matches train split
2026-03-09 16:36:44 +00:00
Roland Tannous
a7d78d16be
fix: restore eval_enabled early signal for subprocess training
2026-03-09 15:35:49 +00:00
Roland Tannous
d85176ba1a
fix: allow eval-only progress events through worker callback filter
2026-03-09 14:39:49 +00:00
Roland Tannous
07ba02d610
include all candidate files when scanning a directory, not just the first
2026-03-09 13:52:45 +00:00
Roland Tannous
dcedc4df56
merge nightly, resolve conflict in use-chat-model-runtime
2026-03-09 13:19:17 +00:00
Roland Tannous
f416b7aa3d
training: restore YAML fallback for trust_remote_code (no UI toggle)
2026-03-09 13:10:24 +00:00
Roland Tannous
83b1ff05ef
respect trust_remote_code toggle, return helpful error when required
2026-03-09 13:06:55 +00:00
Manan17
b430e23c0e
dataset upload
2026-03-09 05:50:18 +00:00
Shine1i
4aa171b079
feat(recipe-studio, datasets): improve dataset handling and update metadata logic
2026-03-09 02:47:32 +01:00
Shine1i
d951e5aef0
merge nightly
2026-03-09 00:32:33 +01:00
samit
6aa50d353f
exposed trust_remote_code through the UI
2026-03-08 16:28:56 -07:00
Roland Tannous
c38d24b01d
fix: replace is_dataset_multimodal with is_dataset_image/is_dataset_audio in training orchestrator
2026-03-08 19:40:00 +00:00
Roland Tannous
7db2c90cc6
merge nightly into audio branch (mock test)
2026-03-08 10:23:44 +00:00
Manan17
2ce36df03c
check fir gated repo
2026-03-07 21:32:50 +00:00
Roland Tannous
9543fa0d1c
fix: scope dataloader_num_workers=0 to Windows + transformers 5.x only
2026-03-07 17:55:59 +00:00
Roland Tannous
dcebfe718a
fix: prevent training hang on Windows by adding triton-windows support
2026-03-07 17:53:36 +00:00
Roland Tannous
c882a3d2f7
fix: propagate PYTHONPATH to child subprocesses, revert tokenizer patching
2026-03-07 11:28:24 +00:00
Roland Tannous
42bd976a2f
fix: patch TokenizersBackend by model name - Qwen3.5→Qwen2Tokenizer, GLM→PreTrainedTokenizer
2026-03-07 10:29:59 +00:00
Roland Tannous
44e9b838ae
fix: patch Qwen3.5 broken tokenizer_class TokenizersBackend across all backends
2026-03-07 09:43:25 +00:00
Roland Tannous
f101befca7
fix: bump transformers 5.x pin from 5.1.0 to 5.2.0 for Qwen3.5 support
2026-03-07 09:10:09 +00:00
Roland Tannous
2c4c598832
fix: fail fast if runtime pip install of transformers 5.x fails
2026-03-07 08:40:25 +00:00
Roland Tannous
082a6f876e
fix: join prior pump thread before starting new training job
2026-03-07 08:37:03 +00:00
Roland Tannous
7e59440029
fix: pin huggingface_hub==1.3.0 in .venv_t5 (satisfies transformers 5.x)
2026-03-06 06:19:28 +00:00
Roland Tannous
661ac4be96
feat: subprocess-based export, pin huggingface_hub==0.36.0
2026-03-06 06:03:09 +00:00
Roland Tannous
f90af41c5f
feat: subprocess-based training for transformers version switching
2026-03-05 15:40:32 +00:00
Shine1i
6fc829e3ef
merge: nightly into feature/data-reciper-enchansments
2026-03-05 14:51:08 +01:00
Shine1i
f988202290
refactor(studio): add local data-recipe dataset selection + training wiring
2026-03-05 12:25:51 +01:00
Manan17
5d1a162ddd
remove tracked OuteTTS embedded repo reference
2026-03-05 08:44:23 +00:00
Manan17
8203637d89
resolved merge conflicts
2026-03-05 07:59:43 +00:00
Manan17
2fa933640e
fix SNAC training crash on variable-length sequences with DataCollatorForSeq2Seq
2026-03-05 07:04:53 +00:00
Roland Tannous
f57664e268
Merge nightly into feature/transformers-v5-support
2026-03-05 06:49:44 +00:00
Roland Tannous
e04b9d53d6
feat: parallel URL image probe with time estimate and progress reporting
...
- Add 200-sample parallel probe using ThreadPoolExecutor + safe_num_proc
to estimate download speed and failure rate before full conversion
- Abort with clear error if >=30% of probe images fail to download
- Show estimated download time in the training overlay modal
- Parallel batch conversion for URL-based datasets (vs sequential for local)
- Add warning field to /check-format response for URL-based image datasets
- Display URL warning in dataset preview dialog (amber banner)
- Thread progress_callback from trainer through format_and_template_dataset
to convert_to_vlm_format for real-time status updates
2026-03-04 23:40:38 +00:00