make sure the CI fails when pytest script fails (#1669)

* make sure the pytest script fails

* make sure the defaults come through for tests

* make sure tensorboard is loaded for test assertion
This commit is contained in:
Wing Lian
2024-05-29 10:12:11 -04:00
committed by GitHub
parent 49b967b62f
commit fe650dd326
3 changed files with 4 additions and 2 deletions

View File

@@ -80,8 +80,8 @@ class MultipackBatchSampler(BatchSampler):
self.lengths = np.array(lengths, dtype=np.int32)
self.batch_max_len = batch_max_len
self.batch_size = batch_size
self.group_size = group_size
self.bin_size = bin_size
self.group_size = group_size if group_size is not None else 100_000
self.bin_size = bin_size if bin_size is not None else 200
self.drop_last = drop_last
self._efficiency = None