Daniel Han
88c7b08faa
fix: prevent ai-assist model config RCE via untrusted Hugging Face repos ( #4274 )
...
* fix: disable remote code loading for ai-assist model hint lookup
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: Roland Tannous <115670425+rolandtannous@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-03-13 19:29:11 +04:00
Roland Tannous
e539965740
fix error for chat template
2026-03-13 15:18:04 +00:00
Roland Tannous
47654cb91c
Final cleanup
2026-03-12 18:28:04 +00:00
Roland Tannous
a2baf80511
Update license headers
2026-03-12 17:23:10 +00:00
Roland Tannous
817f2e8dcc
feat: integrate structlog, configure workers for prod logging, and migrate print statements
2026-03-11 12:33:16 +00:00
Roland Tannous
d882678fe4
Add AGPL-3.0 SPDX headers to all source files
2026-03-09 20:17:45 +00:00
samit
86e94b5844
exposed trust_remote_code through the UI
2026-03-08 16:28:56 -07:00
Manan17
80b704d7b7
Audio_VLM bug fix
2026-03-08 19:14:07 +00:00
Manan17
9909111982
resolved merge conflicts
2026-03-05 07:59:43 +00:00
Manan17
c636fd5a42
code cleanup
2026-03-01 08:04:38 +00:00
Manan17
c48437848d
revamping up the code and adding inference
2026-03-01 02:30:31 +00:00
samit
862b4100d2
deleted duplicate definitions
2026-02-27 06:00:28 -08:00
Manan17
aeb198f52d
Fixing base model export issue for vlms
2026-02-24 01:34:11 +00: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
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
Manan17
3fa9e773c2
fixed the vlm's text only errors
2026-02-20 22:23:26 +00:00
Manan17
fdeccec259
Fixing compare feature
2026-02-19 20:15:44 +00:00
Shine1i
0db7da96cc
feat: support disabling top-k sampling with -1 and standardize normalization logic
...
- Updated top-k parameter range to accept -1 in models and frontend.
- Added utility to normalize top-k for backend compatibility.
2026-02-16 21:33:24 +01:00
Roland Tannous
909955767b
feat: add min_p sampling parameter to /chat/completions generation pipeline
2026-02-16 06:33:17 +00:00
Shine1i
571959e383
feat: add cancelation support for chat generation and streaming tasks
2026-02-15 18:23:27 +01:00
Roland Tannous
be3934860f
strip extra debug statements
2026-02-14 19:23:51 +00:00
Roland Tannous
3ff3def555
replace model unloading and peft loading mechanism for compare feature
2026-02-14 19:18:49 +00:00
Roland Tannous
e7ae901737
del model.peft_config instead of using model.delete_adapter
2026-02-14 17:32:15 +00:00
Roland Tannous
7d8e991c1f
added print statements for activate_lora_adapter
2026-02-14 17:25:37 +00:00
Roland Tannous
6fefbe9f0b
swipped logger for print statements as logger isn't propagating
2026-02-14 17:21:26 +00:00
Roland Tannous
d0b94eae75
added logging
2026-02-14 17:09:07 +00:00
Roland Tannous
b5c8136957
exclude default from model.delete_adapter
2026-02-14 17:03:52 +00:00
Roland Tannous
35a6e40268
_apply_adapter_state now calls revert_to_base_model and activate_lora_adapter properly
2026-02-14 16:57:24 +00:00
Roland Tannous
f67ee58347
feat(inference): add use_adapter field for per-request adapter toggling in compare mode
2026-02-14 14:52:13 +00:00
Roland Tannous
418a374125
migrate _generate_vision_response to use TextIteratorStreamer + background thread
2026-02-14 09:30:32 +00: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
b4ec0389f0
refactor/inference-api-routes-part-1
2026-02-03 16:57:57 +00:00
Roland Tannous
62ddcfa019
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
544d6944d1
root studio folder
2026-02-02 09:13:49 +00:00