Commit graph

114 commits

Author SHA1 Message Date
Roland Tannous
8d65d66b90 Merge pull request #28 from unslothai/refactor/centralize-device-selection-and-gpu-cache
[MLX] - Centralize Device Selection & GPU Cache Management
2026-02-11 20:59:23 +04:00
Roland Tannous
a6ee9ee957 use get_device() for device selection and clear_gpu_cache() for GPU memory cleanup in inference, trainer, and export 2026-02-11 16:56:52 +00:00
Roland Tannous
d4cbddc638 Merge pull request #27 from unslothai/feature/implement-silicon-utils-compatibility
[MLX] Add Hardware Detection Module & Apple Silicon (MLX) Compatibility
2026-02-11 20:21:08 +04:00
Roland Tannous
8395652f59 added @needs_torch to test_cuda_oom 2026-02-11 16:12:37 +00:00
Roland Tannous
b618ea1f9f add @needs_mlx decorator on tests 2026-02-11 16:10:22 +00:00
Roland Tannous
e31d4a3c40 replace torch MPS with MLX 2026-02-11 16:04:35 +00:00
Roland Tannous
be02fac439 reset DEVICE type on fastapi lifespan exit 2026-02-11 15:58:13 +00:00
Roland Tannous
349f18779c fixed tests to be hardware specific 2026-02-11 15:40:00 +00:00
Roland Tannous
220bcb011e fixed tests to be hardware specific 2026-02-11 15:37:34 +00:00
Roland Tannous
a579a3d4ea integrate global hardware detection at lifespan entrypoint 2026-02-11 15:34:26 +00:00
Roland Tannous
432c99ee7a feat: add Apple Silicon (MPS) compatibility to backend utils + tests 2026-02-11 14:00:39 +00:00
Wasim Yousef Said
9bc2f219f9 Merge pull request #23 from unslothai/feature/auth-ui
auth setup for the client and auth guard checks
2026-02-11 05:05:07 -08:00
shine1i
2a2ff35f76 drop docs file 2026-02-11 14:03:45 +01:00
shine1i
1bf7f49178 feat: auth guard on routes 2026-02-11 14:01:30 +01:00
Roland Tannous
524007caa1 Merge pull request #26 from unslothai/fix/fix-existing-routes-models
Fix: Move Inline Pydantic Models & Add Response Models for Routes
2026-02-11 16:42:25 +04:00
shine1i
df252be49c feat: new auth and refresh token on unauthorized 2026-02-11 13:40:33 +01:00
Roland Tannous
5ae20f6099 move inline pydantic models - fix existing models routes integration 2026-02-11 12:39:58 +00:00
Roland Tannous
4be4fcd5ed Merge pull request #25 from unslothai/feature/remove-unsloth-compiled-cache-lifespan-exit
Remove `unsloth_compiled_cache` on FastAPI Lifespan Exit
2026-02-11 16:31:57 +04:00
Roland Tannous
8d68625ce3 remove unsloth_compiled_cache folder on fastapi lifespan exit 2026-02-11 12:30:05 +00:00
shine1i
a9587e0a53 Merge remote-tracking branch 'origin/nightly' into feature/auth-ui 2026-02-11 13:29:11 +01:00
Roland Tannous
1f8ae108bb chore: untrack auth.db (already in .gitignore) 2026-02-11 12:21:54 +00:00
Roland Tannous
6a40dc3ad9 Merge pull request #24 from unslothai/feature/refactor-authentication-mechanism
Feature/refactor authentication mechanism
2026-02-11 16:13:44 +04:00
Roland Tannous
528d2e27f0 authentication refactor - added setup token and token refresh mechanism 2026-02-11 12:09:47 +00:00
shine1i
479c1b466d auth ui flow 2026-02-07 16:14:02 +01:00
Roland Tannous
2021bfd6d0 Merge pull request #22 from unslothai/feature/auth
Added jwt authentication
2026-02-07 14:27:35 +04:00
sshah229
6e5cd50c34 fixed the errors- renamed jwt to authentication, used raw jwt, and removed search route 2026-02-07 03:14:30 -07:00
sshah229
be995392ce Merge branch 'feature/auth' of https://github.com/unslothai/new-ui-prototype into feature/auth 2026-02-06 03:19:22 -07:00
sshah229
f9f5dd4dcb refactored the code for username/password and added pydantic models and routes for the same 2026-02-06 03:15:30 -07:00
sshah229
fc673227b7 Refactored the training and model routes and added the jwt authentication 2026-02-06 03:15:30 -07:00
sshah229
1d69afc643 refactored the code for username/password and added pydantic models and routes for the same 2026-02-06 02:56:54 -07:00
sshah229
d9057e4aaa Refactored the training and model routes and added the jwt authentication 2026-02-04 05:49:29 -07:00
Wasim Yousef Said
a2704904b9 Merge pull request #21 from unslothai/feature/cleanup
biome fixes, and linter fixes for some issues, and some readibility changes
2026-02-04 04:33:06 -08:00
shine1i
3e8cb93ac3 cleanup 2026-02-04 13:28:39 +01:00
Roland Tannous
dc2a544eb3 Merge pull request #20 from unslothai/feature/datasets-endpoint
Add Datasets Check-Format Endpoint
2026-02-04 00:45:31 +04:00
Roland Tannous
996b16f9ee Add datasets check-format endpoint 2026-02-03 20:42:25 +00:00
Roland Tannous
645e229678 Merge pull request #19 from unslothai/fix/dataset-utils-custom-mapping
fix custom_format_mapping flow for manual column mapping
2026-02-03 22:43:06 +04:00
Roland Tannous
4d89dd302c fix custom_format_mapping flow for manual column mapping 2026-02-03 18:42:07 +00:00
Roland Tannous
b80cdd9465 Merge pull request #18 from unslothai/refactor/add-dataset-detection-status-flag
Add `requires_manual_mapping` Flag for Dataset Detection
2026-02-03 22:22:50 +04:00
Roland Tannous
fa3724b82c Add Flag for Dataset Detection 2026-02-03 18:21:05 +00:00
Roland Tannous
bd0a00df14 Merge pull request #17 from unslothai/fix/refactor-dataset-utils-part2
Fix/refactor dataset utils part2
2026-02-03 22:04:03 +04:00
Roland Tannous
842b2b3186 remove duplicates from dataset_utils.py 2026-02-03 18:03:01 +00:00
Roland Tannous
f453330f7b Merge pull request #16 from unslothai/refactor/inference-api-routes-part-1
refactor/inference-api-routes-part-1
2026-02-03 21:00:18 +04:00
Roland Tannous
c17ba10f96 refactor/inference-api-routes-part-1 2026-02-03 16:57:57 +00:00
Roland Tannous
dcc5322036 Merge pull request #15 from unslothai/enhance/refactor-dataset-utils
Refactor `dataset_utils.py` into focused modules
2026-02-03 18:40:53 +04:00
Roland Tannous
47ead076cf Refactor [dataset_utils.py](cci:7://file:///home/support/new-ui-prototype/studio/backend/utils/datasets/dataset_utils.py:0:0-0:0) into focused modules 2026-02-03 14:38:02 +00:00
Roland Tannous
1b3a253ac6 Merge pull request #14 from unslothai/feature/pydantic-models-update
Feature/pydantic models update
2026-02-03 14:47:12 +04:00
Roland Tannous
5b07c51eb8 add grad_norm and num_tokens to TrainingProgress response object 2026-02-03 10:35:58 +00:00
Roland Tannous
a440112294 delete tmp directory 2026-02-02 20:02:18 +00:00
Roland Tannous
00fa9e273e update pydantic models for Models and Training routes 2026-02-02 20:00:23 +00:00
Roland Tannous
d7d3a5a9a5 update pydantic models for Models and Training routes 2026-02-02 20:00:04 +00:00