Share DeviceMesh between PiPPy and SPMD
See original GitHub issueI see there is a DeviceMesh abstraction in spmd
: https://github.com/pytorch/PiPPy/blob/main/spmd/tensor/device_mesh.py
Can we use this abstraction as shared infrastructure? For example, PipelineDriver.init_data_parallel
[https://github.com/pytorch/PiPPy/blob/877eb8c675dd0e34731961c043f8ae2cc1e49a77/pippy/PipelineDriver.py#L461] rolls a lot of these concepts by hand; can we use DeviceMesh here?
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Share DeviceMesh between PiPPy and SPMD - pytorch/tau
I see there is a DeviceMesh abstraction in spmd: https://github.com/pytorch/PiPPy/blob/main/spmd/tensor/device_mesh.py Can we use this ...
Read more >Stadium App - Fan Engagement App - DeviceMesh - Light ...
In-app sponsor and advertising opportunities; Sell event product, merchandise via the app; Take donations from your audience; Share the moment via social ...
Read more >DeviceMesh
DeviceMesh. 63 likes. DeviceMesh synchronises playback of video across devices to create a video wall made out of smartphones and tablet devices.
Read more >CommonJS or AMD dependencies can cause optimization ...
Basically, import zonedTimeToUtc from 'date-fns-tz/zonedTimeToUtc' instead of import ... Share DeviceMesh between PiPPy and SPMD, 5, 2022-07-15, 2022-12-01.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No
From the PiPPy readme
PP, TP, and DP compose together by handling concerns across different dimensions of the device grid. e.g. there is a pipeline dimension across which there are MPMD stages, and all of the other dimensions of the device grid are handled by the SPMD implementations within each stage
No, cross-stage is a dimension of the device mesh similarly to SPMD ranks residing along dimensions of the device mesh
Would it be possible to separate the concept of pipeline driver from the concept of mesh such that we can have a pipeline driver that doesn’t depend on it?