Skip to content

[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

Merged
merged 4 commits into from
May 21, 2019
Merged

[TF] Further cleanup of CompilerRuntime and friends #24938

merged 4 commits into from
May 21, 2019

Conversation

burmako
Copy link

@burmako burmako commented May 21, 2019

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.

@burmako burmako added the tensorflow This is for "tensorflow" branch PRs. label May 21, 2019
@burmako burmako requested a review from bgogul May 21, 2019 00:40
@burmako
Copy link
Author

burmako commented May 21, 2019

@swift-ci Please test tensorflow

1 similar comment
@burmako
Copy link
Author

burmako commented May 21, 2019

@swift-ci Please test tensorflow

@@ -91,9 +90,7 @@ extension TestSuite {
public func testTPU(_ name: String, _ body: @escaping () -> Void) {
#if TPU
test(name + "_TPU") {
Copy link
Contributor

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.

Copy link
Author

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!

Copy link
Author

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.

@burmako burmako changed the title [TF-517] Remove _RuntimeConfig.executionMode and friends Remove _RuntimeConfig.executionMode and friends May 21, 2019
@burmako burmako changed the title Remove _RuntimeConfig.executionMode and friends [TF] Further cleanup of CompilerRuntime and friends May 21, 2019
@burmako
Copy link
Author

burmako commented May 21, 2019

@swift-ci Please test tensorflow

1 similar comment
@burmako
Copy link
Author

burmako commented May 21, 2019

@swift-ci Please test tensorflow

@burmako
Copy link
Author

burmako commented May 21, 2019

@swift-ci I'm begging you please test tensorflow

Eugene Burmako added 4 commits May 20, 2019 20:03
  * 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).
Copy link
Contributor

@bgogul bgogul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Eugene!

@dan-zheng
Copy link
Contributor

@swift-ci Please test tensorflow

1 similar comment
@dan-zheng
Copy link
Contributor

@swift-ci Please test tensorflow

@burmako
Copy link
Author

burmako commented May 21, 2019

Merging while the macOS job is running, since it is expected that this job will fail anyway.

@burmako burmako merged commit 51f82c5 into swiftlang:tensorflow May 21, 2019
@burmako burmako deleted the fix/517 branch May 21, 2019 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tensorflow This is for "tensorflow" branch PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants