Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is it possible to make a amd version using HSA COMPUTE with OpenCL or a directx12 version of this #101

Closed
Cxsmo-ai opened this issue Mar 24, 2023 · 8 comments
Labels
enhancement New feature or request

Comments

@Cxsmo-ai
Copy link

Cxsmo-ai commented Mar 24, 2023

is it possible to make a amd version using HSA COMPUTE with OpenCL or a directx12 version of this

@Cxsmo-ai Cxsmo-ai added the enhancement New feature or request label Mar 24, 2023
@GarrettConway
Copy link
Collaborator

Are you not able to use CPU inference?

@Cxsmo-ai Cxsmo-ai changed the title is it possible to make a amd version or a directx12 version of this is it possible to make a amd version using HSA COMPUTE with OpenCL or a directx12 version of this Mar 24, 2023
@Cxsmo-ai
Copy link
Author

no want the speed of gpu not cpu

@Cxsmo-ai
Copy link
Author

and if it had HSA COMPUTE with OpenCL it would run good on amd and if that's not doable then at least a directx12 version.

@GarrettConway
Copy link
Collaborator

You are welcome to attempt to use the PyTorch ROCm build (it may be as simple as just installing this as your torch, but I have no experience with ROCm build), however it only runs on Linux. Unless another contributor comes in to do this though, I seriously doubt any existing contributor will attempt to explicitly add support as I believe we likely do not have AMD equipment to test this and are focusing on other areas.

@GarrettConway
Copy link
Collaborator

GarrettConway commented Mar 24, 2023

Pytorch ROCm install can be found here: https://pytorch.org/get-started/locally/
You can try just forcing that as your torch version.
Theoretically, the python code is mostly agnostic about ROCm, so it might work by doing just that or some minimal other changes: https://github.com/pytorch/pytorch/blob/master/docs/source/notes/hip.rst#hip-interfaces-reuse-the-cuda-interfaces

@Cxsmo-ai
Copy link
Author

what about this https://github.com/microsoft/antares

@34j
Copy link
Collaborator

34j commented Mar 24, 2023

Unfortunately, there is no need for this repository and it will not be implemented permanently, as the training will only take a few hours and it needs to be compatible with the upstream repository; no PR will be accepted.

@34j 34j closed this as not planned Won't fix, can't repro, duplicate, stale Mar 24, 2023
@34j 34j mentioned this issue Mar 24, 2023
@34j 34j reopened this Mar 25, 2023
@34j
Copy link
Collaborator

34j commented Mar 26, 2023

Migrate to #120

@34j 34j closed this as not planned Won't fix, can't repro, duplicate, stale Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants