-
Notifications
You must be signed in to change notification settings - Fork 628
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
Add DALI proxy option to EfficientNet example #5791
base: main
Are you sure you want to change the base?
Conversation
if self._dali_server is not None: | ||
self._dali_server.__exit__(exc_type, exc_value, traceback) | ||
|
||
with DALIServerCtx(train_loader), DALIServerCtx(val_loader): |
Check failure
Code scanning / CodeQL
Potentially uninitialized local variable Error documentation
if self._dali_server is not None: | ||
self._dali_server.__exit__(exc_type, exc_value, traceback) | ||
|
||
with DALIServerCtx(train_loader), DALIServerCtx(val_loader): |
Check failure
Code scanning / CodeQL
Potentially uninitialized local variable Error documentation
with DALIServerCtx(train_loader), DALIServerCtx(val_loader): | ||
train_loop( | ||
trainer, | ||
lr_policy, |
Check failure
Code scanning / CodeQL
Potentially uninitialized local variable Error documentation
trainer, | ||
lr_policy, | ||
train_loader, | ||
train_loader_len, |
Check failure
Code scanning / CodeQL
Potentially uninitialized local variable Error documentation
train_loader, | ||
train_loader_len, | ||
val_loader, | ||
logger, |
Check failure
Code scanning / CodeQL
Potentially uninitialized local variable Error documentation
train_loader_len, | ||
val_loader, | ||
logger, | ||
start_epoch=start_epoch, |
Check failure
Code scanning / CodeQL
Potentially uninitialized local variable Error documentation
c61f5c9
to
ea1bb74
Compare
!build |
CI MESSAGE: [22747398]: BUILD STARTED |
# DALI proxy without automatic augmentations | ||
python multiproc.py --nproc_per_node 8 ./main.py --amp --static-loss-scale 128 --batch-size 512 --workers 13 --epochs 3 --no-checkpoints --training-only --data-backend dali_proxy --automatic-augmentation disabled --workspace $RESULT_WORKSPACE --report-file bench_report_dali_proxy.json $PATH_TO_IMAGENET | ||
|
||
# DALI proxy with AutoAugment | ||
python multiproc.py --nproc_per_node 8 ./main.py --amp --static-loss-scale 128 --batch-size 128 --workers 13 --epochs 3 --no-checkpoints --training-only --data-backend dali_proxy --automatic-augmentation autoaugment --workspace $RESULT_WORKSPACE --report-file bench_report_dali_proxy_aa.json $PATH_TO_IMAGENET | ||
|
||
# DALI proxy with TrivialAugment | ||
python multiproc.py --nproc_per_node 8 ./main.py --amp --static-loss-scale 128 --batch-size 128 --workers 13 --epochs 3 --no-checkpoints --training-only --data-backend dali_proxy --automatic-augmentation trivialaugment --workspace $RESULT_WORKSPACE --report-file bench_report_dali_proxy_ta.json $PATH_TO_IMAGENET | ||
|
||
# ----- |
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.
Probably this is just my preference, can you move it to L70 so we have all cases with DALI grouped together?
CI MESSAGE: [22747398]: BUILD FAILED |
Signed-off-by: Joaquin Anton Guirao <[email protected]>
ea1bb74
to
120db77
Compare
Category:
Other
Description:
Add DALI proxy option to EfficientNet example
Add performance check of DALI proxy variant to efficient net performance test
Additional information:
Affected modules and functionalities:
Examples
Key points relevant for the review:
Tests:
Checklist
Documentation
DALI team only
Requirements
REQ IDs: N/A
JIRA TASK: N/A