News for hackers. Stuff that matters.
Re:Unsloth Studio by trvz on Tuesday March 17, 2026 @05:17PM (#47418438)
Installing with pip on macOS is just not an acceptable option. It'll mess up your system just like npm or gem.

This needs to go on homebrew or be a zip file with an app for manual download.

Re:Unsloth Studio by DIVx0 on Tuesday March 17, 2026 @05:32PM (#47418615)
Agree with you, a slightly more maintainable way to use it now is with "uv" or mise. i've used `uv tool install unsloth` for this one.
Re:Unsloth Studio by danielhanchen on Tuesday March 17, 2026 @06:12PM (#47419057)
Yep - uv is a better fit - and you get parallel downloads as well
Re:Unsloth Studio by saagarjha on Wednesday March 18, 2026 @06:20AM (#47423751)
It's not just uv, it also will drop an nvm install in your home directory :(
Re:Unsloth Studio by danielhanchen on Tuesday March 17, 2026 @06:10PM (#47419034)
Hey we're still working on making installation much better - appreciate the feedback!

We come from Python land mainly so packaging and distribution is all very new to us - homebrew will definitely be next!

Re:Unsloth Studio by beernet on Tuesday March 17, 2026 @06:00PM (#47418933)
Agreed, feels like a vibe-coded frontend based on already given backend features.

Also, never saw any Unsloth related software in production to this day. Feels strongly like a non-essential tool for hobby LLM wizards.

Re:Unsloth Studio by danielhanchen on Tuesday March 17, 2026 @06:15PM (#47419104)
You would be surprised - we're the 4th largest independent distributor of LLMs in the world - and nearly every Fortune 500 company has utilized either our RL fine-tuning package or used our quants and models - we for example collab directly with large labs to release models with bug fixes.
Re:Unsloth Studio by airspresso on Tuesday March 17, 2026 @06:43PM (#47419361)
Unsloth is providing the best and most reliable libraries for finetuning LLMs. We've used it for production use-cases where I work, definitely solid.
Re:Unsloth Studio by danielhanchen on Tuesday March 17, 2026 @09:57PM (#47420769)
Glad it was helpful!
Re:Unsloth Studio by ta9000 on Tuesday March 17, 2026 @09:00PM (#47420430)
Even a brief reading of their site would have spared you this embarrassment.
Re:Unsloth Studio by bityard on Tuesday March 17, 2026 @06:02PM (#47418957)
I recommend installing uv first, then you can install any Python code you want inside a virtual environment to keep it isolated from the rest of the system.
Re:Unsloth Studio by danielhanchen on Tuesday March 17, 2026 @06:11PM (#47419049)
Yep uv pip install unsloth works as well - we probably should have just made that the default - in fact Unsloth makes its own venv using UV if you have it dynamically
Re:Unsloth Studio by mmis1000 on Tuesday March 17, 2026 @10:56PM (#47421115)
I think the website should probably mention those installation preset in unsloth pyproject.toml though. The website instruct you to install dependencies separately. But it turns out there are dedicated preset that install specific rocm/cuda/xpu version in the project.
Re:Unsloth Studio by anentropic on Wednesday March 18, 2026 @05:15AM (#47423393)
or `uv tool install unsloth` for a safe 'global' installation
Re:Unsloth Studio by gessha on Tuesday March 17, 2026 @06:05PM (#47418986)
I know the whole package system across most languages is a dumpster fire but for Python, uv solves a lot of problems.

uv init

uv add unsloth

uv run main.py % or whatever

Re:Unsloth Studio by danielhanchen on Tuesday March 17, 2026 @06:21PM (#47419155)
Yep UV is fantastic - should have just that default!
Re:Unsloth Studio by Computer0 on Tuesday March 17, 2026 @05:55PM (#47418870)
On my linux systems I use venv to not affect system packages, is that not an option for this situation?
Re:Unsloth Studio by jszymborski on Tuesday March 17, 2026 @08:43PM (#47420333)
Would pipx solve the problem?

https://pipx.pypa.io/stable/installation/

Re:Unsloth Studio by mmis1000 on Tuesday March 17, 2026 @10:31PM (#47420962)
Uv helps you up though. Use a pyproject.toml and uv sync. Everything will be put into the venv only, nothing spread across the whole system.

The pyproject.toml can even handles build env for you, so you no longer need a setup.sh that installs 10 tool in specific order with specific flag to produce working environment. A single uv sync, and the job is done.

Plus the result is reproducible, so if this time uv sync work, then it also work next time.

Highly recommend if you are still on pip.

Note: Take a example that I used to install unsloth with rocm setup that based on unreleased git version dependencies and graphic card specific build flag, all of them can be handled with one command 'uv sync'. This will require a big pile of shell script if doing another way. https://github.com/unslothai/unsloth/issues/4280#issuecommen...

Re:Unsloth Studio by smcleod on Wednesday March 18, 2026 @02:43AM (#47422316)
Ah yes, came to say something similar, Python dependencies are an absolute nightmare, even with uv it feels like there's always a battle to make other peoples Python apps install.

Update: It looks like it doesn't work with the current Python version, you might have to downgrade to Python 3.13 (however even then I still get `error: unexpected argument '--torch-backend' found`)