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

[runtime] enable runtime stitching #1329

Open
pilkicTT opened this issue Feb 26, 2025 · 0 comments
Open

[runtime] enable runtime stitching #1329

pilkicTT opened this issue Feb 26, 2025 · 0 comments

Comments

@pilkicTT
Copy link
Contributor

pilkicTT commented Feb 26, 2025

The tt-mlir runtime now leaves every tensor on device and can accept inputs already on device. Use that to avoid unnecessary movements of tensors to and from the device.

For example, when running inference of a model in a loop, we are currently sending the weights/constant tensors on each iteration. This is obviosly not ideal.

Another example would be in training scenario. We can now reuse outputs of, let's say, forward() program on device as inputs to the backward() program. Without needing to move outputs of forward() to the host and then running the backward() program which will move them back to the device.

@pilkicTT pilkicTT added this to the [FFE] Runtime v1 milestone Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant