Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
NVIDIA
TransformerEngine
Repository navigation
Code
Issues
159
(159)
Pull requests
213
(213)
Discussions
Actions
Security and quality
Insights
More
items
[pyTorch] CPU performance optimizations
- #2439
#2439
Merged
ptrendx
merged 26 commits into
NVIDIA:main
NVIDIA/TransformerEngine:main
from
ptrendx:pr_python_cpu_optimization
ptrendx/TransformerEngine:pr_python_cpu_optimization
Copy head branch name to clipboard
Jan 21, 2026
Conversation
Commits
26
(26)
Checks
Files changed
Merged
[pyTorch] CPU performance optimizations
#2439
ptrendx
merged 26 commits into
NVIDIA:main
NVIDIA/TransformerEngine:main
from
ptrendx:pr_python_cpu_optimization
ptrendx/TransformerEngine:pr_python_cpu_optimization
Copy head branch name to clipboard
Commits
Commits on Jan 13, 2026
PoC of the changes
Show description for c778208
ptrendx
committed
c778208
View commit details
Copy full SHA for c778208
Browse repository at this point
Early exit from the Free function for the empty tensor
Show description for 1b1c574
ptrendx
committed
1b1c574
View commit details
Copy full SHA for 1b1c574
Browse repository at this point
Use the proper function for nvtx range
Show description for ac14119
ptrendx
committed
ac14119
View commit details
Copy full SHA for ac14119
Browse repository at this point
Only do mark_not_offload when the cpu_offloading is enabled
Show description for 616af19
ptrendx
committed
616af19
View commit details
Copy full SHA for 616af19
Browse repository at this point
First pass on making the setattr issue not come back
Show description for c0d2ccc
ptrendx
committed
c0d2ccc
View commit details
Copy full SHA for c0d2ccc
Browse repository at this point
Actually add pytest.ini
Show description for 68b6f74
ptrendx
committed
68b6f74
View commit details
Copy full SHA for 68b6f74
Browse repository at this point
Changes to __init__
Show description for 1c5434c
ptrendx
committed
1c5434c
View commit details
Copy full SHA for 1c5434c
Browse repository at this point
A different way
Show description for 778019d
ptrendx
committed
778019d
View commit details
Copy full SHA for 778019d
Browse repository at this point
WAR the fact that it is not possible to set __setattr__ dynamically
Show description for 0fc2a62
ptrendx
committed
0fc2a62
View commit details
Copy full SHA for 0fc2a62
Browse repository at this point
Simpler solution and fixes
Show description for 2fb6ee3
ptrendx
committed
2fb6ee3
View commit details
Copy full SHA for 2fb6ee3
Browse repository at this point
Commits on Jan 14, 2026
Fix for the inference mode DPA
Show description for 4940724
ptrendx
committed
4940724
View commit details
Copy full SHA for 4940724
Browse repository at this point
Start of debugging debug tools
Show description for 8704a59
ptrendx
committed
8704a59
View commit details
Copy full SHA for 8704a59
Browse repository at this point
More fixes in debug
Show description for aa783a7
ptrendx
committed
aa783a7
View commit details
Copy full SHA for aa783a7
Browse repository at this point
[pre-commit.ci] auto fixes from pre-commit.com hooks
Show description for fd158f6
pre-commit-ci[bot]
committed
fd158f6
View commit details
Copy full SHA for fd158f6
Browse repository at this point
Speculative moving the validate_name to the constructor
Show description for 2601e5e
ptrendx
committed
2601e5e
View commit details
Copy full SHA for 2601e5e
Browse repository at this point
[pre-commit.ci] auto fixes from pre-commit.com hooks
Show description for 09a3a7c
pre-commit-ci[bot]
committed
09a3a7c
View commit details
Copy full SHA for 09a3a7c
Browse repository at this point
Fix
Show description for 026b4b1
ptrendx
committed
026b4b1
View commit details
Copy full SHA for 026b4b1
Browse repository at this point
Making the debug tools names saner
Show description for e83e816
ptrendx
committed
e83e816
View commit details
Copy full SHA for e83e816
Browse repository at this point
Change the setattr usage in the tensor parallel group setting
Show description for 8843a46
ptrendx
committed
8843a46
View commit details
Copy full SHA for 8843a46
Browse repository at this point
Adding try/finally - it does not seem to impact the time in observable
Show description for 084847f
ptrendx
committed
084847f
View commit details
Copy full SHA for 084847f
Browse repository at this point
Commits on Jan 15, 2026
Fixing lint issues and the thunder test
Show description for d004747
ptrendx
committed
d004747
View commit details
Copy full SHA for d004747
Browse repository at this point
Fix 1 of the debug tests
Show description for 523944a
ptrendx
committed
523944a
View commit details
Copy full SHA for 523944a
Browse repository at this point
Removed the warning and enforcement in the CI
Show description for 9873235
ptrendx
committed
9873235
View commit details
Copy full SHA for 9873235
Browse repository at this point
Commits on Jan 16, 2026
try-finally in the context manager
Show description for 7b55639
ptrendx
committed
7b55639
View commit details
Copy full SHA for 7b55639
Browse repository at this point
Commits on Jan 20, 2026
Fixing the debug tests
Show description for 028d03f
ptrendx
committed
028d03f
View commit details
Copy full SHA for 028d03f
Browse repository at this point
Merge branch 'main' into pr_python_cpu_optimization
ptrendx
authored
0d949ef
View commit details
Copy full SHA for 0d949ef
Browse repository at this point
You can’t perform that action at this time.