Skip to content
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

MLXModel.evaluate does not use dataset.iter #87

Open
grananqvist opened this issue Jul 3, 2024 · 0 comments
Open

MLXModel.evaluate does not use dataset.iter #87

grananqvist opened this issue Jul 3, 2024 · 0 comments
Labels
Beginner issue Has a straight-forward solution, good for new contributors

Comments

@grananqvist
Copy link
Member

grananqvist commented Jul 3, 2024

This was a miss in the initial MLX implementation.
Just like how dataset.iter method is used in other models, e.g. https://github.com/apple/pfl-research/blob/develop/pfl/model/pytorch.py#L389, it should also be used for MLXModel: https://github.com/apple/pfl-research/blob/develop/pfl/model/mlx.py#L261

(131046345)

@grananqvist grananqvist added the Beginner issue Has a straight-forward solution, good for new contributors label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Beginner issue Has a straight-forward solution, good for new contributors
Projects
None yet
Development

No branches or pull requests

1 participant