question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrade TensorFlow newer version on both GPU and TPU.

See original GitHub issue

RE-POST on Kaggle.


I’m not sure if this is the right place to ask, if it’s not then please redirect.

🚀 Feature

Here are the two requests

  1. Upgrade TensorFlow Version same as the Colab.
  2. Upgrade TensorFlow Version for both GPU and TPU

Motivation

About (1), while doing an experiment on the kaggle environment, it’s known that users usually switch between kaggle and colab. Now, when TensorFlow teams release a newer version of TensorFlow, it immediately upgrades Colab but the process on Kaggle is too slow. And that creates some problems on a mismatch with the newer feature, mostly with tensorflow.experimental.* with tensorflow.<something_stable> for example. So, by ensuring the newer version on the Kaggle environment along with the Colab, it surely gonna be great to the end sure.

About (2), same as the no. 1; currently kaggle upgrades TensorFlow v. 2.6 for GPU but for TPU, it uses 2.4.1. The newer version provides more features. The problem is, if a user uses those new features on GPU (tf v. 2.6), he/she can’t use them on TPU (tf v.2.4) for the comparatively older tensorflow versions.

Additional context

I understand it may be complicated on that side to maintain. But please consider the above issues in the best way possible.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
darien-schettlercommented, Aug 2, 2022

@Philmod - If you want this to be the main thread for grief related to the environments that’s fine… but in that case, it probably shouldn’t have been abandoned for 3 months.

Either reopen the other issue or start making progress on this one. Please.

1reaction
innatcommented, Mar 29, 2022

@rosbo Thanks for the response. Please note, it’s not about TensorFlow version 2.7. The issues are described in detail above. In short,

  • always ensuring the latest tensorflow version
  • tensorflow version consistency between GPU and TPU.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrade TensorFlow to newer version on both GPU and ...
1; currently kaggle upgrades TensorFlow v. 2.6 for GPU but for TPU, it uses 2.4.1. The newer version provides more features. The problem...
Read more >
Automatically rewrite TF 1.x and compat.v1 API symbols
Install TensorFlow 1.15 : Upgrade your TensorFlow to the latest TensorFlow 1. x version, at least 1.15. This includes the final TensorFlow 2.0...
Read more >
Migrate to TensorFlow 2
Upgrade your training, evaluation and model saving code to TF2 equivalents. ... Learn how to migrate the TPUEstimator API to TF2.
Read more >
Migrate from TPU embedding_columns to TPUEmbedding ...
This guide demonstrates how to migrate embedding training on on TPUs from TensorFlow 1's embedding_column API with TPUEstimator to TensorFlow 2's ...
Read more >
Use TPUs | TensorFlow Core
To distribute your model on multiple TPUs (as well as multiple GPUs or multiple machines), TensorFlow offers the tf.distribute.Strategy API.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found