Issues running DeepSeek-OCR-5bit/4bit

#1
by melven - opened

When running as per instructions.

python -m mlx_vlm.generate --model mlx-community/DeepSeek-OCR-5bit --max-tokens 100 --temperature 0.0 --prompt "Describe this image." --image

Running on Macbook M4 pro - 24GB

Also tried to reinstalled mlx-vlm and transformers

uv remove mlx-vlm
uv add mlx-vlm transformers

File "/python3.11/site-packages/transformers/utils/hub.py", line 322, in cached_file
file = cached_files(path_or_repo_id=path_or_repo_id, filenames=[filename], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "python3.11/site-packages/transformers/utils/hub.py", line 437, in cached_files
raise OSError(
OSError: /Users/XXXXX/.cache/huggingface/hub/models--mlx-community--DeepSeek-OCR-5bit/snapshots/ac9ef8a4e47b8cd32e81f0cd21a4eb0808980eb5 does not appear to have a file named modeling_deepseekocr.py. Checkout 'https://huggingface.co//Users/XXXXX/.cache/huggingface/hub/models--mlx-community--DeepSeek-OCR-5bit/snapshots/ac9ef8a4e47b8cd32e81f0cd21a4eb0808980eb5/tree/main' for available files.

Any ideas if this is caused by something else?

Looks like it was updated and something was fixed. Works fine now. Thanks

melven changed discussion status to closed

Sign up or log in to comment