Home Arrow Icon Knowledge base Arrow Icon Global Arrow Icon What are the steps to set up LM Studio for DeepSeek


What are the steps to set up LM Studio for DeepSeek


To set up LM Studio for DeepSeek, follow these steps:

1. Download and Install LM Studio:
- Visit the LM Studio website and download the appropriate version for your operating system (Windows, macOS, or Linux). Install it by following the on-screen instructions.

2. Download the DeepSeek R1 Model:
- Open LM Studio and navigate to the Discover tab.
- Search for "DeepSeek R1" and select the version that is compatible with your system. If you're using a Mac with Apple processors, choose the MLX option; for Windows or Linux, select the GGUF option.

3. Load the Model:
- After downloading, go to the Local Models section in LM Studio. Select DeepSeek R1 and click on Load to prepare the model for use.

4. Start the Local Server:
- In the Developer tab of LM Studio, enable the Start Server option. This will initiate the server, making DeepSeek accessible at `https://localhost:1234`.

5. Integrate with Visual Studio Code (VSCode):
- Open VSCode and install any necessary extensions that allow integration with local models.
- Access the settings of the extension and set the API Provider to "LM Studio." Enter `https://localhost:1234` as the Base URL to connect VSCode with your local DeepSeek model.

By following these steps, you should be able to successfully set up LM Studio for DeepSeek and start utilizing it in your projects.

Citations:
[1] https://dev.to/dwtoledo/how-to-use-deepseek-r1-for-free-in-visual-studio-code-with-cline-or-roo-code-3an9
[2] https://www.youtube.com/watch?v=AjzoCJ9yZjM
[3] https://www.youtube.com/watch?v=8OHcu2FMHdM
[4] https://www.reddit.com/r/MachineLearning/comments/1i9xwbr/r_learn_how_to_run_deepseekr1_locally_a_free/
[5] https://www.reddit.com/r/selfhosted/comments/1i6ggyh/got_deepseek_r1_running_locally_full_setup_guide/
[6] https://news.ycombinator.com/item?id=42768072
[7] https://www.youtube.com/watch?v=51aYf_39sBU
[8] https://lmstudio.ai/blog/lmstudio-v0.3.7