What is the difference between stream and device? #1233
Unanswered
Zhiming-Huang
asked this question in
Q&A
Replies: 1 comment
-
Every stream is associated with a device. A device can have one or more streams. An operation can take as input a stream or a device. If you give it a stream then the operation runs on that stream. If you give it a device, then it runs on the default stream of the default device. For more inofrmation checkout the documenation: https://ml-explore.github.io/mlx/build/html/usage/using_streams.html |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
MLX support to set a stream or a device for each function. What is the relationship between Stream and Device?
Beta Was this translation helpful? Give feedback.
All reactions