Commit graph

37 commits

Author SHA1 Message Date
Roland Tannous
f190d5a16d fix: make pip check non-fatal and install jedi for Colab compatibility 2026-03-03 09:34:35 +00:00
Manan17
cd7bdf4224 rebuild llama cpp for setup 2026-02-27 04:35:52 +00:00
Roland Tannous
cbbccefcdf 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
e81516320d 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
808f4655c9 Merge pull request #243 from unslothai/fix/setup-unbound-variable
resolved unbound variable error
2026-02-26 10:18:21 +04:00
Roland Tannous
01082b84e5 Merge branch 'nightly' into feat/gguf-llama-cpp-inference 2026-02-25 16:06:03 +04:00
Roland Tannous
299ce77467 added vision.py patch for vision processor from PR#260 2026-02-25 11:39:17 +00:00
Roland Tannous
40719c4a6f 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
6f0b7bc38a fix: use raw github URL for vision.py patch + add VLM processor diagnostic logging 2026-02-25 10:29:05 +00:00
Roland Tannous
7adb69581e 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
08aeeaee4b Fix llama-server: build in-tree, fix path resolution, add LD_LIBRARY_PATH 2026-02-24 18:19:29 +04:00
Roland Tannous
70c912d788 Fix CUDA detection for llama-server build on multi-GPU machines 2026-02-24 17:45:17 +04:00
Roland Tannous
a40ebb1aab Add GGUF model inference via llama-server backend 2026-02-24 17:40:05 +04:00
Shine1i
c8c844a4d6 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
32d5cd7198 resolved unbound variable error 2026-02-23 17:37:23 -08: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
34131da9a4 moved transformers4.57.1 to no-extra-deps 2026-02-20 18:08:58 +00:00
Roland Tannous
a8c1f5fa84 added NODE OPTIONS export , updating npm to 2.2.6 2026-02-20 08:27:09 +00:00
Roland Tannous
353cb13618 add unsloth-ui shell alias for backwards compatibility alongside unsloth-studio 2026-02-19 18:41:10 +00:00
Roland Tannous
d486a2ef6f 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
3e3c315b01 Merge nightly into feature/colab-notebook - resolved setup.sh conflicts 2026-02-17 15:51:14 -06:00
Leo Borcherding
7cac94c930 Skip venv creation in Colab, install packages directly 2026-02-17 14:21:56 -06:00
Leo Borcherding
25bf39c1e6 Detect Colab environment and upgrade npm directly instead of using nvm 2026-02-17 13:57:45 -06:00
Roland Tannous
c9fdce63e7 fix: skip sudo check on WSL during GGUF export to prevent password prompt hang 2026-02-17 19:30:02 +00:00
Roland Tannous
39b072d2ee move requirements/ to studio/backend/ and update paths in setup.sh 2026-02-17 19:02:25 +00:00
Roland Tannous
caa28e5d46 replace with patch from merged PR in unsloth-zoo 2026-02-17 17:55:05 +00:00
Roland Tannous
e803e13d3e add full dependency chain for unsloth + unsloth-extras 2026-02-17 14:21:18 +00:00
Roland Tannous
af4c145096 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
414d173624 replace function with alias 2026-02-14 05:28:47 +00:00
Roland Tannous
e09c5dfc7e fix alias command 2026-02-14 05:24:54 +00:00
Roland Tannous
7260c09268 change line arguments order in setup.sh 2026-02-14 05:13:49 +00:00
Roland Tannous
965be3f5dc add easydict and addict to setup file 2026-02-13 16:19:55 +00:00
Roland Tannous
b86503af3f add pyjwt as dependency. remove jwt. fix AttributeError: module 'jwt' has no attribute 'encode' 2026-02-13 09:58:50 +00:00
Roland Tannous
44cc46bfec shorten unsloth-ui alias. auto append frontend dist folder location 2026-02-13 09:45:47 +00:00
Roland Tannous
14c5560ace add jwt dependency to setup.sh 2026-02-13 09:39:36 +00:00
Roland Tannous
d68a2ddd67 chore: suppress verbose output in setup.sh, show errors only 2026-02-13 09:32:17 +00:00
Roland Tannous
96c827020b chore: add setup.sh for automated environment and frontend build 2026-02-13 09:11:07 +00:00