MLX¶
MLX backend configuration for Nanonets OCR2-3B text extraction.
NanonetsTextMLXConfig
¶
Bases: BaseModel
MLX backend configuration for Nanonets OCR2-3B text extraction.
This backend uses MLX for Apple Silicon native inference. Best for local development and testing on macOS M1/M2/M3/M4+. Requires: mlx, mlx-vlm
Note: This backend only works on Apple Silicon Macs. Do NOT use for Modal/cloud deployments.