Instructions to use majentik/Qwen3-Embedding-8B-MLX-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use majentik/Qwen3-Embedding-8B-MLX-8bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download majentik/Qwen3-Embedding-8B-MLX-8bit --local-dir Qwen3-Embedding-8B-MLX-8bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Fix shard index for published 8-bit weights
Hi! The published index references four shards (model-00001-of-00004.safetensors through model-00004-of-00004.safetensors), while this repository contains two 8-bit shards named model-00001-of-00002.safetensors and model-00002-of-00002.safetensors. The original index also uses a different set of tensor names, so tools that rely on it can report missing shards.
This PR replaces only model.safetensors.index.json. I reconstructed its weight_map directly from the safetensors headers of the two published shards: 904 tensor entries, with metadata.total_size set to 8,040,540,416 bytes of tensor data. The model weights and other files are unchanged.
To update the model, please review the replacement index in this PR, verify it against the current shard headers and then merge the PR. Users can then refresh or download the updated index. On my Mac, MLX-Serve stopped reporting “Missing shards” after refreshing and reopening the model list.
Follow-up: I attempted a local /v1/embeddings request with MLX-Serve 26.11.1. The server disconnected and its process crashed with SIGSEGV during Qwen3 model loading; no embedding was returned. The crash report shows mlx_array_free and plugins.qwen3.load.Owned.deinit. The cause has not been established; the index change alone should not be treated as an end-to-end compatibility fix.