跳至内容

How to Use Unsloth Desktop for Local AI Workflows

Use Unsloth Desktop for local AI workflows, including LLM inference, fine-tuning, vision models, image and video generation, OpenCode coding agents, and local APIs from one desktop application.
2026年8月13日  · 8分钟

用 AI 探索

ChatGPTClaudePerplexity

Unsloth Studio has received a major upgrade with Unsloth Desktop, which lets you run everything locally as a desktop application. This is especially useful if you don't want to spend time installing packages, configuring different tools, or constantly running commands in the terminal.

Unsloth Desktop is basically an all-in-one solution for local AI workflows. You can run and fine-tune LLMs, test vision models, generate images and videos, train image models, work with audio, use AI coding tools, manage models, and run a local API, all from the same application.

In this guide, we will install Unsloth Desktop on Linux, run local LLMs, connect it with OpenCode, and use a local model to build a Python project. We will also explore some of its other features and see how much you can do locally from one application.

1. Check Your NVIDIA GPU

Before installing Unsloth Desktop, it is a good idea to quickly check that your NVIDIA GPU is detected and CUDA is working properly. This will help avoid issues later when you start running or fine-tuning models locally.

First, open the terminal and run:

nvidia-smi

GPU Summary

This should display your NVIDIA GPU, driver version, available GPU memory, and CUDA compatibility information.

Next, check the CUDA compiler installed on your system:

nvcc --version

You should see an output similar to this:

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2025 NVIDIA Corporation
Built on Tue_May_27_02:21:03_PDT_2025
Cuda compilation tools, release 12.9, V12.9.86
Build cuda_12.9.r12.9/compiler.36037853_0

If both commands work and your GPU is detected correctly, your system is ready for Unsloth Desktop.

2. Download and Install Unsloth Desktop

Next, go to the official Unsloth website and download Unsloth Desktop. Make sure you select the correct package for your operating system.

Download the Unsloth Desktop installer

Source: Download Unsloth Desktop for Linux 

After the download is complete, install the package like you would any other desktop application. On Linux, this may be a .deb package depending on your distribution.

Installing the Unsloth Desktop

Once the installation is complete, launch Unsloth Desktop. The application should automatically detect your available hardware and give you access to the main interface.

Unsloth Desktop main screen

From here, you can browse and download models, run LLMs locally, fine-tune models, work with images and other modalities, manage your local models, and access the other tools available inside Unsloth Desktop.

3. Download and Run an LLM in Unsloth Desktop

Open the Model hub in Unsloth Desktop and search for the model you want to run. For this test, I used one of my favorite small models:

empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF · Hugging Face

Downloading the empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF the model

After downloading the model, you can load it and start chatting with it directly inside Unsloth Desktop. On my system, I was getting around 102 tokens per second on average, which increased to around 125 tokens per second for some coding-related queries

I also enabled web access and asked the model questions about the latest stock market news. This makes the local chat experience much more useful when you need information beyond what is already inside the model. 

Testing the empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF in Unsloth Desktop

Next, I wanted to see if it could build something instead of just answering questions. I asked it to create a website, and it generated the code and showed the website alongside the chat, making it easy to see the result while continuing to make changes. 

Testing the empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF in Unsloth Desktop

4. Test a Vision Model

Unsloth Desktop also supports vision-language models, so you can upload an image directly into the chat and ask questions about it.

For my test, the required vision encoder was installed automatically when I downloaded the model. I simply uploaded an image, asked a question about it, and within seconds the model returned a highly accurate response.

Testing the empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF in Unsloth Desktop

Vision support is especially useful when working with coding agents. For example, you can upload a screenshot of a website and point out an issue you want fixed, show the agent a design you want to recreate, or use an existing interface as a visual reference while building your own application. 

5. Use Unsloth Desktop with OpenCode

Smaller models are great for testing and even some light agentic coding. But if you want a serious local coding agent that can handle larger projects, you will need a stronger model that can still fit inside your GPU's VRAM.

In my case, I am using an RTX 3090 with 24 GB VRAM, so I downloaded the Q4 version of Muse Glimmer 30B.

Open the Models tab in Unsloth Desktop, search for the model, and download the UD-Q4_K_XL version. Within a few minutes, the model should be downloaded and loaded on your system.

Download the Muse Glimmer 3b in Unsloth Desktop

By default, the context window was set to around 4K, which is too small for a coding agent working across multiple files. Open the right-side panel in Unsloth Desktop, change the context length to 64K, scroll down, and reload the model. 

Setting the context length in Unsloth Desktop

After the model reloads, go to Settings → System to check your GPU memory usage. In my case, the model was using around 22 GB of VRAM, leaving roughly 2 GB available for the KV cache. This was enough for my testing, although the available memory will depend on your GPU and workload. 

Check the system info in Unsloth Desktop

Next, open Settings → Agents and select OpenCode as the coding agent. Unsloth Desktop will automatically generate the command you need to launch it. 

Testing the integration of the OpenCode with Unsloth Desktop

First, create a project directory using the terminal:

mkdir unsloth-project
cd unsloth-project

Then launch OpenCode:

unsloth start opencode \
  --model unsloth/Muse-Glimmer-30B-GGUF:UD-Q4_K_XL \
  --context-length 64000

Make sure you include the context length in the command. Otherwise, OpenCode may start with the default smaller context window.

The command will install OpenCode if needed and then launch its terminal interface with your local Unsloth model ready to use. 

Using the OpenCode with the Unsloth Desktop

6. Build a Project with OpenCode

Now that everything is connected, I wanted to give the local coding agent a proper test. Instead of asking it to generate a small code snippet, I asked it to build a complete Mario-style game in Python from scratch.

I used this prompt:

Create a simple Mario-style 2D platform game in Python using Pygame. 
Add left/right movement, jumping, platforms, coins, enemies, a score counter, and a finish flag. 
Use simple built-in shapes instead of external assets. Create the files, install dependencies, test the game, and tell me how to run it.

OpenCode first created a to-do list and then started working through the project step by step. It created the files, wrote the game logic, handled the dependencies, and finally gave me the command to launch the game. 

Testing the Muse Glimmer in OpenCode

The final game worked, although it was still a little buggy. The Q4 version of Muse Glimmer did not perform as well as I hoped for this larger coding task, so if you have enough VRAM, I would recommend trying the Q8 version for better coding performance. 

Game generated by Muse Glimmer locally.

7. Unsloth Desktop's Other Key Features

So far, we have mostly used Unsloth Desktop for running LLMs and coding agents, but it can do much more. The idea is to have most of your local AI workflows available from the same application instead of setting up a different tool for every task.

Unsloth Desktop other options

LLM Fine-Tuning

You can fine-tune LLMs locally using methods such as LoRA and QLoRA. The no-code training interface also makes it easier to select your dataset, configure the training settings, start the run, and export the final model without building the entire training pipeline yourself.

Image Generation and Editing

You can download supported diffusion models and generate images locally from text prompts. You can also upload an existing image, describe the changes you want, and use the supported models for image editing.

Image LoRA Training

If you want to go beyond image generation, you can also train image LoRAs on your own dataset. This is useful for teaching a model a particular subject, character, product, or visual style and then using that LoRA for future generations.

Video Generation

Unsloth Desktop also supports local video generation workflows using supported diffusion models. This means you can experiment with both image and video generation from the same application instead of setting up a separate environment.

Speech and Audio Models

You can work with speech-to-text, text-to-speech, and other supported audio models. This allows you to transcribe audio, generate speech, and experiment with different audio AI workflows locally.

Data Recipes

Data Recipes help turn files such as PDFs and CSVs into datasets that you can inspect, edit, and prepare for training. This is particularly useful when you have your own data but do not want to manually build the dataset from scratch.

Model Storage and Management

As you download more models and start training your own, managing everything can quickly become messy. Unsloth Desktop gives you one place to manage downloaded models, datasets, adapters, training runs, and other local assets.

Export Models

Unsloth Studio officially supports exporting Safetensors/LoRA models to GGUF and other formats. llama.cpp is explicitly supported for running exported models. 

Local API

Finally, Unsloth Desktop can expose your local model through an OpenAI-compatible API. This makes it easy to connect your locally running models to other applications, coding tools, or AI projects without depending on a hosted model API.

Final Thoughts

Unsloth Desktop is moving in a really interesting direction. Having LLMs, fine-tuning, image and video generation, coding agents, datasets, and local APIs in one desktop application makes local AI much easier to work with, especially for people who do not want to configure every tool manually.

That said, it still feels a little rough around the edges. On older GPUs or systems with outdated CUDA drivers, you may still need to troubleshoot dependencies and install certain things manually on Linux or Windows. I also ran into issues with image generation, context settings, and coding agents. For example, if you increase the model context in Unsloth Desktop, you may also need to explicitly set the same context length when launching your coding agent. Some of the website generation and Canvas-style workflows also did not always behave as expected.

Unsloth has added a huge number of features very quickly, but not everything feels completely stable yet. I expect a lot of these issues to improve as Desktop becomes more optimized and mature.

For now, if my main goal is simply serving a local LLM for an AI coding agent or another application, I still prefer llama.cpp. It gives me much more control over the model, context, GPU offloading, memory usage, and other low-level settings. Unsloth Desktop is much easier to use, while llama.cpp is still the better option when I want to fine-tune the configuration and squeeze as much performance as possible out of my hardware.


Abid Ali Awan's photo
Author
Abid Ali Awan
LinkedIn
Twitter

As a certified data scientist, I am passionate about leveraging cutting-edge technology to create innovative machine learning applications. With a strong background in speech recognition, data analysis and reporting, MLOps, conversational AI, and NLP, I have honed my skills in developing intelligent systems that can make a real impact. In addition to my technical expertise, I am also a skilled communicator with a talent for distilling complex concepts into clear and concise language. As a result, I have become a sought-after blogger on data science, sharing my insights and experiences with a growing community of fellow data professionals. Currently, I am focusing on content creation and editing, working with large language models to develop powerful and engaging content that can help businesses and individuals alike make the most of their data.

主题

Top DataCamp Courses

Courses

使用 FastAPI 在生产环境中部署 AI

4小时
4.9K
学习如何使用 FastAPI 开发支持 AI 模型的 API,以满足真实世界需求。
查看详情Right Arrow
开始课程
查看更多Right Arrow
有关的

Tutorials

How to Run Unsloth Studio Locally: Step-by-Step Guide

Learn how to install and run Unsloth Studio locally on a GPU machine, test its chat interface, and explore features.
Abid Ali Awan's photo

Abid Ali Awan

Tutorials

Run DeepSeek-V4-Flash-0731 with Unsloth Studio and OpenCode

Run the latest DeepSeek V4 Flash model on a multi-GPU setup with Unsloth Studio, connect it to OpenCode, and use a local AI coding agent to build an interactive stock analytics website.
Abid Ali Awan's photo

Abid Ali Awan

Tutorials

Unsloth Guide: Optimize and Speed Up LLM Fine-Tuning

Fine-tuning the Llama 3.1 model to solve specialized algebra problems with high accuracy and detailed results using Unsloth.
Abid Ali Awan's photo

Abid Ali Awan

Tutorials

How to Run Thinking Machines’ Inkling Locally

Learn how to run Thinking Machines' Inkling locally. A complete guide to building experimental llama.cpp, downloading Unsloth GGUFs, and multi-GPU serving.
Abid Ali Awan's photo

Abid Ali Awan

Tutorials

Fine-Tuning Llama 3.2 Vision

Learn how to fine-tune a multimodal model by Meta AI on the Amazon product dataset using the Unsloth framework.
Abid Ali Awan's photo

Abid Ali Awan

Tutorials

Local AI with Docker, n8n, Qdrant, and Ollama

Learn how to build secure, local AI applications that protect your sensitive data using a low/no-code automation framework.
Abid Ali Awan's photo

Abid Ali Awan

查看更多查看更多