Can't load any of the Quantized Models through generate command, nor through python's mlx-vlm

#1
by harshamarsha2 - opened

Error: Can't load model either within python file using mlx_vlm.load(), nor in CLI through mlx.vlm.server, only mlx_vlm.generate works, which is not ideal for batch jobs.

This happens for all of the other quantized models(4bit through 8bit). That is, mlx-community/DeepSeek-OCR-2-bf16 works fine.

fastapi.exceptions.HTTPException: 500: Failed to load model: Unrecognized processing class in /Users/.../.cache/huggingface/hub/models--mlx-community--DeepSeek-OCR-2-8bit/snapshots/17e005594620469a9aca994d21834f9886cc0b69. Can't instantiate a processor, a tokenizer, an image processor, a video processor or a feature extractor for this model. Make sure the repository contains the files of at least one of those processing classes.

Sign up or log in to comment