Commit graph

236 commits

Author SHA1 Message Date
Manan17
982a855df7 Setting default for the train on responses only 2026-02-19 02:59:48 +00:00
Manan17
56869c63bd Passing use_auth = True and also having different checks which is missed by the is_vision function 2026-02-19 02:55:46 +00:00
Roland Tannous
adc0c78dbc reduce dataset_num_proc to 1/4 of cpu_count 2026-02-18 20:53:32 +00:00
Roland Tannous
6aceaec323 Merge pull request #155 from unslothai/fix/sft-tokenizer-unwrap-for-vlm-text
fix: Unwrap ProcessorMixin to raw tokenizer for text-only SFTTrainer on VLM-architecture models
2026-02-18 23:19:57 +04:00
Roland Tannous
e33920974b fix: unwrap ProcessorMixin to raw tokenizer for text-only SFTTrainer on VLM-architecture models 2026-02-18 19:13:20 +00:00
Roland Tannous
a6e2fa5b3a Merge remote-tracking branch 'origin/nightly' into fix/dataset-mapping-vlm-text-datasets 2026-02-18 18:11:45 +04:00
Roland Tannous
940328ce1e Merge remote-tracking branch 'origin/nightly' into feature/colab-notebook 2026-02-18 17:41:07 +04:00
Roland Tannous
d57b2742ab renamed UNSLOTH_FLEX_ATTENTION to UNSLOTH_ENABLE_FLEX_ATTENTION 2026-02-18 09:21:53 +00:00
Roland Tannous
5a02ed4f0f Disable flex attention on Blackwell+ GPUs (sm_120+) at startup 2026-02-18 08:58:25 +00:00
Roland Tannous
d69431fa57 Scale dataset num_proc dynamically to cpu_count//3 instead of hardcap 8 2026-02-18 08:38:53 +00:00
Manan17
76cd1dc24c fixing the hangup of training after multiple back to back training processes 2026-02-18 08:18:13 +00:00
Manan17
c37bf686a6 Dividing the total cpu_count // 3 2026-02-18 07:59:57 +00:00
Roland Tannous
14edb08cf5 Merge pull request #148 from unslothai/fix/linear
linear fix
2026-02-18 11:10:16 +04:00
Manan17
58116e7e7a fix the linear path on backend 2026-02-18 07:08:32 +00:00
Roland Tannous
d2f7eaf085 Merge pull request #145 from unslothai/fix/check-format-sample
fix: stream HF datasets in check-format endpoint to avoid full d…
2026-02-18 10:49:17 +04:00
Roland Tannous
713d4a6ddb Merge pull request #146 from unslothai/feature/fix-cuda-fork-deadlock
fix: cap dataset.map() num_proc to 8 to prevent CUDA fork deadlocks
2026-02-18 10:47:46 +04:00
imagineer99
064cd56a21 feat: disable navbar navigation while training is active
Disable Export and Chat nav items (desktop + mobile) when
isTrainingRunning is true, keeping only Studio clickable.
2026-02-18 01:30:13 +00:00
Roland Tannous
d7853efd21 debug statements 2026-02-18 00:37:09 +00:00
Roland Tannous
0d8b67b706 fix: normalize target_modules [all-linear] list to string for Unsloth/PEFT compatibility 2026-02-18 00:32:21 +00:00
Manan17
42ee6178ae linear fix 2026-02-18 00:11:27 +00:00
Roland Tannous
d2332622d1 fix: defensively rename VLM chat column to match model's forward() signature 2026-02-17 23:49:13 +00:00
Roland Tannous
3d0d1c7020 fix: cap dataset.map() num_proc to 8 to prevent CUDA fork deadlocks 2026-02-17 23:12:45 +00:00
Roland Tannous
5864dece26 fix: fix: stream HF datasets in check-format endpoint to avoid full downloads; add info logging to model config endpoints 2026-02-17 22:53:29 +00:00
Roland Tannous
63196042ea Merge pull request #144 from unslothai/fix/remove-hardcoded-port-in-dataset-preview
fix: remove hardcoded port from dataset preview error message
2026-02-18 02:44:17 +04:00
imagineer99
e3fb46a4c6 fix: remove hardcoded port from dataset preview error message 2026-02-17 22:37:52 +00:00
Shine1i
dc0cec772d feat: enhance training stop and reset flow with detailed checks 2026-02-17 23:32:22 +01:00
Leo Borcherding
3e3c315b01 Merge nightly into feature/colab-notebook - resolved setup.sh conflicts 2026-02-17 15:51:14 -06:00
Wasim Yousef Said
765e1cfee2 Merge pull request #143 from unslothai/feature/local-models
feat: add schemas for local model discovery and listing
2026-02-17 13:10:04 -08:00
Shine1i
972cde7971 feat: add schemas for local model discovery and listing 2026-02-17 21:53:42 +01:00
Roland Tannous
f88f0bc047 Merge pull request #142 from unslothai/feature/wsl-gguf-sudo-fix
fix: skip sudo check on WSL during GGUF export to prevent password pr…
2026-02-18 00:46:15 +04:00
Wasim Yousef Said
43fac18d40 Merge pull request #141 from unslothai/feature/uxui-heuristics
style: improve layout consistency and responsiveness across components
2026-02-17 12:34:37 -08:00
Shine1i
68f0321404 style: improve layout consistency and responsiveness across components
- Adjusted padding, spacing, and grid configurations for better alignment and scaling across screen sizes.
- Enhanced mobile responsiveness by updating flex and grid layouts, ensuring optimal display on smaller devices.
- Tuned container dimensions and card styling to maintain design consistency.
2026-02-17 21:27:02 +01:00
Wasim Yousef Said
d9869dece1 Merge pull request #140 from unslothai/feature/uxui-heuristics
ux: improve training-to-chat flow, param defaults UX, and guided onboarding/export polish
2026-02-17 12:10:27 -08:00
Shine1i
9c353f7bc2 refactor: wrap splash screen content in a card for improved layout and consistency 2026-02-17 21:08:45 +01:00
Shine1i
08437def80 feat: add session-based storage for chat training comparison handoff
- Implemented a utility to manage `training-compare-handoff` data in `sessionStorage` with strict validation and expiration logic.
- Added methods to set, retrieve, and clear handoff data for improved chat training flow.
2026-02-17 20:43:08 +01:00
Shine1i
a0235025af fix chat compare handoff: auto-load trained lora, stop refresh loop, add debug logs 2026-02-17 20:42:43 +01:00
Roland Tannous
c9fdce63e7 fix: skip sudo check on WSL during GGUF export to prevent password prompt hang 2026-02-17 19:30:02 +00:00
Shine1i
ff458a36e9 feat: enhance training flow with new runtime hints, adjustable steps/epochs
- Added halfway/completed training hints with actionable links.
- Introduced sliders for adjusting max steps and epochs dynamically.
- Refined tooltip explanations for configuration parameters.
- Enabled custom overlay styling for `AlertDialogContent`.
2026-02-17 20:08:02 +01:00
Roland Tannous
39b072d2ee move requirements/ to studio/backend/ and update paths in setup.sh 2026-02-17 19:02:25 +00:00
Roland Tannous
c13e1594de Merge pull request #138 from unslothai/fix/reset-max-steps-epoch-defaults
Override Model Defaults for num_epochs and max_steps
2026-02-17 22:51:40 +04:00
Roland Tannous
299bc65e36 chore: override model defaults to use max_steps=30, save_steps=30, num_epochs=0 for testing 2026-02-17 18:46:23 +00:00
Wasim Yousef Said
7874fa9066 Merge pull request #137 from unslothai/feature/chart-fixes
rafactor: fix training charts: sticky full-window follow latest + grad line render + stopped metric fallback
2026-02-17 10:41:01 -08:00
Shine1i
4e2b567c29 refactor: simplify chart view logic by removing pan controls and enhancing window size handling 2026-02-17 19:32:32 +01:00
Shine1i
2d90210a69 feat: add reusable chart components for training metrics visualization
- Introduced `EvalLossChartCard`, `GradNormChartCard`, `LearningRateChartCard`, and `TrainingLossChartCard` components.
- Implemented shared chart settings via `SharedChartSettings` to manage scale, outliers, and view configuration.
- Added utilities for metrics formatting, step tick generation, data compression, and smoothing (`utils.ts`).
- Created types and structures for chart data handling (`types.ts`).
2026-02-17 19:10:24 +01:00
Roland Tannous
b8171a86ac Merge branch 'nightly' into integrate/exports-page 2026-02-17 22:09:36 +04:00
Roland Tannous
e818d97f24 Merge pull request #136 from unslothai/setup/update-setup-sh-dependencies
setup.sh: Replace inline pip installs with pinned requirements files
2026-02-17 22:04:03 +04:00
Shine1i
0be3e6f525 feat: integrate gradient norm tracking in training runtime and metrics
- Enhanced chart logic to filter and visualize finite gradient norm values.
2026-02-17 18:26:59 +01:00
Shine1i
7203766fac refactor: streamline vision model detection and improve state persistence logic
- Removed redundant vision-check controllers.
- Added `NON_PERSISTED_STATE_KEYS` to manage persisted training state.
- Introduced `partializePersistedState` for cleaner state filtering.
2026-02-17 18:01:45 +01:00
Shine1i
3badf6649c feat: add default model configuration mapping and auto-apply logic
- Implemented backend model configuration mapping to training state.
- Added auto-apply logic for default configurations when models are selected.
- Introduced utilities for type conversion and validation within training configuration.
2026-02-17 17:58:36 +01:00
Roland Tannous
e803e13d3e add full dependency chain for unsloth + unsloth-extras 2026-02-17 14:21:18 +00:00