mlx-mfa

v2.64.0 safe
2.5
Low Risk

Benchmark-backed Metal Flash Attention backends for MLX on Apple Silicon

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 21 test file(s) found

  • Test runner config found: pyproject.toml
  • Test runner config found: conftest.py
  • 21 test file(s) detected (e.g. conftest.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (17112 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 296 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 401

🔬 Heuristic Checks

✓ Outbound Network Calls

No suspicious network call patterns found

⚠ Code Obfuscation score 10.0

Found 5 obfuscation pattern(s)

  • to ALL encoder positions ) mx.eval(out) print(f"output shape: {out.shape}") # [B, H_q, S_dec,
  • scale, causal=False, ) mx.eval(out_single) print(f"single-token output shape: {out_single.s
  • nt,), ) dq, dk, dv = grads mx.eval(dq, dk, dv) all_fin = { "dQ": bool(mx.all(mx.isfini
  • mfa')" ), "mx.eval(r)", # mx.synchronize() does not trigger lazy evaluation
  • n range(reps): mx.eval(fn()) mx.synchronize() return (time.perf_cou
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • rror.""" try: r = subprocess.run( ["xcrun", "metal", "--version"], ca
  • K) try: result = subprocess.run( [sys.executable, "-c", script], env
  • () try: result = subprocess.run( [sys.executable, "-c", script], env
  • ce) try: subprocess.run( [ "xcrun", "metal",
  • 20, ) subprocess.run( ["xcrun", "metallib", air_file, "-o", outpu
  • ef check_cmake(): r = subprocess.run(["cmake", "--version"], capture_output=True, text=True)
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

✓ Suspicious Page Links

All external links appear legitimate

⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "Marco Marcelino" appears to have only 1 package on PyPI (new or inactive account)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with mlx-mfa
Build a simple Python application using the mlx-mfa package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!