Skip to content

Share code between api.py #202

Closed
Closed
@vishalbollu

Description

@vishalbollu

Description

Currently ONNX api and TensorFlow api containers are made up of different images with different python files.

pkg/workloads/tf_api/
pkg/workloads/onnx_serve/
pkg/workloads/predictor_serve/

Motivation

Refactoring them will reduce code duplicity.

Also revisit Python error wrapping

Additional Context

  • ONNX API pod is just the flask container where is TF API pod consists of the flask container and a TensorFlow serving container
  • The metadata injected into request handlers is different

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestrefactorImprove code quality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions