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

Add FLUX support with MLX backend #498

Closed
wants to merge 1 commit into from

Conversation

vishwamartur
Copy link

Related to #461

Add support for the FLUX model with the MLX backend.

  • New Model Class: Add exo/inference/mlx/models/flux.py to define the FluxModel and Model classes for the FLUX model.
  • Inference Engine Update: Modify exo/inference/mlx/sharded_inference_engine.py to include necessary imports for the FLUX model.
  • Testing: Add exo/inference/mlx/test_sharded_flux.py to include tests for the FLUX model, ensuring proper integration and functionality.
  • Documentation: Update README.md to include instructions for using the FLUX model with the MLX backend, along with usage examples.

Related to exo-explore#461

Add support for the FLUX model with the MLX backend.

* **New Model Class**: Add `exo/inference/mlx/models/flux.py` to define the `FluxModel` and `Model` classes for the FLUX model.
* **Inference Engine Update**: Modify `exo/inference/mlx/sharded_inference_engine.py` to include necessary imports for the FLUX model.
* **Testing**: Add `exo/inference/mlx/test_sharded_flux.py` to include tests for the FLUX model, ensuring proper integration and functionality.
* **Documentation**: Update `README.md` to include instructions for using the FLUX model with the MLX backend, along with usage examples.
@AlexCheema
Copy link
Contributor

Did you test this?

@AlexCheema
Copy link
Contributor

I don't think this works. Please re-open if that's not that case.

@AlexCheema AlexCheema closed this Nov 28, 2024
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