Would it be possible to make PhysicsML support CUDA graphs? In some cases it can provide a large speed improvement.
The main requirements to be graph compatible are that tensor shapes have to be static, and it doesn't support dynamic control flow. These also are similar to the requirements for torch.export(), which will be an important mechanism to support once the API stabilizes.
Would it be possible to make PhysicsML support CUDA graphs? In some cases it can provide a large speed improvement.
The main requirements to be graph compatible are that tensor shapes have to be static, and it doesn't support dynamic control flow. These also are similar to the requirements for
torch.export(), which will be an important mechanism to support once the API stabilizes.