You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The predict method is called by setting gpus=2, but only one gpu is used. model.predict(samples=samples,batch_size=2, gpus=2, devices=2, accelerator="gpu", strategy="ddp")
The text was updated successfully, but these errors were encountered:
cumtsunzhenxing
changed the title
[QUESTION] how to enable multi-gpu when calling the predict method。
[QUESTION] how to enable multi-gpu when calling the predict method
Jul 17, 2024
The predict method is called by setting gpus=2, but only one gpu is used.
model.predict(samples=samples,batch_size=2, gpus=2, devices=2, accelerator="gpu", strategy="ddp")
The text was updated successfully, but these errors were encountered: