Skip to content
This repository was archived by the owner on Aug 11, 2020. It is now read-only.

Commit 9a72f1f

Browse files
committed
Allow only tensorflow deployments
1 parent e585eed commit 9a72f1f

File tree

3 files changed

+133
-41
lines changed

3 files changed

+133
-41
lines changed

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ terminaltables = "*"
1616
click-didyoumean = "*"
1717
click-help-colors = "*"
1818
colorama = "*"
19-
19+
click-completion = "*"
2020

2121
[dev-packages]
2222
twine = "*"

Pipfile.lock

Lines changed: 130 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

paperspace/cli/deployments.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def deployments():
1717
DEPLOYMENT_TYPES_MAP = collections.OrderedDict(
1818
(
1919
("TFSERVING", "Tensorflow Serving on K8s"),
20-
("GRADIENT", "Gradient Jobs"),
20+
# ("GRADIENT", "Gradient Jobs"),
2121
)
2222
)
2323

@@ -31,7 +31,7 @@ def deployments():
3131
"deploymentType",
3232
type=ChoiceType(DEPLOYMENT_TYPES_MAP, case_sensitive=False),
3333
required=True,
34-
help="Model deployment type",
34+
help="Model deployment type. Only TensorFlow models can currently be deployed",
3535
)
3636
@click.option(
3737
"--modelId",

0 commit comments

Comments
 (0)