Back to Research Index
Verification Suite•
2024-10-22
•Author: Swasthik Shetty•Status: ACTIVE

PyTorch Cross-Verification Test Suite (17 Passing Suites)

Automated continuous integration regression tests asserting mathematical parity

PyTorch Cross-Verification Test Suite (17 Passing Suites)

Verification Suite 2024-10-22 Authors: Swasthik Shetty

Abstract: Comprehensive catalog of the 17 automated PyTorch cross-checks integrated into the Dark Forest CI pipeline.

Key Finding: 17/17 verification suites pass continuously across Linux, macOS, and Windows runners.

Verification Suites Overview

  1. test_f32_matmul_torch: Matmul dimension contractions against torch.matmul.
  2. test_broadcast_add_torch: Multi-axis broadcasting additions.
  3. test_sub_mul_div_torch: Elementwise algebraic operations.
  4. test_transpose_strides: Transposition stride math verification.
  5. test_slice_contiguous: Contiguity detection after slicing.
  6. test_relu_backward: ReLU subgradient verification.
  7. test_gelu_approximate: GELU tanh approximation curve fitting.
  8. test_linear_forward: Linear layer forward pass accuracy.
  9. test_linear_backward: Weight and bias gradient accumulation.
  10. test_adamw_step: AdamW bias correction and weight decay.
  11. test_sgd_momentum: Momentum velocity updates.
  12. test_cross_entropy_stable: Softmax max-subtraction numerical stability.
  13. test_negative_strides: Negative stride memory bounds.
  14. test_in_place_versioning: Mutation invalidation of autograd tape views.
  15. test_worklist_topological: Autograd graph worklist cycle avoidance.
  16. test_dlpack_interop: Zero-copy DLPack memory exchange.
  17. test_cluster_allreduce_chunks: Ring all-reduce chunk partition arithmetic.