-
Notifications
You must be signed in to change notification settings - Fork 14
Unable to use multiple devices #9
Copy link
Copy link
Open
Description
It appears the number of devices is hardcoded:
Line 481 in e2988f5
| trainer = pl.Trainer(max_epochs=n_epochs, devices=1) |
Line 517 in e2988f5
| trainer = pl.Trainer(devices=1) |
Given the contrastive learning task, it would be preferable to utilize more resources for training and allow the devices argument to be passed to your model classes.
I'm unsure to what extent other aspects of the model would require changes, but I believe the learning rate calculation in lr_from_batchsize would need to be updated as well (batch_size * devices).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels