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

mini-batch-size can impact inference-only test #380

Open
Qinghe12 opened this issue Apr 9, 2024 · 0 comments
Open

mini-batch-size can impact inference-only test #380

Qinghe12 opened this issue Apr 9, 2024 · 0 comments

Comments

@Qinghe12
Copy link

Qinghe12 commented Apr 9, 2024

when I use dlrm mode to run test with --inference-only, I found the time that forward pass used vary a lot when using different mini-batch-size(like :2048 / 8192)

time forward pass used:
200s(mini-batch-size = 8192),100s(mini-batch-size = 2048)

I wonder how mini-batch-size impact inference test.

And what's the differences between mini-batch-size and test-mini-batch-size in inference-only test ?

cmd i use:
dlrm_s_pytorch.py --arch-sparse-feature-size=64 --arch-mlp-bot="512-512-64" --arch-mlp-top="1024-1024-1024-1" --data-generation=dataset --data-set=terabyte --raw-data-file=input/day/day --processed-data-file=input/day/terabyte_processed.npz --loss-function=bce --round-targets=True --learning-rate=0.1 --mini-batch-size=2048 --num-batches=512 --print-freq=1024 --print-time --num-workers=32 --dataset-multiprocessing --inference-only

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

1 participant