Skip to content

[310B] Centralize remaining fallback ops in SoC policy#2752

Merged
lvyufeng merged 1 commit into
candle-org:masterfrom
lvyufeng:feat/310b-soc-capability-remaining-fallbackops
Mar 8, 2026
Merged

[310B] Centralize remaining fallback ops in SoC policy#2752
lvyufeng merged 1 commit into
candle-org:masterfrom
lvyufeng:feat/310b-soc-capability-remaining-fallbackops

Conversation

@lvyufeng

@lvyufeng lvyufeng commented Mar 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • move the remaining 310B fallback-op set from ops_310b.py into ops_soc.py capability table (fallback_ops)
  • keep ops_310b.py as a compatibility shim module
  • make ops_soc.use_fallback prefer capability-table fallback set and retain legacy module fallback path for compatibility
  • extend SoC policy unit tests to lock full 310B fallback-op set and capability behavior

Scope

  • mechanism-only routing centralization
  • no intended runtime behavior change

Validation

  • env PYTHONPATH=src conda run -n mindtorch311 python -m pytest -q tests/mindtorch_v2/test_npu_soc_policy.py
  • env PYTHONPATH=src conda run -n mindtorch311 python -m pytest -q tests/mindtorch_v2/contract/test_schema_registration_order.py
  • env PYTHONPATH=src conda run -n mindtorch311 python -m pytest -q tests/mindtorch_v2/contract/test_schema_coverage.py
  • env PYTHONPATH=src conda run -n mindtorch311 python -m pytest -q tests/mindtorch_v2/test_310b_watchlist_npu.py

@lvyufeng
lvyufeng merged commit 6879a47 into candle-org:master Mar 8, 2026
3 checks passed
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