Skip to content

Adapt code for PyTorch and JAX#6

Draft
buildwithsuhana wants to merge 3 commits intofix_optmfrom
cursor/adapt-code-for-pytorch-and-jax-a534
Draft

Adapt code for PyTorch and JAX#6
buildwithsuhana wants to merge 3 commits intofix_optmfrom
cursor/adapt-code-for-pytorch-and-jax-a534

Conversation

@buildwithsuhana
Copy link
Owner

Update DistributedBackend to respect explicit backend selection and fix PyTorch device reporting.

This change allows users to explicitly specify 'pytorch' or 'jax' as the backend, preventing auto-detection from overriding the choice. It also corrects an issue where PyTorch device information was inaccurately reported, now listing actual CUDA devices or falling back to cpu:0.


Open in Cursor Open in Web

Co-authored-by: suhanagun <suhanagun@gmail.com>
@cursor
Copy link

cursor bot commented Aug 26, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

cursoragent and others added 2 commits August 26, 2025 06:39
Co-authored-by: suhanagun <suhanagun@gmail.com>
Co-authored-by: suhanagun <suhanagun@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants