We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6be7fb commit 85d90f0Copy full SHA for 85d90f0
tests/models/test_decoders.py
@@ -603,8 +603,6 @@ def _get_device_validation_information(
603
if cpu_validation_info is not None:
604
return cpu_validation_info
605
606
- # Don't save iter 0 for AIU only
607
- skip_save = device == "aiu" and token_iter == 0
608
# overrides for validation info that are device specific
609
device_dependent_kwargs = {}
610
if device == "cpu":
@@ -623,7 +621,7 @@ def _get_device_validation_information(
623
621
**extra_kwargs,
624
622
**device_dependent_kwargs,
625
)
626
- if not skip_save and SAVE_VALIDATION_INFO_OUTPUTS:
+ if SAVE_VALIDATION_INFO_OUTPUTS:
627
dprint(f"saving {device} validation for - iter={token_iter}")
628
validation_info.save(
629
__get_validation_info_full_path(
0 commit comments