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 }}
pytorch
/
executorch
Public
Notifications
You must be signed in to change notification settings
Fork
1.2k
Star
5.1k
Code
Issues
856
Pull requests
424
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Metal backend: bind offset views to their parent's buffer instead of aliasing it
- #22957
#22957
Open
abdelaziz-mahdy
wants to merge 8 commits into
pytorch:main
pytorch/executorch:main
from
abdelaziz-mahdy:fix/metal-offset-views
abdelaziz-mahdy/executorch:fix/metal-offset-views
Copy head branch name to clipboard
Conversation
Commits
8
(8)
Checks
Files changed
Open
Metal backend: bind offset views to their parent's buffer instead of aliasing it
#22957
abdelaziz-mahdy
wants to merge 8 commits into
pytorch:main
pytorch/executorch:main
from
abdelaziz-mahdy:fix/metal-offset-views
abdelaziz-mahdy/executorch:fix/metal-offset-views
Copy head branch name to clipboard
Commits
Commits on Sep 20, 2026
Metal backend: wait for the parent's GPU writes before reading an offset view
Show description for 0abc566
abdelaziz-mahdy
committed
0abc566
View commit details
Copy full SHA for 0abc566
Browse repository at this point
Metal backend: bind offset views to their parent's buffer instead of aliasing it
Show description for 9471b22
abdelaziz-mahdy
committed
9471b22
View commit details
Copy full SHA for 9471b22
Browse repository at this point
Cover a chunk of a chunk in the Metal offset-view tests
Show description for 0a4a1f5
abdelaziz-mahdy
committed
0a4a1f5
View commit details
Copy full SHA for 0a4a1f5
Browse repository at this point
Commits on Sep 21, 2026
Merge remote-tracking branch 'upstream/main' into local/offset-views-retain
abdelaziz-mahdy
committed
4ad8cea
View commit details
Copy full SHA for 4ad8cea
Browse repository at this point
Keep a Metal view registered while any handle to it is alive
Show description for a3acce5
abdelaziz-mahdy
committed
a3acce5
View commit details
Copy full SHA for a3acce5
Browse repository at this point
Arm the post-graph sync only once the alias buffer exists
Show description for 89dbe34
abdelaziz-mahdy
committed
89dbe34
View commit details
Copy full SHA for 89dbe34
Browse repository at this point
Commits on Sep 22, 2026
Tie the alias wait to its own graph, and keep CPU-backed and nested views working
Show description for 67d8d5d
abdelaziz-mahdy
committed
67d8d5d
View commit details
Copy full SHA for 67d8d5d
Browse repository at this point
Wait for the GPU before a host/device copy touches the memory
Show description for 090bf1a
abdelaziz-mahdy
committed
090bf1a
View commit details
Copy full SHA for 090bf1a
Browse repository at this point
You can’t perform that action at this time.