unsloth/studio
Daniel Han 27804b70cf fix(studio): clear bun cache on failure and retry before falling back to npm
bun's package cache can become corrupt, storing only package metadata
(package.json, README) without actual content (bin/, lib/). When this
happens, bun install exits 0 and reports packages as installed, but
binaries like tsc are missing from node_modules/.bin/.

Changes (both setup.sh and setup.ps1):
- After bun install, verify tsc and vite exist in node_modules/.bin/
- If missing, clear the bun cache with bun pm cache rm and retry once
- Only fall back to npm if the retry also fails
- setup.ps1: check for both tsc and tsc.cmd (Windows creates .cmd
  wrappers)
2026-03-25 14:13:31 +00:00
..
backend Revert "feat: multi-source model discovery (HF default, legacy cache, LM Studio)" 2026-03-25 13:35:03 +00:00
frontend Revert "feat: multi-source model discovery (HF default, legacy cache, LM Studio)" 2026-03-25 13:35:03 +00:00
__init__.py Final cleanup 2026-03-12 18:28:04 +00:00
install_llama_prebuilt.py Use prebuilt llama.cpp for unsloth studio setup (#4562) 2026-03-25 05:42:43 -07:00
install_python_stack.py Consolidate dual venvs and separate install from update (#4530) 2026-03-25 05:24:21 -07:00
LICENSE.AGPL-3.0 Add AGPL-3.0 license to studio folder 2026-03-09 19:36:25 +00:00
setup.bat Final cleanup 2026-03-12 18:28:04 +00:00
setup.ps1 fix(studio): clear bun cache on failure and retry before falling back to npm 2026-03-25 14:13:31 +00:00
setup.sh fix(studio): clear bun cache on failure and retry before falling back to npm 2026-03-25 14:13:31 +00:00
Unsloth_Studio_Colab.ipynb Created using Colab 2026-03-22 04:57:26 -07:00