Skip to content

Use dictionary unpacking instead of merge operator for python 3.8 compatibility#4160

Merged
ptillet merged 1 commit intotriton-lang:release/3.0.xfrom
amjames:cherry-pick-4049
Jun 18, 2024
Merged

Use dictionary unpacking instead of merge operator for python 3.8 compatibility#4160
ptillet merged 1 commit intotriton-lang:release/3.0.xfrom
amjames:cherry-pick-4049

Conversation

@amjames
Copy link
Copy Markdown
Contributor

@amjames amjames commented Jun 18, 2024

cherry pick #4049 for release/3.0.x

…patibility (triton-lang#4049)

The dictionary merge operator was introduced in Python 3.9 and
unfortunately PyTorch still supports 3.8. I think for this use case
there is no downside to unpacking, other than that it's a bit ugly.
@amjames amjames requested a review from ptillet as a code owner June 18, 2024 21:37
@amjames amjames changed the base branch from main to release/3.0.x June 18, 2024 21:40
@ptillet ptillet merged commit 45b0f6b into triton-lang:release/3.0.x Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants