<#5800 [BUG] Single Node Multiple GPU HorovodJob F...
# flyte-github
c
#5800 [BUG] Single Node Multiple GPU HorovodJob Failure with pyflyte-fast-execute Issue created by hebiao064 ### Describe the bug # Bug Report: Single Node Multiple GPU HorovodJob Failure with pyflyte-fast-execute ## Issue Description When executing a Flyte workflow containing a Multiple GPU HorovodJob using
pyflyte-fast-execute
, the HorovodJob fails with a
File Exists
error. However, Single GPU or Multiple Node (each node with 1 GPU) configurations work as expected. ## Error Message
Copy code
<stderr>:tar: ./main/resources/{redacted}: Cannot open: File exists
## Current Behavior • Multiple GPU HorovodJob on a single node fails • Single GPU configurations succeed • Multiple Node configurations (each node with 1 GPU) succeed ## Additional Information • Command used:
pyflyte-fast-execute
• Configuration: Multiple GPUs on a single node ## Next Steps 1. Investigate the file system operations during job execution 2. Check for potential race conditions in resource allocation 3. Review HorovodJob implementation for multi-GPU support 4. Test with different GPU configurations to isolate the issue ### Expected behavior ## Expected Behavior Single Node Multiple GPU Horovod Job should succeed when executed with
pyflyte-fast-execute
### Additional context to reproduce ## Root Cause The issue stems from the HorovodJob attempting to run three parts of commands sequentially: 1. Horovod prefix command:
horovod run ...
2. Pyflyte fast execute:
pyflyte-fast-execute ...
3, Pyflyte execute task:
pyflyte-execute ...
This sequence appears to be causing conflicts since
pyflyte-fast-execute
command will be ran on each process hence it will unzip the fast registration tar.gz onto the same node multiple times. ### Screenshots No response ### Are you sure this issue hasn't been raised already? • Yes ### Have you read the Code of Conduct? • Yes flyteorg/flyte