Skip to content

Commit

Permalink
rename headers
Browse files Browse the repository at this point in the history
  • Loading branch information
romilbhardwaj committed May 2, 2024
1 parent 6bbbf25 commit a263365
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sky/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2917,10 +2917,12 @@ def _kubernetes_realtime_gpu_output(name_filter: Optional[str] = None,
quantity_filter: Optional[int] = None):
if quantity_filter:
qty_header = 'QTY_FILTER'
free_header = 'FILTERED_FREE_GPUS'
else:
qty_header = 'QTY_PER_NODE'
free_header = 'TOTAL_FREE_GPUS'
realtime_gpu_table = log_utils.create_table(
['GPU', qty_header, 'TOTAL_GPUS', 'AVAILABLE_GPUS'])
['GPU', qty_header, 'TOTAL_GPUS', free_header])
counts, capacity, available = service_catalog.list_accelerator_realtime(
gpus_only=True,
clouds=cloud,
Expand Down

0 comments on commit a263365

Please sign in to comment.