Skip to content

fix: WAR for Python CUDA library unknown race condition - #8360

Closed
GuanLuo wants to merge 1 commit into
mainfrom
gluo/fix
Closed

fix: WAR for Python CUDA library unknown race condition#8360
GuanLuo wants to merge 1 commit into
mainfrom
gluo/fix

Conversation

@GuanLuo

@GuanLuo GuanLuo commented Aug 19, 2025

Copy link
Copy Markdown
Contributor

Thanks for submitting a PR to Triton!
Please go the the Preview tab above this description box and select the appropriate sub-template:

If you already created the PR, please replace this message with one of

and fill it out.

Comment thread qa/common/shm_util.py
shm_ip1_handle = shm.create_shared_memory_region(
shm_region_names[1] + "_data", "/" + shm_region_names[1], input1_byte_size
)
with CREATION_LOCK:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have issues with system shared memory. So probably we can remove it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lock for any creation activity for simplicity

@whoisj whoisj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@whoisj whoisj added the PR: fix A bug fix label Sep 17, 2025
@yinggeh

yinggeh commented Sep 17, 2025

Copy link
Copy Markdown
Contributor

@GuanLuo You can close this PR since it was merged to r25.08, which was merged back to main already.

@GuanLuo GuanLuo closed this Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: fix A bug fix

Development

Successfully merging this pull request may close these issues.

3 participants