Skip to content

Commit

Permalink
Update base.py (#3750)
Browse files Browse the repository at this point in the history
  • Loading branch information
jetaudio authored Oct 25, 2023
1 parent a5628f3 commit 6b18a8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ludwig/backend/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def create_trainer(
) -> BaseTrainer: # type: ignore[override]
from ludwig.trainers.trainer import Trainer

return Trainer(distributed=self._distributed, **kwargs)
return Trainer(config, model, distributed=self._distributed, **kwargs)

def create_predictor(self, model: BaseModel, **kwargs):
from ludwig.models.predictor import get_predictor_cls
Expand Down

0 comments on commit 6b18a8e

Please sign in to comment.