Commit graph

37 commits

Author SHA1 Message Date
Roland Tannous
26996bc609 Extract shared install_python_stack.py for cross-platform setup 2026-03-01 13:05:10 +00:00
Manan17
021c09e3ac rebuild llama cpp for setup 2026-02-27 04:35:52 +00:00
Roland Tannous
ab948b0d15 Merge pull request #271 from unslothai/fix/setup-python-version-bounds
fix(setup): enforce Python >= 3.11 and < 3.14 version bounds
2026-02-26 12:13:32 +04:00
Roland Tannous
b0972210c4 fix(setup): restrict Python to >=3.11 and <3.14
Adds lower bound (>= 3.11) and tightens upper bound (< 3.14) for
Python version discovery in setup.sh. Extracts bounds into
MIN_PY_MINOR / MAX_PY_MINOR variables for easy future updates.
2026-02-26 11:54:16 +04:00
Roland Tannous
1e5503a402 Merge pull request #243 from unslothai/fix/setup-unbound-variable
resolved unbound variable error
2026-02-26 10:18:21 +04:00
Roland Tannous
efaa0bacfb Merge branch 'nightly' into feat/gguf-llama-cpp-inference 2026-02-25 16:06:03 +04:00
Roland Tannous
b0533503f2 added vision.py patch for vision processor from PR#260 2026-02-25 11:39:17 +00:00
Roland Tannous
f47257dd15 fix: correct vision.py patch path to unsloth/models/vision.py + add VLM processor diagnostic 2026-02-25 11:06:22 +00:00
Roland Tannous
d9434fee4a fix: use raw github URL for vision.py patch + add VLM processor diagnostic logging 2026-02-25 10:29:05 +00:00
Roland Tannous
9e280eb105 Fix GGUF export cwd confusion: remove os.chdir, use absolute paths
Remove os.chdir(save_directory) from export.py which was causing all of
unsloth-zoo's relative-path internals (check_llama_cpp, use_local_gguf,
_download_convert_hf_to_gguf) to resolve against the export directory
instead of the repo root. This caused llama.cpp to be cloned inside each
export dir and destroyed the repo root's llama-server build on cleanup.

Now passes absolute paths to save_pretrained_gguf so unsloth resolves
llama.cpp from the repo root where setup.sh already built it.

Also builds llama-quantize in setup.sh (needed by unsloth-zoo's export
pipeline) and symlinks it to llama.cpp root for check_llama_cpp().
2026-02-25 03:30:54 +04:00
Roland Tannous
5b7555cd3f Fix llama-server: build in-tree, fix path resolution, add LD_LIBRARY_PATH 2026-02-24 18:19:29 +04:00
Roland Tannous
eb6e9f7412 Fix CUDA detection for llama-server build on multi-GPU machines 2026-02-24 17:45:17 +04:00
Roland Tannous
2f985ccbb5 Add GGUF model inference via llama-server backend 2026-02-24 17:40:05 +04:00
Shine1i
ca9992d6f6 feat: introduce single-env Python dependency management for streamlined compatibility
- Added constrained dependency files for single-env installations: `constraints.txt`, `data-designer.txt`, and `data-designer-deps.txt`.
- Implemented a `patch_metadata.py` script to resolve metadata conflicts between dependency versions.
- Updated `setup.sh` to integrate single-env setup, including dependency installation and metadata patching.
- Upgraded `fastmcp` and `websockets` versions in `extras.txt` for compatibility.
- Commented out unused "Start Tutorial" button in `data-recipes-page.tsx`.
2026-02-24 07:45:40 +01:00
samit
5111f0e0dc resolved unbound variable error 2026-02-23 17:37:23 -08:00
Roland Tannous
198433363a feat: clear unsloth_compiled_cache on startup, shutdown, and between model loads 2026-02-23 07:26:22 +00:00
Roland Tannous
3bd0b8fb8b moved transformers4.57.1 to no-extra-deps 2026-02-20 18:08:58 +00:00
Roland Tannous
dee72fc155 added NODE OPTIONS export , updating npm to 2.2.6 2026-02-20 08:27:09 +00:00
Roland Tannous
1bb79defd0 add unsloth-ui shell alias for backwards compatibility alongside unsloth-studio 2026-02-19 18:41:10 +00:00
Roland Tannous
3dc8f8844f rename cli studio command to use new FastAPI backend and add unsloth-ui alias for backwards compatibility 2026-02-19 17:59:22 +00:00
Leo Borcherding
84b9a8aef6 Merge nightly into feature/colab-notebook - resolved setup.sh conflicts 2026-02-17 15:51:14 -06:00
Leo Borcherding
68dc6d387a Skip venv creation in Colab, install packages directly 2026-02-17 14:21:56 -06:00
Leo Borcherding
7486a1c00f Detect Colab environment and upgrade npm directly instead of using nvm 2026-02-17 13:57:45 -06:00
Roland Tannous
c5558312c8 fix: skip sudo check on WSL during GGUF export to prevent password prompt hang 2026-02-17 19:30:02 +00:00
Roland Tannous
bcd9416ffb move requirements/ to studio/backend/ and update paths in setup.sh 2026-02-17 19:02:25 +00:00
Roland Tannous
09f682635d replace with patch from merged PR in unsloth-zoo 2026-02-17 17:55:05 +00:00
Roland Tannous
5dd93579c2 add full dependency chain for unsloth + unsloth-extras 2026-02-17 14:21:18 +00:00
Roland Tannous
b0b1f74834 setup: auto-detect best Python ≤3.12 and write alias to user's default shell rc file 2026-02-16 04:10:05 +00:00
Roland Tannous
59a5f41140 replace function with alias 2026-02-14 05:28:47 +00:00
Roland Tannous
c0123c9b41 fix alias command 2026-02-14 05:24:54 +00:00
Roland Tannous
dc91586662 change line arguments order in setup.sh 2026-02-14 05:13:49 +00:00
Roland Tannous
045ce145c4 add easydict and addict to setup file 2026-02-13 16:19:55 +00:00
Roland Tannous
4e6c5b98db add pyjwt as dependency. remove jwt. fix AttributeError: module 'jwt' has no attribute 'encode' 2026-02-13 09:58:50 +00:00
Roland Tannous
f953a359d7 shorten unsloth-ui alias. auto append frontend dist folder location 2026-02-13 09:45:47 +00:00
Roland Tannous
0755b6a55c add jwt dependency to setup.sh 2026-02-13 09:39:36 +00:00
Roland Tannous
dd4ee55699 chore: suppress verbose output in setup.sh, show errors only 2026-02-13 09:32:17 +00:00
Roland Tannous
9c6e108784 chore: add setup.sh for automated environment and frontend build 2026-02-13 09:11:07 +00:00