-
Notifications
You must be signed in to change notification settings - Fork 264
Migration
Lemonade 9.2.0 and earlier did not include a service to run lemonade-server automatically.
- Users had to start up the
lemonade-serverprocess manually. - This implies that the models and engine are stored in the home directory of the user that launched
lemonade-server.
Versions of lemonade after 9.2.0 include a systemd service that will run lemonade-server under a confined environment with a dedicated user.
- systemd will manage the life cycle of the process and restart it.
- The process can not access engines or models in the home directory of your previous user.
Migration
- Check where lemonade created the new folders. Take
WorkingDirectorypath fromcat /etc/systemd/system/lemonade-server.service. So it should be probably /var/lib/lemonade/or/opt/var/lib/lemonade/. ReplaceYOUR_WORKING_DIRECTORY` with this path. - Manually move the engines from
~/.cache/lemonadetoYOUR_WORKING_DIRECTORY/.cache/lemonade.sudo mv ~/.cache/lemonade YOUR_WORKING_DIRECTORY/.cache - Manually move the models from
~/.cache/huggingfacetoYOUR_WORKING_DIRECTORY/.cache/huggingface.sudo mv ~/.cache/huggingface YOUR_WORKING_DIRECTORY/.cache - Lemonade created new lemonade user and group, our moved folders need this as new ownership
sudo chown -R lemonade:lemonade YOUR_WORKING_DIRECTORY
Disabling service
If you would prefer not to use the systemd service you can disable the service with systemctl disable lemonade-server.service
Modifying the service
If you want to disable confinement rules, change the process or any other settings you can modify the service with systemctl edit lemonade-server.service and then restart it with systemctl restart lemonade-server.service
Lemonade v9.3.1 completely overhauls the support for Ryzen AI SW as we move from RAI 1.6 to 1.7.
Breaking Changes
- All
oga-*recipes have been replaced by a monolithicryzenai-llmrecipe (npu vs. hybrid vs. cpu is auto-detected). -
All previous
oga-hybridandoga-npumodels are invalidated and no longer supported. - The
oga-cpumodels are still there, the recipe is just changed toryzenai-llm.
Migration
Prior to updating to Lemonade v9.3.1, we suggest removing all RAI 1.6 models. The simplest way to do this is to open the Lemonade App and click the "trash can" delete button next to all downloaded oga-hybrid and oga-npu models. You can also use lemonade-server list to see your installed models on the command line and lemonade-server delete MODEL to remove a model.
If you've already upgraded to v9.3.1, you can go into your Hugging Face cache directory (which defaults to ~/.cache/huggingface/hub, where ~ is your home directory). Delete any model folder whose name starts with models--amd. You may also want to open your user models file (at ~/.cache/lemonade/user_models.json) and remove any entry that has an oga-* recipe.
New Models
Lemonade v9.3.1 provides access to all RAI 1.7 NPU and Hybrid models, about 70 total. For support with these models, please file an issue on the Ryzen AI SW repo.
There is now only a single .deb file in each release, lemonade-server.deb. This installer includes Lemonade Server as well as the web app.
The electron app is now available as a standalone AppImage. The benefits of this are:
- The AppImage can be added at any time to a
lemonade-server.debinstall. - The AppImage can be installed on a client device, for use with a remote Lemonade Server, without any need to also install Lemonade Server on that client.
.deb users migrating to Lemonade v9.4.0 need to first sudo apt remove lemonade or sudo apt remove lemonade-server-minimal, depending on which .deb they had installed previously.
This is the spring cleaning update. The purpose of this work is to reset some of the early design choices that have been limiting the reach and flexibility of Lemonade.
- The default port is changing from
8000to13305. - The
lemonade-routerexecutable has been renamed tolemond. - The
lemonade-serverCLI is deprecated. The installers on all operating systems will start thelemondservice automatically after install and on startup, so no more need forlemonade-server serve. - A new
lemonadeCLI is available to managelemond, including a longstanding feature request:lemonade configlets you view the entire configuration at once, and change the port, host, max loaded models, llamacpp backend, etc. etc. at runtime without restarting the service. - The
lemonade configcommand replaces thelemonade-server serveCLI args and the env vars / conf file for configuringlemond.- The only remaining
lemondCLI args are--portand--host, for in case you need to change those to startlemondin the first place. - The only remaining env vars are:
-
LEMONADE_API_KEYandHF_TOKEN, since those are secrets. -
HF_HOMEandHF_HUB_CACHEare also still respected.
-
- The only remaining
Please see the Configuration Guide for full instructions on the new lemonade config command.
Note: The deprecated lemonade-server CLI will be available for 1 month, and will be removed in the first release that comes after May 6, 2026.
Additional Notes:
- Clear any API keys and manually migrate them using
sudo systemctl edit lemonade-server. - If you had a custom models location set by
HF_HOMEorHF_HUB_CACHEand your models aren't showing up, dosudo systemctl edit lemonade-serverand addHF_HOMEorHF_HUB_CACHEthere. - Logs now stream over websocket on port 9000 by default.