# macOS/Apple Silicon compatible requirements # Excludes flash-attn which is CUDA-only # Core ML libraries torch>=2.1.0 torchvision torchaudio transformers==4.51.3 accelerate # Vision and multimodal processing qwen_vl_utils huggingface_hub modelscope # UI frameworks gradio gradio_image_annotation streamlit # Document processing PyMuPDF # API clients openai # Optional: Model quantization for better performance on Apple Silicon # bitsandbytes # Note: May need Apple Silicon compatible version # Development tools jupyter ipython # Note: flash-attn is NOT included as it requires CUDA # The model will automatically fall back to standard attention mechanisms