Skip to content

Instantly share code, notes, and snippets.

@JasonTam
Created August 27, 2018 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JasonTam/64612263ba0515900fa3553cc044f483 to your computer and use it in GitHub Desktop.
Save JasonTam/64612263ba0515900fa3553cc044f483 to your computer and use it in GitHub Desktop.
example of a config file for tensorflow-serving to serve up multiple models
model_config_list: {
config: {
name: "bag",
base_path: "s3://.../bag_model",
model_platform: "tensorflow",
model_version_policy: {
all: {}
}
},
config: {
name: "lstm",
base_path: "s3://.../lstm_model",
model_platform: "tensorflow",
model_version_policy: {
all: {}
}
},
config: {
name: "div_bag",
base_path: "s3://.../div_bag_model",
model_platform: "tensorflow",
model_version_policy: LATEST_VERSION
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment