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
Accelerator
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
Type
/
to 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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
NVIDIA
/
TransformerEngine
Public
Notifications
You must be signed in to change notification settings
Fork
796
Star
3.5k
Code
Issues
156
Pull requests
160
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
[PyTorch] Add sliding window support to FlashAttention
- #551
#551
Merged
ptrendx
merged 21 commits into
NVIDIA:main
NVIDIA/TransformerEngine:main
from
cyanguwa:fa/sliding_window
cyanguwa/TransformerEngine:fa/sliding_window
Copy head branch name to clipboard
Dec 16, 2023
Conversation
Commits
21
(21)
Checks
Files changed
Merged
[PyTorch] Add sliding window support to FlashAttention
#551
ptrendx
merged 21 commits into
NVIDIA:main
NVIDIA/TransformerEngine:main
from
cyanguwa:fa/sliding_window
cyanguwa/TransformerEngine:fa/sliding_window
Copy head branch name to clipboard
Commits
Commits on Dec 6, 2023
add sliding window to FA
Show description for 69f568e
cyanguwa
committed
69f568e
View commit details
Copy full SHA for 69f568e
Browse repository at this point
fix forward logic
Show description for 8f7121f
cyanguwa
committed
8f7121f
View commit details
Copy full SHA for 8f7121f
Browse repository at this point
fix lint
Show description for f37e872
cyanguwa
committed
f37e872
View commit details
Copy full SHA for f37e872
Browse repository at this point
change bert test to causal as unfused does not support padding
Show description for 37f1469
cyanguwa
committed
37f1469
View commit details
Copy full SHA for 37f1469
Browse repository at this point
fix FlashAttention for v2-2.3 versions
Show description for e278579
cyanguwa
committed
e278579
View commit details
Copy full SHA for e278579
Browse repository at this point
Merge branch 'main' into fa/sliding_window
cyanguwa
authored
37c1caf
View commit details
Copy full SHA for 37c1caf
Browse repository at this point
Commits on Dec 7, 2023
verify FA swa works
Show description for 49e147e
cyanguwa
committed
49e147e
View commit details
Copy full SHA for 49e147e
Browse repository at this point
Commits on Dec 8, 2023
merge main
Show description for 72447a1
cyanguwa
committed
72447a1
View commit details
Copy full SHA for 72447a1
Browse repository at this point
fix mask related restrictions and duplicate code after merge
Show description for 97f807f
cyanguwa
committed
97f807f
View commit details
Copy full SHA for 97f807f
Browse repository at this point
fix swa test
Show description for 603cb52
cyanguwa
committed
603cb52
View commit details
Copy full SHA for 603cb52
Browse repository at this point
Commits on Dec 13, 2023
Merge branch 'main' into fa/sliding_window
Show description for ce15516
cyanguwa
authored
ce15516
View commit details
Copy full SHA for ce15516
Browse repository at this point
Commits on Dec 15, 2023
add docstring for get_swa func
Show description for e2fcf1d
cyanguwa
committed
e2fcf1d
View commit details
Copy full SHA for e2fcf1d
Browse repository at this point
move repeated code into a function
Show description for 0f6b235
cyanguwa
committed
0f6b235
View commit details
Copy full SHA for 0f6b235
Browse repository at this point
Merge branch 'main' into fa/sliding_window
cyanguwa
authored
f91d80d
View commit details
Copy full SHA for f91d80d
Browse repository at this point
revert mask change
Show description for 67dd2d9
cyanguwa
committed
67dd2d9
View commit details
Copy full SHA for 67dd2d9
Browse repository at this point
add determinism filter and fix FA warning message
Show description for 576112d
cyanguwa
committed
576112d
View commit details
Copy full SHA for 576112d
Browse repository at this point
add message for determinism filter
Show description for 9c7de54
cyanguwa
committed
9c7de54
View commit details
Copy full SHA for 9c7de54
Browse repository at this point
Merge branch 'main' into fa/sliding_window
cyanguwa
authored
c8afd21
View commit details
Copy full SHA for c8afd21
Browse repository at this point
simplify check_set_window_size()
Show description for 53bf1f5
cyanguwa
committed
53bf1f5
View commit details
Copy full SHA for 53bf1f5
Browse repository at this point
fix check_set_window_size in transformer layers
Show description for 24252a2
cyanguwa
committed
24252a2
View commit details
Copy full SHA for 24252a2
Browse repository at this point
fix indent
Show description for 87c9826
cyanguwa
committed
87c9826
View commit details
Copy full SHA for 87c9826
Browse repository at this point
You can’t perform that action at this time.