Fabric and multiple models #18368
Unanswered
pfeatherstone
asked this question in
DDP / multi-GPU / multi-node
Replies: 2 comments 2 replies
-
Have you tried this guide?: |
Beta Was this translation helpful? Give feedback.
2 replies
-
Regarding the module dict, I opened an issue here #18427. I think it should be possible to support that on the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When calling
fabric.setup()
there isn't an option to pass in multiple models. My current hack is to put them into annn.ModuleDict
but then the returned_FabricModule
object isn't subscriptable likenn.ModuleDict
. Is there a workaround? Note, the equivalent function with Huggingface Accelerate allows this.Beta Was this translation helpful? Give feedback.
All reactions