Add thread args to ThreadBuffer#2862
Conversation
merge master
merge master
merge master
merge master
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
|
/black |
wyli
left a comment
There was a problem hiding this comment.
Thanks, I think the default value of buffer size should be the dataloader's batch size, that is to prefetch a batch when loading
|
Hi @wyli , I think maybe the source data of Thanks. |
Hi @Nic-Ma I don't think a buffer size beyond 1 is going to make a difference, except in the possible situation where the time taken to generate batches varies wildly one to the other. If it's set to a larger number it'll function but just take longer to initialize at the start. |
Hi @ericspod , Thanks for your comments, yes, we didn't change the default buffer size in this PR. |
Description
This PR added the threadbuffer args to the
ThreadDataLoader.Status
Ready
Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests.make htmlcommand in thedocs/folder.