-
Notifications
You must be signed in to change notification settings - Fork 875
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
Add MLX quickstart example #2693
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great!!
I thought we could use flwr-datasets
😇
The README.md
will also need to be update to show that clients need to pass the --client-id
.
Co-authored-by: Javier <jafermarq@users.noreply.github.com>
Co-authored-by: Javier <jafermarq@users.noreply.github.com>
Co-authored-by: Javier <jafermarq@users.noreply.github.com>
Co-authored-by: Javier <jafermarq@users.noreply.github.com>
return loss.item(), len(self.test_images), {"accuracy": accuracy.item()} | ||
|
||
|
||
if __name__ == "__main__": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's put the following code in a main
function
Issue
Description
MLX is a NumPy-like array framework designed for efficient and flexible machine learning on Apple silicon. We do not have an example for it.
Related issues/PRs
N/A
Proposal
Explanation
Add a new
quickstart-mlx
example for using MLX with Flower.Checklist
#contributions
)Any other comments?
N/A