Skip to content

Instantly share code, notes, and snippets.

@YuriyGuts
Last active August 9, 2026 20:47
Show Gist options
  • Select an option

  • Save YuriyGuts/caaa91eee484a5ae825cb23bf6582950 to your computer and use it in GitHub Desktop.

Select an option

Save YuriyGuts/caaa91eee484a5ae825cb23bf6582950 to your computer and use it in GitHub Desktop.
Expose Ollama models to LM Studio by symlinking its model files. Just run `python3 link-ollama-models-to-lm-studio.py`. On Windows, run it as admin.
@RecNes

RecNes commented Dec 11, 2025

Copy link
Copy Markdown

Please put "continue" in to the exception block at line 70

If Ollama has cloud model, exception is thrown and script trying to sym-linking the path but it can't and throws another exception and exits.

@dromanov

Copy link
Copy Markdown

If you have different location to store lmstudio models (e.g., another hard drive with free space), you will have to move ~/.lmstudio/models/ollama folder manually to a new location.

Anyway, kudos to the author - it works nicely, and it helps a lot since gollama dropped the support for the functionality.

@inorixu

inorixu commented Jan 11, 2026

Copy link
Copy Markdown

Thanks! It works. The Qwen3-VL model doesn't work because LM Studio doesn't support it, but other models function normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment