Skip to content

mindtorch_v2: align nansum and nanmean dim schema errors#2756

Merged
lvyufeng merged 1 commit into
candle-org:masterfrom
lvyufeng:mtv2-schema-parity-batch15
Mar 8, 2026
Merged

mindtorch_v2: align nansum and nanmean dim schema errors#2756
lvyufeng merged 1 commit into
candle-org:masterfrom
lvyufeng:mtv2-schema-parity-batch15

Conversation

@lvyufeng

@lvyufeng lvyufeng commented Mar 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • align schema-level dim validation for nansum and nanmean with torch for bool/str inputs
  • add contract tests for nansum/nanmean bool and str dim error parity
  • keep mechanism-only scope in schema binding path

Verification

  • PYTHONPATH=src pytest -q tests/mindtorch_v2/contract/test_schema_dim_validation.py -q
  • PYTHONPATH=src pytest -q tests/mindtorch_v2/contract/test_schema_registration_order.py
  • PYTHONPATH=src pytest -q tests/mindtorch_v2/contract/test_schema_coverage.py
  • PYTHONPATH=src pytest -q tests/mindtorch_v2/contract

@lvyufeng
lvyufeng merged commit b6ea149 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