Skip to content

Fix MLX backend detection to respect HF_USE_MLX environment variable#45986

Closed
amanv0007 wants to merge 1 commit into
huggingface:mainfrom
amanv0007:fix-disable-mlx
Closed

Fix MLX backend detection to respect HF_USE_MLX environment variable#45986
amanv0007 wants to merge 1 commit into
huggingface:mainfrom
amanv0007:fix-disable-mlx

Conversation

@amanv0007
Copy link
Copy Markdown

Fixes #45853

This adds support for disabling MLX backend detection via HF_USE_MLX=0 or USE_MLX=0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide HF_USE_MLX=0 / public flag to disable MLX backend detection at import time

3 participants