Commit graph

490 commits

Author SHA1 Message Date
Leo Borcherding
babc88fbee fix(attachment): replace never exhaustive check to fix Colab TS2322 build error
`attachment.type` resolves to `string & {}` via @assistant-ui/store@0.1.6's
generic type chain when installed through npm (package-lock.json), breaking
the `const _exhaustiveCheck: never = type` exhaustive check pattern.

Replace with a direct throw that compiles cleanly across library versions
while preserving identical runtime behaviour.

Fixes #263

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 17:56:02 -06:00
Roland Tannous
2513d1b623 Merge pull request #218 from unslothai/fix/stop-startup-modal
Added cancel training button on the overlay
2026-02-24 14:03:25 +04:00
Roland Tannous
f8486672f6 Merge pull request #241 from unslothai/feature/adding-exported-models-for-chat
Adding exported model for chat
2026-02-24 13:55:45 +04:00
Roland Tannous
6677e4fcc2 fix(chat): strip /suffix from lora display name and show type tag instead of base model 2026-02-24 09:54:34 +00:00
Roland Tannous
a661784d41 Merge pull request #232 from unslothai/fix/disable-eval-by-default
# fix/disable eval by default
2026-02-24 13:35:11 +04:00
Roland Tannous
e64bf905e1 use explicit float bounds for eval_steps input (0.0–1.0) 2026-02-24 09:31:30 +00:00
Roland Tannous
a15082acfe skip eval split and HF split detection when eval_steps is disabled 2026-02-24 09:26:54 +00:00
imagineer99
6765b26d73 feat: move cancel training button inside terminal startup card 2026-02-24 09:05:02 +00:00
Roland Tannous
c16b99cb13 Merge pull request #231 from unslothai/feat/custom-YAML-saving
Feat: Add Upload / Save / Reset training config from local YAML
2026-02-24 12:43:42 +04:00
imagineer99
53f7f4f158 feat: improve training config UX and remove unused logging options 2026-02-24 08:22:02 +00:00
Manan17
6fa6b0bf28 Fixing base model export issue for vlms 2026-02-24 01:34:11 +00:00
Manan17
1071c137f4 Adding exported model for chat 2026-02-24 01:17:09 +00:00
Leo Borcherding
86388a0242 fix: disable eval by default, set eval_steps to 0.0
- Changed default eval_steps from 0.01 to 0.0 across backend and frontend
- Fixed UI to allow eval_steps=0 (removed min=0.001 constraint)
- Added conditional eval logic with helpful console messages
- Updated tooltip to explain how to disable evaluation
- Tested: confirmed eval disabled by default with eval_steps=0.0
2026-02-23 13:07:47 -06:00
imagineer99
52cd860008 feat: add Upload / Save / Reset training config from local YAML 2026-02-23 18:55:08 +00:00
Roland Tannous
de1303f10c Merge pull request #228 from unslothai/fix/cap-num-proc-multigpu-deadlock
Cap dataset.map num_proc on multi-GPU machines to prevent fork deadlocks
2026-02-23 19:04:22 +04:00
Roland Tannous
834013aae5 Cap dataset.map num_proc on multi-GPU machines to prevent fork deadlocks 2026-02-23 14:25:31 +00:00
Roland Tannous
55c5e5352e Remove firebase-debug.log and setup_leo.sh from tracking and add to .gitignore 2026-02-23 17:38:22 +04:00
Roland Tannous
8c17cc803e Merge pull request #225 from unslothai/fix/fix-response-on-completion-truncation
fix: error on >30% sample drop after `train_on_responses_only` instead of silent DataLoader crash
2026-02-23 16:28:32 +04:00
Roland Tannous
d94f842158 fix: error on >30% sample drop after train_on_responses_only instead of silent DataLoader crash 2026-02-23 12:21:06 +00:00
Roland Tannous
aa9874b0f5 Merge nightly into main Brings main up to date with nightly, including chat attachments, model-per-thread persistence, speech recognition, VRAM recommendations, MoE model configs, VLM fixes, and compile cache cleanup. Conflicts resolved by taking nightly's version for all diverged files (main-only changes were a feature add + immediate revert with net zero effect). 2026-02-23 14:52:57 +04:00
Roland Tannous
47879e0cbc Merge pull request #221 from unslothai/feature/clear-unsloth-compile-cache
feat: clear unsloth_compiled_cache on startup, shutdown, and between …
2026-02-23 11:30:46 +04:00
Roland Tannous
198433363a feat: clear unsloth_compiled_cache on startup, shutdown, and between model loads 2026-02-23 07:26:22 +00:00
Roland Tannous
072477b0bf Merge pull request #220 from unslothai/feature/moe-training-models-configs
Add model defaults for MoE models (Qwen3 MoE, GLM Flash) and GLM response mapping
2026-02-23 10:09:27 +04:00
Roland Tannous
62c260a109 Add GLM, Qwen3 MoE, TinyQwen3 MoE, and Ministral 3 VL model defaults and GLM train_on_responses_only mapping 2026-02-23 05:51:43 +00:00
samit
281a06729e added cancel training button on the overlay 2026-02-22 12:03:26 -08:00
Roland Tannous
709feff22c Merge pull request #217 from unslothai/fix/update-config-yamls
Fix vision LoRA defaults for VLMs and clean up text-only model configs
2026-02-22 19:14:54 +04:00
Roland Tannous
e866159e3b fix: correct vision LoRA defaults for VLMs and remove vision fields from text-only model configs 2026-02-22 15:09:10 +00:00
Roland Tannous
73297ad242 Merge pull request #215 from unslothai/fix/vlm-processing-class
fix: pass full Processor as processing_class for VLM SFTTrainer
2026-02-22 18:14:14 +04:00
Roland Tannous
e666442b6e fix: pass full Processor as processing_class for VLM SFTTrainer 2026-02-22 14:11:12 +00:00
Roland Tannous
b1071f4305 Merge pull request #213 from unslothai/fix/fix-clear-chat-new-model
Fix: Clear Chat and Manage Model Lifecycle on Model Switch
2026-02-22 17:54:27 +04:00
Roland Tannous
95c5c679bc feat(chat): persist model per thread and auto-load on thread switch 2026-02-22 13:35:45 +00:00
Roland Tannous
ef8cbdde93 feat(chat): eject current model and start fresh thread on model switch 2026-02-22 13:17:03 +00:00
Roland Tannous
1fa64ed2b9 Merge pull request #211 from unslothai/fix/param-count-display
Fix: Remove download count fallback when model param count is unavailable
2026-02-22 16:52:25 +04:00
Roland Tannous
cccf7d2558 Merge pull request #204 from unslothai/fix/image-preview-thumbnail
Fix: Resolve image preview thumbnail not rendering before send
2026-02-22 16:09:24 +04:00
Roland Tannous
0caab5846a Merge pull request #212 from unslothai/fix/stop-unclickable
Updated stop button to be unavailable during cancel training
2026-02-22 16:08:47 +04:00
Roland Tannous
ed4b933aa1 Merge pull request #208 from unslothai/revert-207-feature/attachment-restore
Revert "fix(chat): persist + hydrate user attachments in IndexedDB history"
2026-02-22 12:22:25 +04:00
Roland Tannous
94b4d8b4b3 Merge pull request #203 from unslothai/feat/sort-unsloth-models-first
Feat: Sort unsloth models first in HF search dropdowns
2026-02-22 12:21:42 +04:00
Roland Tannous
03f4337e48 feat: dual-query HF model search to surface all unsloth size variants first 2026-02-22 08:20:25 +00:00
imagineer99
27db6b287d fix: remove download count fallback when model param count is unavailable 2026-02-22 06:30:50 +00:00
Wasim Yousef Said
526dbf625e Merge pull request #209 from unslothai/feature/attachment-restore
fix(chat): persist + hydrate user attachments in IndexedDB history
2026-02-21 22:17:18 -08:00
Roland Tannous
ff68a01f61 Revert "fix(chat): persist + hydrate user attachments in IndexedDB history" 2026-02-22 10:15:24 +04:00
Wasim Yousef Said
bae0d2e67b Merge pull request #207 from unslothai/feature/attachment-restore
fix(chat): persist + hydrate user attachments in IndexedDB history
2026-02-21 22:09:53 -08:00
Shine1i
5535e5783d feat: add utils for deep cloning content and attachments in thread messages 2026-02-22 07:08:18 +01:00
imagineer99
ac399b152d fix: resolve image preview thumbnail not rendering before send 2026-02-22 02:39:56 +00:00
imagineer99
5bdec309e6 feat: sort unsloth models first in HF search dropdowns 2026-02-22 01:45:51 +00:00
Roland Tannous
88266fd973 Merge pull request #202 from unslothai/fix/rename-downloading-model-to-loading-model
renaming downloading model to loading model
2026-02-21 17:32:32 +04:00
Roland Tannous
73fe288e35 renaming downloading model to loading model 2026-02-21 13:30:41 +00:00
Roland Tannous
7d1d816177 Merge pull request #200 from unslothai/fix/sloth-z-index-overlay
fix: enable navbar z-index by adding relative position
2026-02-21 17:15:05 +04:00
Roland Tannous
8469605b72 Merge pull request #193 from unslothai/feature/vram-fit-chat
Added vram fit indicator to models in chat
2026-02-21 17:09:31 +04:00
Roland Tannous
d170398697 Merge pull request #196 from unslothai/fix/compare-dictate-attachment-buttons
Added dictate and add attachments feature in chat page
2026-02-21 16:52:56 +04:00