Skip to content

AI: Upgrade TensorFlow from v1.15.2 to v2.18.0 #222

Description

@lastzero

As a Go developer, I want to upgrade to the latest version of the TensorFlow library, so that I get all the latest features and can use the latest hardware for faster inference.

We are currently using TensorFlow 1.15.2 and would like to upgrade to version 2.x (or later):

Since the TensorFlow project team has decided to remove the Go library wrapper originally available in the tensorflow/tensorflow repository, the galeone/tfgo project provides an alternative Go wrapper for TensorFlow v2. However, it may not support the very latest v2 release or needs to be upgraded first to support it (as it is an open-source project, you can submit a PR with the necessary changes).

Related Issues:

Acceptance Criteria:

  • Identify all major steps necessary to upgrade our Docker image and the application code to TensorFlow 2 (e.g. check documentation of TensorFlow Go library)
  • Note that we also support arm64, not just x86, so we need to be able to build TF2 for/on the Raspberry Pi 3/4 (64bit Linux)
  • Test our existing models with TensorFlow 2 and make sure they continue to work as expected (run existing unit tests and do manual acceptance tests)
  • Document your findings here in this ticket plus add a summary to our wiki (stream of issue comments can be confusing to use as todo list to perform the actual upgrade later)

Our Developer Guide explains how to set up a local build environment. You are welcome to contact us via email or chat if you would like to work on this and need additional guidance to get started.

Metadata

Metadata

Labels

aiArtificial Intelligence, Machine Learning (ML)performancePerformance OptimizationreleasedAvailable in a stable releasetestedChanges have been tested successfullyupgradeUpgrade to a new version or framework

Type

Fields

No fields configured for Task.

Projects

Status
Release 🌈

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions