Skip to content

fix: reducing ONNX Optimization for CPU compatibility#311

Open
safvanatzack wants to merge 3 commits intodevtestfrom
fix/optimization-crash-fix
Open

fix: reducing ONNX Optimization for CPU compatibility#311
safvanatzack wants to merge 3 commits intodevtestfrom
fix/optimization-crash-fix

Conversation

@safvanatzack
Copy link
Collaborator

@safvanatzack safvanatzack commented Jan 21, 2026

Description

Reduces ONNX optimization level on non-macOS platforms for stability.

Related Issue

#228 - Addresses the parakeet issue

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Performance improvement
  • Code refactoring
  • Other (please describe)

Testing

  • Unit tests added/updated
  • Manual testing performed
  • All tests pass

Documentation

  • Documentation updated
  • No documentation needed

Checklist

  • Code follows project style
  • Self-reviewed the code
  • Added comments for complex code
  • Updated README if needed
  • Branch is up to date with devtest
  • No merge conflicts

Additional Notes

  • Slight performance change can be noted as this fix focused on broader cpu compatibility for avoiding crashes

Prevents ILLEGAL_INSTRUCTION crashes on CPUs without AVX-512 support by configuring build flags to target x86-64-v2 baseline. Also reduces ONNX optimization level on non-macOS platforms for stability.
@safvanatzack safvanatzack marked this pull request as draft February 4, 2026 13:16
@safvanatzack safvanatzack changed the title fix: disable AVX-512 for maximum CPU compatibility fix: reducing ONNX Optimization for CPU compatibility Feb 5, 2026
@safvanatzack safvanatzack marked this pull request as ready for review February 5, 2026 11:22
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