Optimal way to use batch func for vectorized operations #5905
Replies: 2 comments 4 replies
-
|
Hey @conceptofmind , That looks like a pretty efficient approach to me. Are you running into performance issues using this approach? |
Beta Was this translation helpful? Give feedback.
4 replies
-
|
Going to close this for now since I am just running with the automatic batching |
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.
-
Hi all,
I was wondering what the optimal way to use batch functions for vectorized operations is?
Say we want to count the total number of tokens in a dataset:
Is this the correct way to do so?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions