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
default to cuda:0 if user does not specify the GPU in the config file.
Don't know why the model is loaded every time an inference is requested, probably here we can optimize.
Modify the call to from_pretrained adding the device_map
Once I finish up a handful of infra fixes, I'll take a stab at this.
Now that transformers already supports different ways to LoadModel anyway... it may be worth re-considering merging transformers-musicgen into transformers proper
it's been reported in discord that transformers-musicgen needs some changes to fully support GPU
The text was updated successfully, but these errors were encountered: