Skip to content

Commit

Permalink
RDS-867: Remove num_workers and related params from dgan DataLoader
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 312d736944acc69e7068f5fe70cd89ca529fa0d4
  • Loading branch information
kboyd committed Mar 19, 2024
1 parent 5be7b76 commit 3175102
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/gretel_synthetics/timeseries_dgan/dgan.py
Original file line number Diff line number Diff line change
Expand Up @@ -788,11 +788,7 @@ def _train(
self.config.batch_size,
shuffle=True,
drop_last=drop_last,
num_workers=2,
prefetch_factor=4,
persistent_workers=True,
pin_memory=True,
multiprocessing_context="fork",
)

opt_discriminator = torch.optim.Adam(
Expand Down

0 comments on commit 3175102

Please sign in to comment.