Skip to content

Conversation

@joonsoome
Copy link
Owner

  • Add _mx_array helper to handle MLX API change (mx.array → mx.asarray/mx.numpy.array)
  • Replace all mx.array calls with compatibility helper (embedding, similarity, placeholder)
  • Use config.get('hidden_size', 4096) in placeholder path to avoid forced 4096D
  • Update README with MLX compatibility notes and quick validation snippet

…d README compatibility note

- Add _mx_array helper to handle MLX API change (mx.array → mx.asarray/mx.numpy.array)
- Replace all mx.array calls with compatibility helper (embedding, similarity, placeholder)
- Use config.get('hidden_size', 4096) in placeholder path to avoid forced 4096D
- Update README with MLX compatibility notes and quick validation snippet
@joonsoome joonsoome self-assigned this Oct 24, 2025
@joonsoome joonsoome added the enhancement New feature or request label Oct 24, 2025
embed-rerank-bot added 3 commits October 24, 2025 20:49
- Wrap long lines in app/main.py; split complex f-strings
- Strip trailing whitespace in router/tests; minor whitespace tidy in models
- Align with CI code quality gate (black --check --line-length 120)
- Keep black/isort/flake8 visibility but avoid red X on formatting drift
- Renames step to clarify non-blocking nature
@joonsoome joonsoome merged commit 47d34f2 into main Oct 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Automatic Forwarding Helper for mx.array with Fallback to mx.asarray

2 participants