Skip to content

[UX] Shorter resource syntax for dstack apply, dstack offer, anddstack ps #2572

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

peterschmidt85
Copy link
Contributor

Closes #2571

@r4victor
Copy link
Collaborator

Takes more space than before as the columns do not wrap:

Before:

 NAME               BACKEND         RESOURCES        PRICE   STATUS  SUBMITTED  
 fresh-eagle-1                                               done    3 days ago 
   replica=0 job=0  gcp             208xCPU,         $20.57  done    3 days ago 
                    (europe-west4)  1872GB, 8xH100                              
                                    (80GB), 100.0GB                             
                                    (disk), SPOT                                
   replica=0 job=1  gcp             208xCPU,         $20.57  done    3 days ago 
                    (europe-west4)  1872GB, 8xH100                              
                                    (80GB), 100.0GB                             
                                    (disk), SPOT                                

After:

 NAME              C…  MEMO…  GPU         DISK  PRICE         STATUS  SUBMITTED 
 fresh-eagle-1                                                done    3 days a… 
   replica=0 job…  2…  1872…  H100:80GB…  100…  $20.57 (spo…  done    3 days a… 
   replica=0 job…  2…  1872…  H100:80GB…  100…  $20.57 (spo…  done    3 days a…

@peterschmidt85
Copy link
Contributor Author

@r4victor
Yes, indeed, many columns don't work with narrow terminal width.

  • Changed back to one RESOURCES column.
  • Updated the format of RESOURCES for higher readability/ergonomics.

@peterschmidt85 peterschmidt85 merged commit 7e41dec into master Apr 29, 2025
25 checks passed
@peterschmidt85 peterschmidt85 deleted the 2571-ux-shorter-resource-syntax-for-dstack-apply-dstack-offer-and-dstack-ps branch April 29, 2025 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[UX] Shorter resource syntax for dstack apply, dstack offer, and dstack ps
2 participants