Autodesk / Autodesk/XLB

IndicesBoundaryMasker in JAX causes halting problem when used in multi-GPU

Open
#93 3 comments 0 reactions 1 assignee Claimed by @hsalehipour View on GitHub
Dominant language
Python
Stars
507
Forks
85
PR merge metrics
No merged PRs in 30d

Description

The current implementation occasionally causes halting between GPUs when padding is applied to the bmap. This issue primarily arises because the function cannot be JIT-compiled.

In the JAX implementation of IndicesBoundaryMasker, there are several operations, such as conditional statements, that are not supported in JIT-compiled JAX. The previous implementation was JIT-compatible and did not encounter these issues, which should serve as the reference for resolving this problem.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.