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.

TFX CLI using the TFX Docker container image https://hub.docker.com/r/tensorflow/tfx

See original GitHub issue

System information

  • Have I specified the code to reproduce the issue(Yes/No): yes
  • Environment in which the code is executed (e.g., Local(Linux/MacOS/Windows), Interactive Notebook, Google Cloud, etc): Cloud Build
  • TensorFlow version (you are using): /
  • TFX Version: 0.28.0
  • Python version: 3

Describe the current behavior The TFX Docker container image (https://hub.docker.com/r/tensorflow/tfx) runs into error when using as part of a CI/CD pipeline (TFX CLI)

Error:

Step #1: Status: Downloaded newer image for tensorflow/tfx:latest
Step #1: docker.io/tensorflow/tfx:latest
Step #1: 2021/03/19 18:50:40 No id provided.
Finished Step #1
ERROR
ERROR: build step 1 "tensorflow/tfx" failed: step exited with non-zero status: 1

Usage:

- name: 'tensorflow/tfx'
    args: ['pipeline', 'create', '--engine', 'kubeflow', '--pipeline_path', 'runner.py', '--endpoint', 'removed']
    dir: 'pipeline'

In my opinion this would be working with the default TFX container image. Can someone confirm or deny? As workaround, I created my own docker image which basically calls the same

FROM ...
ENTRYPOINT ["tfx"]

Describe the expected behavior no error

Standalone code to reproduce the issue see above

Name of your Organization (Optional) /

Other info / logs

Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
SaschaHeyercommented, Apr 13, 2021

@jiyongjung0 good point give it a try this week and get back to you

1reaction
jiyongjung0commented, Mar 30, 2021

@SaschaHeyer I have a quick question on this.

Have you tried entrypoint config of cloudbuild.yaml? It seems like we can override the entrypoint and don’t need to have a separate image.

Read more comments on GitHub >

github_iconTop Results From Across the Web

tensorflow/tfx - Docker Image
Wasm is a fast, light alternative to Linux containers – try it out today with the Docker+Wasm Beta. ✕.
Read more >
TensorFlow Serving with Docker | TFX
One of the easiest ways to get started using TensorFlow Serving is with Docker. # Download the TensorFlow Serving Docker image and repo...
Read more >
docker - How to run a tensorflow/tfx container? - Stack Overflow
You can use docker image ls to get a list of locally-built Docker images. Note that an "image" is a template for a...
Read more >
tfx-cli - npm
CLI for Azure DevOps Services and Team Foundation Server. Latest version: 0.12.0, last published: 7 months ago. Start using tfx-cli in your ...
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