-
Notifications
You must be signed in to change notification settings - Fork 13
Auto GPU detection + Updated run args generation for 5.0 #433
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
base: dev
Are you sure you want to change the base?
Conversation
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅ |
@@ -518,12 +519,22 @@ def preprocess(i): | |||
if dla_inference_streams: | |||
run_config += f" --dla_inference_streams={dla_inference_streams}" | |||
|
|||
gpu_batch_size = env.get('MLC_MLPERF_NVIDIA_HARNESS_GPU_BATCH_SIZE') | |||
gpu_batch_size = state.get('batch_size', env.get( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Guard this for v5.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed in commit 796c363.
For 5.0, the correct format is --dla/gpu_batch_size=model:batch_size
. Since users could provide batch size manually, I have placed MLC_MLPERF_NVIDIA_HARNESS_GPU_BATCH_SIZE
as alternative source to state.
No description provided.