Skip to content

How to patch a multi-run downstream operation, for example tensorboard:multi-run #1502

Discussion options

You must be logged in to vote

You can add the following runPatch:

...
patchStrategy: replace
runPatch:
  container:
    command: ["bash", "-c"]
    args:
      - "pip install -U tensorboard-plugin-profile && tensorboard --logdir={{globals.artifacts_path}} --port={{globals.ports[0]}} --path_prefix={{globals.base_url}} --host=0.0.0.0"

For the specific case of tensorboard, we will add a new input plugins of type List[str] to the tensorboard component versions , so instead of patching the component, users can pass a parameter:

params:
  plugins: { value: [tensorboard-plugin-profile, tensorboard-plugin-custom, ...] }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by polyaxon-team
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment