Skip to content

Commit

Permalink
update trainer_config builder helper
Browse files Browse the repository at this point in the history
  • Loading branch information
pattonw committed Feb 18, 2025
1 parent 6e613e5 commit b07ecd1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/operations/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,12 @@
from pathlib import Path


def build_test_train_config(multiprocessing: bool):
def build_test_train_config():
"""
Builds the simplest possible trainer given the parameters.
"""
return GunpowderTrainerConfig(
name="test_trainer",
batch_size=1,
learning_rate=0.0001,
num_data_fetchers=1 + multiprocessing,
snapshot_interval=1,
)


Expand Down

0 comments on commit b07ecd1

Please sign in to comment.