Skip to content

[Feature] Allow embedding models to be accessible via localhost API #8535

Closed

Description

@Rafael-Silva-Oliveira

Hello!

I am using an app that allows the use of an embedding model (such as nomic embed) for meaning-aware search, but when setting up the localhost, I get:

Error in Unsloth Studio (Desktop):
{"error":{"code":501,"message":"This server does not support embeddings. Start it with --embeddings","type":"not_supported_error"}}

Image

This does not happen with LM Studio or Ollama, so I am wondering if I am setting up something wrong?

For it to work, I need to launch a separate server for just the embeddings using something like:

llama-server.exe -hf nomic-ai/nomic-embed-text-v1.5-GGUF:Q4_K_M ^ --embeddings --pooling mean ^ -c 2048 -b 2048 -ub 2048 ^ --host 127.0.0.1 --port 8899

on a different port, so it would be great if this could be done at launch (system tray for example) of unsloth studio

Activity

  1. added
    feature request
    on Aug 12, 2026
  2. added 2 commits that reference this issue on Aug 13, 2026
    e9ae1fd
    37c1482
  3. danielhanchen commented on Aug 28, 2026

    @danielhanchen
    Member

    This should be supported now - sorry on the delay - please update Unsloth Studio to the latest via curl -fsSL https://unsloth.ai/install.sh | sh for Linux, Mac, WSL or irm https://unsloth.ai/install.ps1 | iex for Windows - if it's not supported yet, it'll be in the next Studio release - if it's still not working after that, please open another issue - appreciate it again!

    Embedding GGUFs are now detected from their pooling type and launched with --embedding, so /v1/embeddings works against a loaded embedding model.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions