Skip to content

Fix zero-sized padding in blackwell scale#9446

Merged
roman-openai merged 3 commits intomainfrom
roman/20260212112903
Feb 13, 2026
Merged

Fix zero-sized padding in blackwell scale#9446
roman-openai merged 3 commits intomainfrom
roman/20260212112903

Conversation

@roman-openai
Copy link
Copy Markdown
Collaborator

Older versions of torch do not support zero-sized padding (pytorch/pytorch#168071).

This change adds a workaround and also simplifies some duplicated code.

@roman-openai roman-openai marked this pull request as ready for review February 12, 2026 20:12
@roman-openai roman-openai enabled auto-merge (squash) February 13, 2026 00:14
@roman-openai roman-openai merged commit 2aebf4a into main Feb 13, 2026
17 of 18 checks passed
@roman-openai roman-openai deleted the roman/20260212112903 branch February 13, 2026 01:54
roman-openai added a commit that referenced this pull request Feb 13, 2026
Fast-follow/correction to
#9446 - the pytorch errors are
raised on zero-sized _inputs_, not pads.
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.

2 participants