Skip to content
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

Add device queues to device affinities #327

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

rsuderman
Copy link
Contributor

No description provided.

@rsuderman rsuderman requested a review from sogartar December 12, 2024 03:58
@@ -20,16 +20,19 @@
class DeviceAffinity:
"""This is used to provide device affinities to exported function arguments."""

def __init__(self, ordinal: int):
def __init__(self, ordinal: int, queues: Optional[list] = None):
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be helpful to know what type is to be expected for a queue.

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.

2 participants