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

System-Channel iftk interface subclasses #5

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

sebaspv
Copy link
Collaborator

@sebaspv sebaspv commented Sep 6, 2024

Summary

This PR adds support for iftk-friendly system and channel interface wrappers for iftk's helper streamer functions.

Rationale

The PR's main rationale is making our helper functions have support for iftk's already implemented system and channel interfaces for modularity purposes.

Testing

All of the helper streaming functions have been tested under /tests/helpers. The system-channel interfaces are subclass wrappers of these tested functions.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 6, 2024
Copy link
Contributor

@chrisklaiber chrisklaiber left a comment

Choose a reason for hiding this comment

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

Good idea to get up a draft PR!

My guidance here is that, when working with a "System", it composes multiple of the streams. You might have noticed here that wrapping each stream with a system doesn't add much value. Instead, the place for a system would be in the example, to replace the main functions that compose the streams. E.g., a "RemoteInferenceSystem" or a "LocalInferenceSystem". The systems would contain everything except for input and output, as we'd leave that up to the client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants