Installation and setup
- Install the Python SDK with
pip install runhouse - If you’d like to use on-demand cluster, check your cloud credentials with
sky check
Self-hosted LLMs
For a basic self-hosted LLM, you can use theSelfHostedHuggingFaceLLM class. For more
custom LLMs, you can use the SelfHostedPipeline parent class.
Self-hosted embeddings
There are several ways to use self-hosted embeddings with LangChain via Runhouse. For a basic self-hosted embedding from a Hugging Face Transformers model, you can use theSelfHostedEmbedding class.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.