Downloads · 30 days
192
8% of all-time downloads
mlx-community/glm-4.7-flash-abliterated-8bit
glm-4.7-flash-abliterated-8bit is a text generation model from mlx-community. Use it when you need the model to write or continue text. It is set up for mlx.
This is an 8-bit quantized MLX conversion of huihui-ai/Huihui-GLM-4.7-Flash-abliterated, optimized for fast inference on Apple Silicon.
Downloads · 30 days
192
8% of all-time downloads
All-time downloads
2.3K
Public
Parameters
29.9B
31.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors31.8 GB · 100%
How the weights are stored.
U3229.9B · 100%
From the Hugging Face model README
This is an 8-bit quantized MLX conversion of huihui-ai/Huihui-GLM-4.7-Flash-abliterated, optimized for fast inference on Apple Silicon.
mlx-openai-server is a high-performance OpenAI-compatible API server for MLX models on Apple Silicon. It supports text, vision, audio, and image generation models with a drop-in OpenAI replacement.
pip install mlx-openai-server
Or install from GitHub:
pip install git+https://github.com/cubist38/mlx-openai-server.git
mlx-openai-server launch --model-path mlx-community/glm-4.7-flash-abliterated-8bit --reasoning-parser glm47_flash --tool-call-parser glm4_moe
This serves an OpenAI-compatible API at http://localhost:8000/v1. For a local copy of the weights, point --model-path at that directory and keep the same parsers.
See the mlx-openai-server README for more options (config files, multiple models, speculative decoding, etc.).
import openai
client = openai.OpenAI(base_url="http://localhost:8000/v1", api_key="not-needed")
# Model id matches --model-path unless you set --served-model-name.
response = client.chat.completions.create(
model="mlx-community/glm-4.7-flash-abliterated-8bit",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)
You can also use curl, the OpenAI CLI, or any tool that supports a custom base_url.
--reasoning-parser glm47_flash--tool-call-parser glm4_moe