Commit graph

479 commits

Author SHA1 Message Date
Roland Tannous
5416bdd4e6 added shutil import to main.py 2026-02-23 07:44:59 +00:00
Roland Tannous
f16a7f2d17 Merge nightly into feature/transformers-v5-support 2026-02-23 07:40:28 +00:00
Roland Tannous
bfb84221fe 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
dbbcdb4f09 feat: clear unsloth_compiled_cache on startup, shutdown, and between model loads 2026-02-23 07:26:22 +00:00
Roland Tannous
2a117f57a9 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
fb1c321ad3 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
Roland Tannous
3fe85d36cc Remove stale .venv_overlay on server startup to prevent transformers version conflicts 2026-02-23 05:08:27 +00:00
Roland Tannous
6995aaf077 Clean up stale .venv_overlay directory during setup 2026-02-22 20:30:00 +00:00
Roland Tannous
e3fb4f53df Patch adapter_config.json with unsloth_training_method and auto-detect load_in_4bit for LoRA inference 2026-02-22 20:27:52 +00:00
Roland Tannous
5de6246142 Purge own utils/core modules and use lazy imports so is_vision_model picks up fresh AutoConfig after version switch 2026-02-22 20:04:35 +00:00
Roland Tannous
c12d75c472 Add transformers version switch to model config and vision check endpoints for dropdown selection 2026-02-22 19:56:12 +00:00
Roland Tannous
60997a75eb Install transformers into both site-packages and overlay to fix sub-package resolution during version switch 2026-02-22 19:44:12 +00:00
Roland Tannous
7cde520176 Move transformers overlay to local .venv_overlay/, add huggingface-hub to overlay install 2026-02-22 19:34:46 +00:00
Roland Tannous
15cb9b0f37 Use sys.path overlay to switch transformers versions in-process instead of modifying site-packages 2026-02-22 19:19:12 +00:00
Roland Tannous
0050e78aa3 Fix in-memory transformers version detection and aggressive module purge for 5.1.0/4.57.1 switching 2026-02-22 19:08:18 +00:00
Roland Tannous
1c2653fcc2 aggressive reload_transformers 2026-02-22 18:52:06 +00:00
Roland Tannous
4d06258e93 Auto-switch transformers version (5.1.0/4.57.1) for Ministral-3, GLM-4.7-Flash, Qwen3-30B-A3B models with LoRA adapter resolution 2026-02-22 18:29:40 +00:00
Roland Tannous
bb1bd49a68 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
132cdb0547 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
7ac391d1e0 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
202b7cdfa7 fix: pass full Processor as processing_class for VLM SFTTrainer 2026-02-22 14:11:12 +00:00
Roland Tannous
a4346b954e 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
761953b50e feat(chat): persist model per thread and auto-load on thread switch 2026-02-22 13:35:45 +00:00
Roland Tannous
536a735acc feat(chat): eject current model and start fresh thread on model switch 2026-02-22 13:17:03 +00:00
Roland Tannous
a490dca8a0 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
d3fbaa2256 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
36f10ea90e 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
df8e4bdc40 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
75f3e5e2a1 feat: dual-query HF model search to surface all unsloth size variants first 2026-02-22 08:20:25 +00:00
imagineer99
4fe3772aa2 fix: remove download count fallback when model param count is unavailable 2026-02-22 06:30:50 +00:00
Wasim Yousef Said
4779ae8e61 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
Shine1i
c726cff4c8 feat: add utils for deep cloning content and attachments in thread messages 2026-02-22 07:08:18 +01:00
imagineer99
52a2bfe016 fix: resolve image preview thumbnail not rendering before send 2026-02-22 02:39:56 +00:00
imagineer99
c815fc045d feat: sort unsloth models first in HF search dropdowns 2026-02-22 01:45:51 +00:00
Roland Tannous
000da20237 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
9bc32789a6 renaming downloading model to loading model 2026-02-21 13:30:41 +00:00
Roland Tannous
44828f582f 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
ea324f2806 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
3a4a576128 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
Roland Tannous
9b3cab6d5f move microphone icon in compare page to be next to send button 2026-02-21 12:51:38 +00:00
samit
3fb9b4c056 added SpeechRecognition declarations and missing type packages 2026-02-21 01:00:08 -08:00
imagineer99
33b31c6be6 fix: enable navbar z-index by adding relative position 2026-02-21 08:37:47 +00:00
samit
f4a888cddb Added VRAM fit indicator to recoomended models 2026-02-20 23:55:10 -08:00
Roland Tannous
ea0964de75 Merge pull request #192 from unslothai/feature/model-download-status
Updated to edit loading as "downloading model"
2026-02-21 11:07:08 +04:00
samit
e7d32a6461 updated stop button to unavailable during cancel training 2026-02-20 22:45:41 -08:00
Roland Tannous
470d12cf46 Merge pull request #188 from unslothai/fix/gemma-3-chat
fixed the vlm's text only errors
2026-02-21 10:16:20 +04:00
samit
97f40bdc58 Added dictate and add attachments feature 2026-02-20 22:14:27 -08:00
Roland Tannous
c051e3d532 fix: load proper vision processor from base model when FastVisionModel returns raw tokenizer, add tokenize=False to vision chat template 2026-02-21 04:40:29 +00:00
Manan17
f6ebeb1d42 Mapping proper tokenizer for VLMs 2026-02-21 01:57:05 +00:00
samit
08c3c80d31 added vram fit indicator to models in chat 2026-02-20 17:25:03 -08:00