Modify project one gpu to multi

Hello,
I saw a good project in github about dctts text to speach.
But this project is for only one gpu:

    device =  "cuda:0"

    graph = Text2Mel().to(device)
    # set the training flag
    graph.train()

i tried ‘dataparallel’ but i’m noob in pytorch and alway i have this error:

AttributeError: 'DataParallel' object has no attribute 'attention'

How i can use my 8 gpu? the Repo is:
https://github.com/chaiyujin/dctts-pytorch

I would appreciate any help, thanks!

Refer to this forum link