-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Invoke tfjs operations functions with GPU resource #6232
Labels
type:feature
New feature or request
Comments
@huningxin Currently, there is no such kind of interface to directly import an external GPU resource to TFJS. I just offline talked with @lina128. We think it's helpful to have a such kind of API, like |
axinging
added a commit
to axinging/tfjs
that referenced
this issue
Jul 28, 2022
This only works on WebGPU. TODO: refines API docs; Add more dtype. BUG: tensorflow#6232
axinging
added a commit
to axinging/tfjs
that referenced
this issue
Nov 11, 2022
axinging
added a commit
to axinging/tfjs
that referenced
this issue
Nov 21, 2022
axinging
added a commit
to axinging/tfjs
that referenced
this issue
Nov 22, 2022
axinging
added a commit
to axinging/tfjs
that referenced
this issue
Nov 22, 2022
Linchenn
pushed a commit
to Linchenn/tfjs
that referenced
this issue
Jan 9, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi. I have this scenario of invoking tfjs operations functions for processing GPU resource, for example, invoking
tf.add(a, b)
withgpuBufferA
andgpuBufferB
by WebGPU backend.Current my workaround likes:
I don't think it's good on memory copy / performance.
Is there any efficient solution for this scenario? Any suggestion? Thanks.
The text was updated successfully, but these errors were encountered: