Commit graph

622 commits

Author SHA1 Message Date
Roland Tannous
efaa0bacfb Merge branch 'nightly' into feat/gguf-llama-cpp-inference 2026-02-25 16:06:03 +04:00
Roland Tannous
52738383f9 Remove UNSLOTH_ENABLE_LOGGING from export pipeline 2026-02-25 16:00:24 +04:00
Roland Tannous
5c3a01899c Filter GGUF models from training page model selectors
GGUF models can't be fine-tuned, so hide them from the training/studio
page while keeping them available for inference on the chat page.

- Add "gguf" to EXCLUDED_TAGS in HF model search hook
- Filter local models with .gguf extension or -GGUF in ID
2026-02-25 15:47:45 +04:00
Roland Tannous
b0533503f2 added vision.py patch for vision processor from PR#260 2026-02-25 11:39:17 +00:00
Roland Tannous
b1f918a75e Merge pull request #249 from unslothai/fix/section-card-corner-bleed
Fix: Clip section card overflow to prevent background bleed
2026-02-25 15:27:46 +04:00
Roland Tannous
4809b8283a Merge pull request #259 from unslothai/feat/dataset-subsets-split
Feat/dataset subsets split
2026-02-25 15:27:12 +04:00
Roland Tannous
e52010635b Merge pull request #246 from unslothai/fix/dataset-custom-mapping-heuristic
adding custom mapping according to the chat templates
2026-02-25 15:26:36 +04:00
Roland Tannous
71a1a347b0 Merge pull request #260 from unslothai/fix/fix-vision-processor-unsloth-bug
fix: correct vision.py patch path to unsloth/models/vision.py + add V…
2026-02-25 15:21:01 +04:00
Shine1i
94655ad61e style(studio): align card heights and restore dataset advanced section placement 2026-02-25 12:11:06 +01:00
Roland Tannous
f47257dd15 fix: correct vision.py patch path to unsloth/models/vision.py + add VLM processor diagnostic 2026-02-25 11:06:22 +00:00
Roland Tannous
d9434fee4a fix: use raw github URL for vision.py patch + add VLM processor diagnostic logging 2026-02-25 10:29:05 +00:00
Shine1i
84ac1fc3be chore: add tour label next to navbar tour icon 2026-02-25 11:23:43 +01:00
Manan17
5ce88f9aa1 fixing the chatml None error 2026-02-25 10:23:13 +00:00
Shine1i
e52e8a6d51 fix recipe output path, remove tracked root datasets 2026-02-25 11:19:10 +01:00
Wasim Yousef Said
cdfb790ab7 Merge pull request #257 from unslothai/feature/chat-model-switch-warning
feat: chat model switching toast and add image detection logic
2026-02-25 01:58:56 -08:00
Shine1i
de65eafbb8 feat: chat model switching toast and add image detection logic 2026-02-25 10:55:53 +01:00
Wasim Yousef Said
d82f03a5d0 Merge pull request #254 from unslothai/feature/theme-fix
feat: fix markdown rendering, UI adjustments
2026-02-25 00:48:09 -08:00
Shine1i
2226efcd62 feat: fix markdown rendering, UI adjustments 2026-02-25 09:46:13 +01:00
Wasim Yousef Said
90df7bc897 Merge pull request #253 from unslothai/feature/theme-fix
feat: fix dark mode support and refine UI assets
2026-02-25 00:27:43 -08:00
Shine1i
f285d7e260 feat: fix dark mode support and refine UI assets 2026-02-25 09:23:05 +01:00
Manan17
202dd082b7 My changes for dataset 2026-02-25 08:15:44 +00:00
Manan17
611febd2e3 adding custom mapping according to the chat templates 2026-02-25 07:56:30 +00:00
imagineer99
f166b65cd9 fix: clip section card overflow to prevent background bleed at rounded corners 2026-02-25 03:54:40 +00:00
Roland Tannous
b442bf1f84 Merge pull request #247 from unslothai/fix/path-traversal-vuln
Fix Content-Length crash and path traversal vulnerability in frontend serving
2026-02-25 05:16:00 +04:00
Roland Tannous
2e06a00934 fix: replace FileResponse with Response for index.html to prevent Content-Length mismatch and add path traversal guard 2026-02-25 01:05:04 +00:00
Roland Tannous
0ccf07a03b Merge pull request #30 from unslothai/feature/canvas-lab
Draft: Data Recipes graph editor WIP
2026-02-25 04:01:53 +04:00
Shine1i
18cdd831cd chore: squircle! tooltip 2026-02-25 00:55:35 +01:00
Shine1i
bbb81a89e0 feat: update icons and enhance dark mode styling for navbar and recipes
- Replaced `CookBookIcon` with `ChefHatIcon` in navbar for improved clarity.
- Added dark mode-specific gradient styles to recipe cards for better visual differentiation.
2026-02-25 00:39:49 +01:00
Shine1i
79ddc863f0 feat: improve dark mode styling and simplify navbar 2026-02-25 00:31:20 +01:00
Roland Tannous
9e280eb105 Fix GGUF export cwd confusion: remove os.chdir, use absolute paths
Remove os.chdir(save_directory) from export.py which was causing all of
unsloth-zoo's relative-path internals (check_llama_cpp, use_local_gguf,
_download_convert_hf_to_gguf) to resolve against the export directory
instead of the repo root. This caused llama.cpp to be cloned inside each
export dir and destroyed the repo root's llama-server build on cleanup.

Now passes absolute paths to save_pretrained_gguf so unsloth resolves
llama.cpp from the repo root where setup.sh already built it.

Also builds llama-quantize in setup.sh (needed by unsloth-zoo's export
pipeline) and symlinks it to llama.cpp root for check_llama_cpp().
2026-02-25 03:30:54 +04:00
Shine1i
e70bb621ec Merge branch 'feature/canvas-lab' of https://github.com/unslothai/new-ui-prototype into feature/canvas-lab
# Conflicts:
#	studio/frontend/bun.lock
2026-02-25 00:19:19 +01:00
Shine1i
5a87ee40aa feat: add animated theme toggler and refine dark mode styling 2026-02-25 00:18:20 +01:00
Manan17
07cf1110ce adding custom mapping according to the chat templates 2026-02-24 21:15:56 +00:00
Roland Tannous
2ebeba8588 Switch GGUF backend from /v1/completions to /v1/chat/completions
Fixes two bugs:
1. Chat template tags (<|im_start|>, <|im_end|>) leaking into output
   because /v1/completions treated them as literal text
2. Image hallucination because image_b64 was never passed to llama-server

Now llama-server handles chat templates natively and receives images
as OpenAI-format multimodal content parts for vision models.
2026-02-24 19:21:01 +04:00
Roland Tannous
3ee4f1359a Use llama-server -hf mode, add GGUF variant selector, fix vision detection
Replace Python-side GGUF download with llama-server's native -hf flag for
HuggingFace repos. Add frontend variant picker so users can choose
quantization (Q4_K_M, Q8_0, BF16, etc.) with file sizes. Fix vision
detection via mmproj files instead of hardcoding is_vision=False.
2026-02-24 19:03:06 +04:00
Roland Tannous
5b7555cd3f Fix llama-server: build in-tree, fix path resolution, add LD_LIBRARY_PATH 2026-02-24 18:19:29 +04:00
Roland Tannous
4a82e704aa Preflight llama-server check before downloading remote GGUF files 2026-02-24 18:02:43 +04:00
Roland Tannous
c635d4f49c Fix GGUF detection for HuggingFace repo IDs (not just local paths) 2026-02-24 17:49:09 +04:00
Roland Tannous
eb6e9f7412 Fix CUDA detection for llama-server build on multi-GPU machines 2026-02-24 17:45:17 +04:00
Roland Tannous
2f985ccbb5 Add GGUF model inference via llama-server backend 2026-02-24 17:40:05 +04:00
Roland Tannous
a09823c2eb Merge branch 'nightly' into feature/canvas-lab 2026-02-24 10:08:13 +00: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
c14becb658 Merge remote-tracking branch 'origin/nightly' into feature/canvas-lab
# Conflicts:
#	studio/frontend/bun.lock
#	studio/frontend/package.json
2026-02-24 09:02:54 +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