Skip to main content
Use LM Studio for local inference with a graphical interface, easy model discovery and download, and quick testing without command-line setup.

Installation

Download and install LM Studio directly from lmstudio.ai.

Downloading Models

  1. Open LM Studio and click the Search tab (πŸ”)
  2. Search for β€œLiquidAI” or β€œLFM2”
  3. Select a model and quantization level (Q4_K_M recommended)
  4. Click Download
See the Models page for all available GGUF models.

Using the Chat Interface

  1. Go to the Chat tab (πŸ’¬)
  2. Select your model from the dropdown
  3. Adjust parameters (temperature, max_tokens, top_p) in the sidebar
  4. Start chatting

Generation Parameters

Control text generation behavior using the GUI sidebar or API parameters. Key parameters:
  • temperature (float, default 1.0): Controls randomness (0.0 = deterministic, higher = more random). Typical range: 0.1-2.0
  • top_p (float, default 1.0): Nucleus sampling - limits to tokens with cumulative probability ≀ top_p. Typical range: 0.1-1.0
  • top_k (int, default 40): Limits to top-k most probable tokens. Typical range: 1-100
  • max_tokens (int): Maximum number of tokens to generate
  • repeat_penalty (float, default 1.0): Penalty for repeating tokens (>1.0 = discourage repetition). Typical range: 1.0-1.5
  • stop (str or list[str]): Strings that terminate generation when encountered
Via the OpenAI-compatible API:

Running the Server

Start an OpenAI-compatible server for programmatic access:
  1. Go to the Developer tab (βš™οΈ)
  2. Select your model
  3. Click Start Server (runs at http://localhost:1234)
Use the OpenAI Python client:

Streaming Responses

Vision Models

Search for β€œLiquidAI LFM2-VL” to download vision models. In the Chat tab:
  • Drag and drop images into the chat
  • Click the image icon to upload
  • Provide image URLs

Tips

  • GPU Acceleration: Automatically detects and uses available GPUs
  • Model Management: Delete models from the My Models section
  • Performance: Adjust GPU layers in server settings for speed/memory balance
  • Quantization: Q4 is faster, Q6/Q8 have better quality