-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[TF] Further cleanup of CompilerRuntime and friends #24938
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
Conversation
@swift-ci Please test tensorflow |
1 similar comment
@swift-ci Please test tensorflow |
@@ -91,9 +90,7 @@ extension TestSuite { | |||
public func testTPU(_ name: String, _ body: @escaping () -> Void) { | |||
#if TPU | |||
test(name + "_TPU") { |
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 all these test functions are also obsolete actually.
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.
Further cleanup, here I come!
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.
@rxwei I've done some further cleanup. PTAL.
@swift-ci Please test tensorflow |
1 similar comment
@swift-ci Please test tensorflow |
@swift-ci I'm begging you please test tensorflow |
* TF_CreateConfig.enable_xla_compilation is now hardcoded to 0. * TPU tests now unconditionally fail instead of pretending to work.
These functions have empty bodies, but they have pretty high-profile names which gives an impression that they do something important. With that in mind, I think it would be best to remove these functions without any deprecation notice because there aren't any comparable replacements at the moment.
This commit removes the remnants of the obsolete TPU testing infrastructure. In the nearest future, we are planning to restore it within the new tracing runtime (https://bugs.swift.org/browse/TF-520).
This commit removes the remnants of the obsolete TPU runtime infrastructure. In the nearest future, we are planning to restore it within the new tracing runtime (https://bugs.swift.org/browse/TF-519).
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.
Thanks, Eugene!
@swift-ci Please test tensorflow |
1 similar comment
@swift-ci Please test tensorflow |
Merging while the macOS job is running, since it is expected that this job will fail anyway. |
I was getting started with TPU support, and this functionality wasn't doing what it was advertising. After a chat with the team, I learned that it was designed to work with GPE, and with GPE gone it doesn't make much sense anymore. Therefore, I decided to go ahead and remove it.