gitarsenal-cli 1.4.8 ā 1.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -944,8 +944,8 @@ def create_modal_sandbox(gpu_type, repo_url=None, repo_name=None, setup_commands
|
|
944
944
|
'T4': {'gpu': 'T4', 'memory': 16},
|
945
945
|
'L4': {'gpu': 'L4', 'memory': 24},
|
946
946
|
'A10G': {'gpu': 'A10G', 'memory': 24},
|
947
|
-
'A100-
|
948
|
-
'A100-
|
947
|
+
'A100-40': {'gpu': 'A100-SXM4-40GB', 'memory': 40},
|
948
|
+
'A100-80': {'gpu': 'A100-80', 'memory': 80},
|
949
949
|
'L40S': {'gpu': 'L40S', 'memory': 48},
|
950
950
|
'H100': {'gpu': 'H100', 'memory': 80},
|
951
951
|
'H200': {'gpu': 'H200', 'memory': 141},
|
@@ -4108,8 +4108,8 @@ def prompt_for_gpu():
|
|
4108
4108
|
'T4': {'gpu': 'T4', 'memory': '16GB'},
|
4109
4109
|
'L4': {'gpu': 'L4', 'memory': '24GB'},
|
4110
4110
|
'A10G': {'gpu': 'A10G', 'memory': '24GB'},
|
4111
|
-
'A100-
|
4112
|
-
'A100-
|
4111
|
+
'A100-40': {'gpu': 'A100-40GB', 'memory': '40GB'},
|
4112
|
+
'A100-80': {'gpu': 'A100-80GB', 'memory': '80GB'},
|
4113
4113
|
'L40S': {'gpu': 'L40S', 'memory': '48GB'},
|
4114
4114
|
'H100': {'gpu': 'H100', 'memory': '80GB'},
|
4115
4115
|
'H200': {'gpu': 'H200', 'memory': '141GB'},
|
@@ -4146,9 +4146,9 @@ def prompt_for_gpu():
|
|
4146
4146
|
def display_menu():
|
4147
4147
|
"""Display the GPU selection menu with current selection highlighted."""
|
4148
4148
|
print("\nš Available GPU Options:")
|
4149
|
-
print("
|
4150
|
-
print("ā GPU Type
|
4151
|
-
print("
|
4149
|
+
print("āāāāāāāāāāāāāāāā¬āāāāāāāāāā")
|
4150
|
+
print("ā GPU Type ā Memory ā")
|
4151
|
+
print("āāāāāāāāāāāāāāāā¼āāāāāāāāāā¤")
|
4152
4152
|
|
4153
4153
|
for i, gpu_type in enumerate(options):
|
4154
4154
|
specs = gpu_specs[gpu_type]
|
@@ -4167,7 +4167,7 @@ def prompt_for_gpu():
|
|
4167
4167
|
|
4168
4168
|
print(f"ā {gpu_padded} ā {specs['memory']:<7} ā{suffix}")
|
4169
4169
|
|
4170
|
-
print("
|
4170
|
+
print("āāāāāāāāāāāāāāāā“āāāāāāāāāā")
|
4171
4171
|
print("Use ā/ā arrows to select, Enter to confirm, Ctrl+C to cancel")
|
4172
4172
|
|
4173
4173
|
# Clear screen and show initial menu
|
@@ -4287,6 +4287,18 @@ if __name__ == "__main__":
|
|
4287
4287
|
gpu_type = prompt_for_gpu()
|
4288
4288
|
args.gpu = gpu_type
|
4289
4289
|
|
4290
|
+
# Display configuration after GPU selection
|
4291
|
+
print("\nš Container Configuration:")
|
4292
|
+
print(f"Repository URL: {args.repo_url or 'Not specified'}")
|
4293
|
+
print(f"GPU Type: {gpu_type}")
|
4294
|
+
print(f"Volume: {args.volume_name or 'None'}")
|
4295
|
+
if args.use_api:
|
4296
|
+
print("Setup Commands: Auto-detect from repository")
|
4297
|
+
elif args.setup_commands:
|
4298
|
+
print(f"Setup Commands: {len(args.setup_commands)} custom commands")
|
4299
|
+
else:
|
4300
|
+
print("Setup Commands: Auto-detect from repository")
|
4301
|
+
|
4290
4302
|
# Interactive mode or missing required arguments
|
4291
4303
|
if args.interactive or not args.repo_url or not args.volume_name:
|
4292
4304
|
# Get repository URL if not provided
|