Skip to content

Conversation

@DePasqualeOrg
Copy link
Contributor

Proposed changes

There were around 180 compiler warnings, which I've reduced to 106. The remaining ones are due to concurrency issues that are more difficult to fix. I think these should be addressed separately. The large number of concurrency warnings probably led to many other warnings being overlooked, which can cause code quality to suffer.

Checklist

  • I have read the CONTRIBUTING document
  • I have run pre-commit run --all-files to format my code / installed pre-commit prior to committing changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the necessary documentation (if needed)

@DePasqualeOrg DePasqualeOrg marked this pull request as draft December 4, 2025 18:39
@DePasqualeOrg DePasqualeOrg marked this pull request as ready for review December 4, 2025 18:41
}
}

if let quantization = baseConfig.quantization {
Copy link
Collaborator

Choose a reason for hiding this comment

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

curious why this was removed -- it is needed for quantization


import Foundation
import MLX
@preconcurrency import MLX
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this signals an issue -- MLX should have all the right concurrency annotations.

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