Merge pull request #323 from NousResearch/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate
This commit is contained in:
dmahan93 2026-01-26 11:02:44 -08:00 committed by GitHub
commit e8fd85429f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 28 additions and 50 deletions

View file

@ -84,10 +84,8 @@ class TaskDataModule(LightningDataModule):
if not data:
raise NotImplementedError("Each task has its own data set")
if not self.batch_size or self.batch_size < 1:
raise NotImplementedError(
"Each task configures its own batch_size. \
Please set it explicitly, to avoid confusion."
)
raise NotImplementedError("Each task configures its own batch_size. \
Please set it explicitly, to avoid confusion.")
def train_dataloader(self):
self.check_dataset(self.data_train)