Skip to content

Commit 4455b50

Browse files
committed
ensure_dump
1 parent bbde376 commit 4455b50

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

truss/cli/cli.py

+5-9
Original file line numberDiff line numberDiff line change
@@ -65,23 +65,17 @@
6565
{
6666
"name": "Main usage",
6767
"commands": ["init", "push", "watch", "predict"],
68-
"table_styles": { # type: ignore
69-
"row_styles": ["green"]
70-
},
68+
"table_styles": {"row_styles": ["green"]}, # type: ignore
7169
},
7270
{
7371
"name": "Advanced Usage",
7472
"commands": ["image", "container", "cleanup"],
75-
"table_styles": { # type: ignore
76-
"row_styles": ["yellow"]
77-
},
73+
"table_styles": {"row_styles": ["yellow"]}, # type: ignore
7874
},
7975
{
8076
"name": "Chains",
8177
"commands": ["chains"],
82-
"table_styles": { # type: ignore
83-
"row_styles": ["red"]
84-
},
78+
"table_styles": {"row_styles": ["red"]}, # type: ignore
8579
},
8680
]
8781
}
@@ -1179,6 +1173,8 @@ def push(
11791173
"`num_builder_gpus` can be used to specify the number of GPUs to use at build time."
11801174
)
11811175
console.print(fp8_and_num_builder_gpus_text, style="yellow")
1176+
# dump full config to yaml to ensure forward compatibility of current defaults
1177+
tr.spec.config.write_to_yaml_file(tr.spec.config_path, verbose=False)
11821178

11831179
# TODO(Abu): This needs to be refactored to be more generic
11841180
service = remote_provider.push(

0 commit comments

Comments
 (0)