Skip to content

Fixing #371 and tried adding directml support #368#376

Open
ChanifRusydi wants to merge 5 commits intoTylerYep:mainfrom
ChanifRusydi:main
Open

Fixing #371 and tried adding directml support #368#376
ChanifRusydi wants to merge 5 commits intoTylerYep:mainfrom
ChanifRusydi:main

Conversation

@ChanifRusydi
Copy link
Copy Markdown

This PR is heavily inspired by #370 to fix #371 . I didn't have AMD GPU at hand, but this PR attempting to address #358. And yes this is quite janky.
The DirectML implementation is solely based on the following documentation and example:
https://github.com/microsoft/DirectML
https://medium.com/@ochwada/preparations-for-pytorch-and-directml-on-amd-ryzen-9-6950h-for-ai-projects-15c164d22332

@ChanifRusydi
Copy link
Copy Markdown
Author

Local testing on Apple Silicon based mac (MPS)
Screenshot 2025-09-16 at 19 29 44

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.

M2 Mac: Runtime error in training of model after call to torchinfo.summary()

1 participant