Skip to content

Warn on deprecated CooperativeGroup alignment argument#3347

Open
xiufanl wants to merge 1 commit into
NVIDIA:mainfrom
xiufanl:codex/nvbug-6323576-public-cooperativegroup-upstream
Open

Warn on deprecated CooperativeGroup alignment argument#3347
xiufanl wants to merge 1 commit into
NVIDIA:mainfrom
xiufanl:codex/nvbug-6323576-public-cooperativegroup-upstream

Conversation

@xiufanl

@xiufanl xiufanl commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Emit a DeprecationWarning when the deprecated alignment argument is passed to cutlass.pipeline.CooperativeGroup.
  • Add focused regression coverage for the deprecated positional argument and invalid thread-group size behavior.

Rationale

Some downstream examples and integrations still call CooperativeGroup(agent, size, alignment). Keeping the argument accepted while warning provides a migration path instead of failing at runtime.

Testing

  • python -m py_compile test\python\CuTeDSL\test_pipeline_helpers.py
  • git diff --check

The focused runtime unittest was not run locally because this checkout does not have the built cutlass._mlir extension installed.

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