michaelfeil / michaelfeil/infinity

matryoshka_dim=512 is not in a valid range. Select between 1 and 128.

Open
#519 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.9k
Forks
206
PR merge metrics
No merged PRs in 30d

Description

### System Info

curl -X 'POST' 'https://localhost:8080/embeddings' -H 'accept: application/json' -H 'Content-Type: application/json' -d '{
"model": "mixedbread-ai/mxbai-embed-large-v1",
"encoding_format": "float",
"dimensions": 512,
"input": [
"test 123"
],
"modality": "text"
}'
{
"error": {
"message": " -> matryoshka_dim=512 is not in a valid range. Select between 1 and 128.",
"type": null,
"param": null,
"code": 400
}
}

### Information

- [x] Docker + cli
- [ ] pip + cli
- [ ] pip + usage of Python interface

### Tasks

- [x] An officially supported CLI command
- [ ] My own modifications

### Reproduction

1. Start michaelf34/infinity:latest using: v2 --model-id mixedbread-ai/mxbai-embed-large-v1 --port 8080 --embedding-dtype ubinary
2. Query embeddings API endpoint.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure using the documented Docker CLI command and the POST /embeddings request with mixedbread-ai/mxbai-embed-large-v1, dimensions=512, and embedding-dtype ubinary. Trace the MatryoshkaDimError handling to determine the intended valid dimension range, then verify that the API responds correctly for the supported configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
api, backend, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.