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

Query: Parallel_batches support for CNN and NLP model #98

Open
avinashcpandey opened this issue Mar 25, 2022 · 1 comment
Open

Query: Parallel_batches support for CNN and NLP model #98

avinashcpandey opened this issue Mar 25, 2022 · 1 comment

Comments

@avinashcpandey
Copy link

I see WideDeep has parallel batch support where no. of input samples can be broken into N chunks and run parallely.

Eg. if we are giving parallel_batchess 28, inter=28 intra and num_threads=1 for CSL single socket.
Benchmark will launch 28 graph execution parallely and each will work on provided BS. Please correct me here.

This is the reference I followed.
https://github.com/IntelAI/models/blob/master/benchmarks/recommendation/tensorflow/wide_deep_large_ds/inference/fp32/Advanced.md

Now I want to do the same for CNN model (eg. inceptionV3)
For example Given BS is 280, and given parallel batches is 28. Then 28 graph execution will be created where each graph execution will work on 10 images.

Is this supported? If yes, how can I use it?
If No, Is it there in plan?

I want to do the same for BERT also.

ashahba added a commit that referenced this issue Apr 1, 2022
* Upgrade to Horovod 0.22.1

Signed-off-by: Abolfazl Shahbazi <[email protected]>

* upgrade to even a newer Horovod commit 87094a4

Signed-off-by: Abolfazl Shahbazi <[email protected]>
louie-tsai pushed a commit to intel-ai-tce/models that referenced this issue Dec 3, 2022
* Upgrade to Horovod 0.22.1

Signed-off-by: Abolfazl Shahbazi <[email protected]>

* upgrade to even a newer Horovod commit 87094a4

Signed-off-by: Abolfazl Shahbazi <[email protected]>
@sramakintel
Copy link
Contributor

@avinashcpandey do you still need help with this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants