Skip to content

Conversation

@alexziskind1
Copy link

📝 Change Type

Please select the type of change this PR introduces (choose one or more):

  • feat: New feature.
  • fix: Bug fix.
  • docs: Documentation only changes.
  • refactor: A code change that neither fixes a bug nor adds a feature.
  • perf: Performance improvement.
  • test: Adding missing tests or correcting existing tests.
  • chore: Maintenance tasks (e.g., updating dependencies).

💡 Description

Adds hardware detection support for Apple's M5 chip by including its FP16 TFLOPS specifications in the hardware info dictionary. This enables the system to properly detect and report computational capabilities for M5-based Macs.

Key Changes

  1. Added "M5": 10.27 entry to _APPLE_PEAK_FP16 dictionary in AppleSiliconHardwareInfo class
  2. FP16 performance value (10.27 TFLOPS) calculated from CPU-Monkey benchmarks (FP32: 5.133 TFLOPS × 2)
  3. Ensures M5 chips are recognized during hardware detection for scheduling decisions

🔗 Related Issues

List any issues this PR closes or relates to:

  • N/A

✅ Checklist

Please ensure the following points are addressed before merging:

  • I have performed a self-review of my own code.
  • I have added/updated tests that prove my fix or feature works (if applicable).
  • I have updated the documentation (if necessary).
  • My code follows the project's style guidelines.

@alexziskind1 alexziskind1 requested a review from a team November 5, 2025 15:44
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