Commit graph

129 commits

Author SHA1 Message Date
Roland Tannous
2df07aa224 Merge pull request #42 from unslothai/fix/epoch-type-float
Fix: Change `epoch` type from `int` to `float`
2026-02-13 10:53:51 +04:00
Roland Tannous
75f775d088 fix: change epoch type from int to float to match TrainerState 2026-02-13 06:51:55 +00:00
Roland Tannous
c065b05179 Merge pull request #38 from unslothai/fix/model-config-directory
Changed the directory for default configs
2026-02-13 09:20:40 +04:00
Wasim Yousef Said
37e8d43cd5 Merge pull request #35 from unslothai/feature/dataset-preview-table
feat: add dataset viewer using /check-format endpoint
2026-02-12 21:18:36 -08:00
imagineer99
bc9645cbbf feat: add dataset preview dialog using /check-format endpoint 2026-02-13 05:04:11 +00:00
sshah229
82be5b237f fixed the script directory 2026-02-12 21:55:36 -07:00
Roland Tannous
363ffb7d1a Merge pull request #34 from unslothai/feature/openai-chat-completions
PR: OpenAI-Compatible Chat Completions Endpoint
2026-02-12 23:20:52 +04:00
Roland Tannous
8403190cdd feat: add OpenAI-compatible POST /chat/completions endpoint with streaming and non-streaming support 2026-02-12 19:00:05 +00:00
Roland Tannous
78d2fe5ee3 Merge pull request #33 from unslothai/feature/sse-connection-resilience
feat: SSE Connection Resilience
2026-02-12 22:03:20 +04:00
Roland Tannous
509659ba97 feat: add SSE reconnection resilience with spec-compliant event fields, Last-Event-ID resume, and metric_history fallback in /status 2026-02-12 17:58:48 +00:00
Roland Tannous
c6a1e9ca4b Merge pull request #32 from unslothai/feature/datasets-endpoint-preview-samples
Return Raw Preview Samples on Format Detection Failure
2026-02-12 19:53:13 +04:00
Roland Tannous
0dbce96700 untrack package-lock.json and add to gitignore 2026-02-12 15:41:20 +00:00
Roland Tannous
dd71b0f18a return raw preview samples on format detection failure for manual column mapping 2026-02-12 15:39:56 +00:00
Roland Tannous
e0623cae6c Merge pull request #31 from unslothai/feature/datasets-endpoint-return-top-10
Optimize `/check-format` to return preview samples
2026-02-12 15:26:13 +04:00
Roland Tannous
4c791bd5aa feat(datasets): check-format to return preview samples 2026-02-12 11:25:47 +00:00
Roland Tannous
a8b8da96d1 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
da1cde971c 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
f7529d1503 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
1a6bfe51b6 added @needs_torch to test_cuda_oom 2026-02-11 16:12:37 +00:00
Roland Tannous
95038d6129 add @needs_mlx decorator on tests 2026-02-11 16:10:22 +00:00
Roland Tannous
63c583c54f replace torch MPS with MLX 2026-02-11 16:04:35 +00:00
Roland Tannous
7db31723b9 reset DEVICE type on fastapi lifespan exit 2026-02-11 15:58:13 +00:00
Roland Tannous
e7c3e7b48d fixed tests to be hardware specific 2026-02-11 15:40:00 +00:00
Roland Tannous
85fc481afe fixed tests to be hardware specific 2026-02-11 15:37:34 +00:00
Roland Tannous
59d5f24eb5 integrate global hardware detection at lifespan entrypoint 2026-02-11 15:34:26 +00:00
Roland Tannous
107bd2be4c feat: add Apple Silicon (MPS) compatibility to backend utils + tests 2026-02-11 14:00:39 +00:00
Wasim Yousef Said
eddb2d5405 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
8c85fef59f drop docs file 2026-02-11 14:03:45 +01:00
shine1i
77f8316546 feat: auth guard on routes 2026-02-11 14:01:30 +01:00
Roland Tannous
fde1fea5a9 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
cdf7ead71b feat: new auth and refresh token on unauthorized 2026-02-11 13:40:33 +01:00
Roland Tannous
7ee4381936 move inline pydantic models - fix existing models routes integration 2026-02-11 12:39:58 +00:00
Roland Tannous
1e51f0b791 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
28c7df5925 remove unsloth_compiled_cache folder on fastapi lifespan exit 2026-02-11 12:30:05 +00:00
shine1i
3d0b90a862 Merge remote-tracking branch 'origin/nightly' into feature/auth-ui 2026-02-11 13:29:11 +01:00
Roland Tannous
fd3e0e5f09 chore: untrack auth.db (already in .gitignore) 2026-02-11 12:21:54 +00:00
Roland Tannous
e66280119d Merge pull request #24 from unslothai/feature/refactor-authentication-mechanism
Feature/refactor authentication mechanism
2026-02-11 16:13:44 +04:00
Roland Tannous
01fcb4f713 authentication refactor - added setup token and token refresh mechanism 2026-02-11 12:09:47 +00:00
shine1i
9b4293c677 auth ui flow 2026-02-07 16:14:02 +01:00
Roland Tannous
d54671b1a6 Merge pull request #22 from unslothai/feature/auth
Added jwt authentication
2026-02-07 14:27:35 +04:00
sshah229
0082627801 fixed the errors- renamed jwt to authentication, used raw jwt, and removed search route 2026-02-07 03:14:30 -07:00
sshah229
9c28c592a4 Merge branch 'feature/auth' of https://github.com/unslothai/new-ui-prototype into feature/auth 2026-02-06 03:19:22 -07:00
sshah229
50ff5626f1 refactored the code for username/password and added pydantic models and routes for the same 2026-02-06 03:15:30 -07:00
sshah229
009e93f079 Refactored the training and model routes and added the jwt authentication 2026-02-06 03:15:30 -07:00
sshah229
daa20821c1 refactored the code for username/password and added pydantic models and routes for the same 2026-02-06 02:56:54 -07:00
sshah229
482e934e09 Refactored the training and model routes and added the jwt authentication 2026-02-04 05:49:29 -07:00
Wasim Yousef Said
82d42fd8e2 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
a48bb53e14 cleanup 2026-02-04 13:28:39 +01:00
Roland Tannous
a295a624ce Merge pull request #20 from unslothai/feature/datasets-endpoint
Add Datasets Check-Format Endpoint
2026-02-04 00:45:31 +04:00
Roland Tannous
75bb6c08a5 Add datasets check-format endpoint 2026-02-03 20:42:25 +00:00