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
Hi, there! I am working on compiling a DNN model with XLA on two GPUs. After calling xe.run_auto_sharding(hlo, compile_options) and xe.run_spmd_partitioner(hlo, compile_options), I print the HLO text of the sharded module and got:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, there! I am working on compiling a DNN model with XLA on two GPUs. After calling
xe.run_auto_sharding(hlo, compile_options)
andxe.run_spmd_partitioner(hlo, compile_options)
, I print the HLO text of the sharded module and got:In the HLO text, the replica_groups of the all-reduce.16 is
{{0}}
. According to the descriptions in https://tensorflow.google.cn/xla/operation_semantics?hl=en&authuser=0#allreduce, shouldn't the number of replicas inreplica_groups
be more than 1?It confuses me a lot, and any kindly advice is appreciated! Thank you!
Beta Was this translation helpful? Give feedback.
All reactions