Skip to content

mindtorch_v2: align std and var dim schema errors#2754

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

mindtorch_v2: align std and var dim schema errors#2754
lvyufeng merged 1 commit into
candle-org:masterfrom
lvyufeng:mtv2-schema-parity-batch14

Conversation

@lvyufeng

@lvyufeng lvyufeng commented Mar 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • align schema-level dim validation for std and var with torch for bool/str inputs
  • add contract tests for std/var bool and str dim error parity
  • keep change scope to schema binding + error templates only

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 c433487 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