-
Notifications
You must be signed in to change notification settings - Fork 99
Added support for gfx950 architecture platform #2850
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
base: develop-upstream
Are you sure you want to change the base?
Conversation
i. migrating third_party/mkl to @local_xla//xla/tsl/mkl ii. removal of cuda.h header iii. replace build_pip_package rule with wheel in build_rocm_python3 script
@@ -47,35 +47,22 @@ else | |||
fi | |||
|
|||
if [ -f /usertools/rocm.bazelrc ]; then | |||
# Use the bazelrc files in /usertools if available |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these changes needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted it. I added this to fix CI build, however it is only use for locally build. I may merge in separate PR if required
c928bb2
to
ed6bf74
Compare
@@ -116,7 +116,8 @@ bool HasFastFP16Support(const DeviceProperties& props) { | |||
#elif TENSORFLOW_USE_ROCM | |||
absl::flat_hash_set<std::string> FP16SupportedDevices = { | |||
{"gfx906"}, {"gfx908"}, {"gfx90a"}, {"gfx910"}, {"gfx940"}, {"gfx941"}, | |||
{"gfx942"}, {"gfx1010"}, {"gfx1012"}, {"gfx1030"}, | |||
{"gfx942"}, {"gfx950"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any gfx that is not listed here at this point? Should we just return true?
@@ -340,7 +340,8 @@ std::string MapGCNArchNameTokenToFeatureStr(const std::string& token, | |||
return "+sramecc"; | |||
} else if (token == "sramecc-") { | |||
if (gfx == "gfx90a" || gfx == "gfx940" || gfx == "gfx941" || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should remove this? This was a workaround for one specific machine. Albeit we might just do it unconditionally.
No description provided.