Skip to content

Conversation

@pbatra0
Copy link

@pbatra0 pbatra0 commented Jun 5, 2025

This PR updates the import statements in utils.py to use the correct module paths for MLX and MLX_LM, ensuring compatibility with the latest versions.

Changes:

  • Updates imports for generate_step and stream_generate to use mlx_lm.generate.
  • Adds detailed ImportError output for easier debugging.
  • No functional changes beyond import path corrections.

These changes resolve import errors and improve maintainability for future updates.

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.

1 participant