8000 fix(`MLXModel`): define var to avoid `UnboundLocalError` by SauravMaheshkar · Pull Request #1059 · huggingface/smolagents · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(MLXModel): define var to avoid UnboundLocalError #1059

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

SauravMaheshkar
Copy link
Contributor

Quick Fix: define local variable to avoid UnboundLocalError.

Copy link
Member
@albertvillanova albertvillanova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Good catch!

This demonstrates that the model is not properly tested! 😅

@albertvillanova albertvillanova merged commit 4f00a90 into huggingface:main Mar 24, 2025
@SauravMaheshkar SauravMaheshkar deleted the saurav/mlx-model-patch branch March 24, 2025 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0