unsloth/studio/frontend/src/lib
Daniel Han 6b41567d60 Hide unloadable cached rows, hold the dataset interlock, bound a GIF export
- The cached-model listing tagged any repo with a model_index.json as
  text-to-image, so a community pipeline the image loader's trust rule refuses
  still got a row in the Images picker, and a detected-but-untrusted video repo
  fell through to that same tag. Gate the image tag on the load path's rule and
  hide an untrusted video repo outright.
- A routed diffusion pick only carries a GGUF filename, which is all the chat
  picker has, so a curated single-file artifact arrived with no quant and was
  loaded as a pipeline: from_pretrained on a repo with no model_index.json. Pass
  the page's own catalog spec into the route pick, so a routed pick resolves to
  exactly what a direct pick on that page resolves to.
- The dataset mutation endpoints checked is_active() and only then handed their
  filesystem work to a thread, so a start reserving in that gap changed captions
  or removed images underneath the preflight or the running trainer. The
  interlock is now registered for the whole request under the lock reserve()
  uses, and a start refuses while a mutation is open rather than waiting on it.
- GIF export held every kept frame as a paletted image before encoding; a clip
  may be 2048x2048 for 1024 frames, and at the 12 fps target the step is 1, so
  one export click could allocate over 4 GB and take the backend down. Downscale
  past 720 px and widen the step to keep at most 300 frames.
- seed accepted any Python int, so an out-of-range one passed every preflight,
  evicted the resident models, spawned the trainer and only then died in
  torch.manual_seed. Bound it to torch's 64-bit range in the request and config.
2026-07-26 21:37:01 +00:00
..
api-base.ts Harden Tauri release flow (#5341) 2026-05-12 20:30:20 -07:00
audio-utils.ts Update license headers 2026-03-12 17:23:10 +00:00
bulb-icon.tsx Chat: match reasoning thinking icon to the composer bulb (#6607) 2026-06-23 05:16:39 -07:00
chevron-icons.ts Unsloth: appearance palettes, customization options, and control restyle (#7077) 2026-07-14 05:12:08 -07:00
copy-to-clipboard.ts Studio frontend: reduce and tighten code comments (#6099) 2026-06-08 23:10:35 -07:00
diffusion-route-pick.ts Hide unloadable cached rows, hold the dataset interlock, bound a GIF export 2026-07-26 21:37:01 +00:00
format-fastapi-error.ts Studio frontend: reduce and tighten code comments (#6099) 2026-06-08 23:10:35 -07:00
hugeicons-derived.ts Studio: diffusion UX polish and stronger auto policies (images + video) (#6885) 2026-07-06 17:48:39 -07:00
latex.ts Studio: fix currency and indentation edge cases in LaTeX rendering (#6957) 2026-07-08 03:13:32 -07:00
mic-icon.tsx Studio: add Voice settings tab (dictation, dictionary, read aloud) (#7074) 2026-07-15 07:55:39 -07:00
model-size.ts Studio: clean-room compact RAG (knowledge bases, hybrid search, fast indexing) (#5910) 2026-06-09 21:17:04 -07:00
native-files.ts Fix Studio desktop reliability (#7255) 2026-07-21 09:51:18 +02:00
native-notifications.ts Add Tauri native notifications (#5273) 2026-05-05 00:09:48 -07:00
open-link.ts Studio frontend: reduce and tighten code comments (#6099) 2026-06-08 23:10:35 -07:00
sparkles-icon.tsx studio: use Hugeicons AI Security glyph for Run automatically (#7409) 2026-07-24 04:48:29 -07:00
tauri-diagnostics.ts Replace standalone Studio wording with Unsloth (#7221) 2026-07-19 00:47:04 -07:00
tick-icon.ts Studio: clearer check mark and even plus-menu hover padding (#6253) 2026-06-12 06:44:08 -07:00
toast.ts studio: fix toast close-button click and light-mode hover (#5597) 2026-05-19 00:55:55 -07:00
utils.ts Studio: register text-ui tokens with tailwind-merge so cn() keeps them (#7396) 2026-07-24 00:48:54 -07:00
vram.ts Studio frontend: reduce and tighten code comments (#6099) 2026-06-08 23:10:35 -07:00