10000 [nativert] port semaphore to c10 util by dolpm · Pull Request #153504 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

[nativert] port semaphore to c10 util #153504

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dolpm
Copy link
Contributor
@dolpm dolpm commented May 13, 2025

Summary:
nativert RFC: https://github.com/zhxchen17/rfcs/blob/master/RFC-0043-torch-native-runtime.md

To land the runtime into PyTorch core, we will gradually land logical parts of the code into the Github issue and get each piece properly reviewed.

This diff adds a simple semaphore interface into c10 until c++20 where we get counting_semaphore

gonna need a oss build export to take a look at this...

Test Plan: CI

Differential Revision: D73882656

Copy link
pytorch-bot bot commented May 13, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/153504

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 94de1ce with merge base 480ae2d (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D73882656

@dolpm dolpm added the topic: not user facing topic category label May 13, 2025
@dolpm dolpm force-pushed the export-D73882656 branch from 15eafee to 697ce8e Compare May 14, 2025 04:00
dolpm added a commit to dolpm/pytorch that referenced this pull request May 14, 2025
Summary:

nativert RFC: https://github.com/zhxchen17/rfcs/blob/master/RFC-0043-torch-native-runtime.md

To land the runtime into PyTorch core, we will gradually land logical parts of the code into the Github issue and get each piece properly reviewed.

This diff adds a simple semaphore interface into c10 until c++20 where we get counting_semaphore

gonna need a oss build export to take a look at this...

Test Plan: CI

Differential Revision: D73882656
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D73882656

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D73882656

dolpm added a commit to dolpm/pytorch that referenced this pull request May 14, 2025
Summary:
Pull Request resolved: pytorch#153504

nativert RFC: https://github.com/zhxchen17/rfcs/blob/master/RFC-0043-torch-native-runtime.md

To land the runtime into PyTorch core, we will gradually land logical parts of the code into the Github issue and get each piece properly reviewed.

This diff adds a simple semaphore interface into c10 until c++20 where we get counting_semaphore

gonna need a oss build export to take a look at this...

Test Plan: CI

Differential Revision: D73882656
@dolpm dolpm force-pushed the export-D73882656 branch 2 times, most recently from 11738a9 to 3f1bc9d Compare May 14, 2025 05:24
dolpm added a commit to dolpm/pytorch that referenced this pull request May 14, 2025
Summary:

nativert RFC: https://github.com/zhxchen17/rfcs/blob/master/RFC-0043-torch-native-runtime.md

To land the runtime into PyTorch core, we will gradually land logical parts of the code into the Github issue and get each piece properly reviewed.

This diff adds a simple semaphore interface into c10 until c++20 where we get counting_semaphore

gonna need a oss build export to take a look at this...

Test Plan: CI

Differential Revision: D73882656
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D73882656

dolpm added a commit to dolpm/pytorch that referenced this pull request May 14, 2025
Summary:
Pull Request resolved: pytorch#153504

nativert RFC: https://github.com/zhxchen17/rfcs/blob/master/RFC-0043-torch-native-runtime.md

To land the runtime into PyTorch core, we will gradually land logical parts of the code into the Github issue and get each piece properly reviewed.

This diff adds a simple semaphore interface into c10 until c++20 where we get counting_semaphore

gonna need a oss build export to take a look at this...

Test Plan: CI

Differential Revision: D73882656
@dolpm dolpm force-pushed the export-D73882656 branch from 3f1bc9d to 139c547 Compare May 14, 2025 05:27
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D73882656

@dolpm dolpm force-pushed the export-D73882656 branch from 139c547 to 2b0d223 Compare May 14, 2025 05:48
dolpm added a commit to dolpm/pytorch that referenced this pull request May 14, 2025
Summary:

nativert RFC: https://github.com/zhxchen17/rfcs/blob/master/RFC-0043-torch-native-runtime.md

To land the runtime into PyTorch core, we will gradually land logical parts of the code into the Github issue and get each piece properly reviewed.

This diff adds a simple semaphore interface into c10 until c++20 where we get counting_semaphore

gonna need a oss build export to take a look at this...

Test Plan: CI

Differential Revision: D73882656
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D73882656

dolpm added a commit to dolpm/pytorch that referenced this pull request May 14, 2025
Summary:
Pull Request resolved: pytorch#153504

nativert RFC: https://github.com/zhxchen17/rfcs/blob/master/RFC-0043-torch-native-runtime.md

To land the runtime into PyTorch core, we will gradually land logical parts of the code into the Github issue and get each piece properly reviewed.

This diff adds a simple semaphore interface into c10 until c++20 where we get counting_semaphore

gonna need a oss build export to take a look at this...

Test Plan: CI

Differential Revision: D73882656
@dolpm dolpm force-pushed the export-D73882656 branch from 2b0d223 to 3979ef4 Compare May 14, 2025 05:52
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D73882656

@dolpm dolpm force-pushed the export-D73882656 branch from 3979ef4 to b0c0ec0 Compare May 14, 2025 18:30
dolpm added a commit to dolpm/pytorch that referenced this pull request May 14, 2025
Summary:

nativert RFC: https://github.com/zhxchen17/rfcs/blob/master/RFC-0043-torch-native-runtime.md

To land the runtime into PyTorch core, we will gradually land logical parts of the code into the Github issue and get each piece properly reviewed.

This diff adds a simple semaphore interface into c10 until c++20 where we get counting_semaphore

gonna need a oss build export to take a look at this...

Test Plan: CI

Differential Revision: D73882656
@dolpm dolpm force-pushed the export-D73882656 branch from b0c0ec0 to f88cf56 Compare May 14, 2025 18:35
dolpm added a commit to dolpm/pytorch that referenced this pull request May 14, 2025
Summary:
Pull Request resolved: pytorch#153504

nativert RFC: https://github.com/zhxchen17/rfcs/blob/master/RFC-0043-torch-native-runtime.md

To land the runtime into PyTorch core, we will gradually land logical parts of the code into the Github issue and get each piece properly reviewed.

This diff adds a simple semaphore interface into c10 until c++20 where we get counting_semaphore

gonna need a oss build export to take a look at this...

Test Plan: CI

Differential Revision: D73882656
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D73882656

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D73882656

@dolpm dolpm force-pushed the export-D73882656 branch from f88cf56 to ce619c5 Compare May 14, 2025 18:55
dolpm added a commit to dolpm/pytorch that referenced this pull request May 15, 2025
Summary:
Pull Request resolved: pytorch#153504

nativert RFC: https://github.com/zhxchen17/rfcs/blob/master/RFC-0043-torch-native-runtime.md

To land the runtime into PyTorch core, we will gradually land logical parts of the code into the Github issue and get each piece properly reviewed.

This diff adds a simple semaphore interface into c10 until c++20 where we get counting_semaphore

gonna need a oss build export to take a look at this...

Test Plan: CI

Differential Revision: D73882656
@dolpm dolpm force-pushed the export-D73882656 branch from f29fd31 to 70e49e2 Compare May 15, 2025 17:38
dolpm added a commit to dolpm/pytorch that referenced this pull request May 15, 2025
Summary:

nativert RFC: https://github.com/zhxchen17/rfcs/blob/master/RFC-0043-torch-native-runtime.md

To land the runtime into PyTorch core, we will gradually land logical parts of the code into the Github issue and get each piece properly reviewed.

This diff adds a simple semaphore interface into c10 until c++20 where we get counting_semaphore

gonna need a oss build export to take a look at this...

Test Plan: CI

Differential Revision: D73882656
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D73882656

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D73882656

dolpm added a commit to dolpm/pytorch that referenced this pull request May 15, 2025
Summary:
Pull Request resolved: pytorch#153504

nativert RFC: https://github.com/zhxchen17/rfcs/blob/master/RFC-0043-torch-native-runtime.md

To land the runtime into PyTorch core, we will gradually land logical parts of the code into the Github issue and get each piece properly reviewed.

This diff adds a simple semaphore interface into c10 until c++20 where we get counting_semaphore

gonna need a oss build export to take a look at this...

Test Plan: CI

Differential Revision: D73882656
@dolpm dolpm force-pushed the export-D73882656 branch from 70e49e2 to 399d987 Compare May 15, 2025 17:47
dolpm added a commit to dolpm/pytorch that referenced this pull request May 15, 2025
Summary:

nativert RFC: https://github.com/zhxchen17/rfcs/blob/master/RFC-0043-torch-native-runtime.md

To land the runtime into PyTorch core, we will gradually land logical parts of the code into the Github issue and get each piece properly reviewed.

This diff adds a simple semaphore interface into c10 until c++20 where we get counting_semaphore

gonna need a oss build export to take a look at this...

Test Plan: CI

Differential Revision: D73882656
@dolpm dolpm force-pushed the export-D73882656 branch from 399d987 to 7690fb3 Compare May 15, 2025 17:53
dolpm added a commit to dolpm/pytorch that referenced this pull request May 15, 2025
Summary:

nativert RFC: https://github.com/zhxchen17/rfcs/blob/master/RFC-0043-torch-native-runtime.md

To land the runtime into PyTorch core, we will gradually land logical parts of the code into the Github issue and get each piece properly reviewed.

This diff adds a simple semaphore interface into c10 until c++20 where we get counting_semaphore

gonna need a oss build export to take a look at this...

Test Plan: CI

Differential Revision: D73882656
@dolpm dolpm force-pushed the export-D73882656 branch from 7690fb3 to 3f35277 Compare May 15, 2025 17:54
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D73882656

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D73882656

dolpm added a commit to dolpm/pytorch that referenced this pull request May 15, 2025
Summary:
Pull Request resolved: pytorch#153504

nativert RFC: https://github.com/zhxchen17/rfcs/blob/master/RFC-0043-torch-native-runtime.md

To land the runtime into PyTorch core, we will gradually land logical parts of the code into the Github issue and get each piece properly reviewed.

This diff adds a simple semaphore interface into c10 until c++20 where we get counting_semaphore

gonna need a oss build export to take a look at this...

Test Plan: CI

Differential Revision: D73882656
@dolpm dolpm force-pushed the export-D73882656 branch from 3f35277 to 43e9e52 Compare May 15, 2025 17:56
dolpm added a commit to dolpm/pytorch that referenced this pull request May 15, 2025
Summary:

nativert RFC: https://github.com/zhxchen17/rfcs/blob/master/RFC-0043-torch-native-runtime.md

To land the runtime into PyTorch core, we will gradually land logical parts of the code into the Github issue and get each piece properly reviewed.

This diff adds a simple semaphore interface into c10 until c++20 where we get counting_semaphore

gonna need a oss build export to take a look at this...

Test Plan: CI

Differential Revision: D73882656
@dolpm dolpm force-pushed the export-D73882656 branch from 43e9e52 to 7a95c1f Compare May 15, 2025 17:56
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D73882656

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D73882656

dolpm added a commit to dolpm/pytorch that referenced this pull request May 15, 2025
Summary:
Pull Request resolved: pytorch#153504

nativert RFC: https://github.com/zhxchen17/rfcs/blob/master/RFC-0043-torch-native-runtime.md

To land the runtime into PyTorch core, we will gradually land logical parts of the code into the Github issue and get each piece properly reviewed.

This diff adds a simple semaphore interface into c10 until c++20 where we get counting_semaphore

gonna need a oss build export to take a look at this...

Test Plan: CI

Differential Revision: D73882656
@dolpm dolpm force-pushed the export-D73882656 branch from 7a95c1f to 3b86f92 Compare May 15, 2025 18:00
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D73882656

Summary:
Pull Request resolved: pytorch#153504

nativert RFC: https://github.com/zhxchen17/rfcs/blob/master/RFC-0043-torch-native-runtime.md

To land the runtime into PyTorch core, we will gradually land logical parts of the code into the Github issue and get each piece properly reviewed.

This diff adds a simple semaphore interface into c10 until c++20 where we get counting_semaphore

gonna need a oss build export to take a look at this...

Test Plan: CI

Differential Revision: D73882656
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D73882656

@dolpm dolpm force-pushed the export-D73882656 branch from 3b86f92 to 94de1ce Compare May 15, 2025 18:06
@dolpm dolpm requested review from cyyever and malfet May 15, 2025 21:29
@zhxchen17 zhxchen17 requested a review from Skylion007 May 16, 2025 13:17
@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk Trigger trunk jobs on your pull request fb-exported topic: not user facing topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0