[PR #265] [CLOSED] Add pytest configuration #329

Closed
opened 2026-10-26 21:16:20 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/deepseek-ai/DeepGEMM/pull/265
Author: @yurekami
Created: 12/25/2025
Status: ❌ Closed

Base: main ← Head: add-pytest-config


📝 Commits (1)

📊 Changes

1 file changed (+44 additions, -0 deletions)

View changed files

➕ pytest.ini (+44 -0)

📄 Description

Description

Add pytest configuration file for standardized test running.

Configuration

Test Discovery

  • Path: tests/
  • Pattern: test_*.py files, test_* functions

Output Options

  • Verbose mode (-v)
  • Short tracebacks (--tb=short)
  • Summary of non-passing tests (-ra)
  • Strict markers (undefined markers cause errors)

Custom Markers

Marker Description
slow Long-running tests
gpu Tests requiring GPU
sm90 Tests for Hopper architecture
sm100 Tests for Blackwell architecture
fp8 FP8 GEMM tests
bf16 BF16 GEMM tests
attention Attention kernel tests
einsum Einsum tests

Usage Examples

pytest                      # Run all tests
pytest -m "not slow"        # Skip slow tests
pytest -m fp8               # Run only FP8 tests
pytest -m "gpu and sm90"    # Run SM90 GPU tests
pytest tests/test_bf16.py   # Run specific test file

Benefits

  • Consistent test configuration across environments
  • Custom markers for selective test runs
  • Better output formatting for debugging

Testing

  • Valid pytest.ini syntax
  • Verify pytest discovers tests correctly

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/deepseek-ai/DeepGEMM/pull/265 **Author:** [@yurekami](https://github.com/yurekami) **Created:** 12/25/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `add-pytest-config` --- ### 📝 Commits (1) - [`682f1ac`](https://github.com/deepseek-ai/DeepGEMM/commit/682f1ac7df268f6897059272960f301c24a7344f) Add pytest configuration ### 📊 Changes **1 file changed** (+44 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `pytest.ini` (+44 -0) </details> ### 📄 Description ## Description Add pytest configuration file for standardized test running. ## Configuration ### Test Discovery - **Path**: `tests/` - **Pattern**: `test_*.py` files, `test_*` functions ### Output Options - Verbose mode (`-v`) - Short tracebacks (`--tb=short`) - Summary of non-passing tests (`-ra`) - Strict markers (undefined markers cause errors) ### Custom Markers | Marker | Description | |--------|-------------| | `slow` | Long-running tests | | `gpu` | Tests requiring GPU | | `sm90` | Tests for Hopper architecture | | `sm100` | Tests for Blackwell architecture | | `fp8` | FP8 GEMM tests | | `bf16` | BF16 GEMM tests | | `attention` | Attention kernel tests | | `einsum` | Einsum tests | ### Usage Examples ```bash pytest # Run all tests pytest -m "not slow" # Skip slow tests pytest -m fp8 # Run only FP8 tests pytest -m "gpu and sm90" # Run SM90 GPU tests pytest tests/test_bf16.py # Run specific test file ``` ## Benefits - Consistent test configuration across environments - Custom markers for selective test runs - Better output formatting for debugging ## Testing - [x] Valid pytest.ini syntax - [ ] Verify pytest discovers tests correctly 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-26 21:16:20 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepGEMM#329
No description provided.