dstack icon indicating copy to clipboard operation
dstack copied to clipboard

Need ability to choose disk size for vastai instead of the hardcoded 80GB

Open iRohith opened this issue 1 year ago • 3 comments

iRohith avatar Mar 07 '24 07:03 iRohith

@iRohith, I'm not sure I understand what "hardcoded 80GB" is referring to. Can you please point in the code where the hardcode is and what it affects?

r4victor avatar Mar 12 '24 12:03 r4victor

@r4victor It is hard coded here https://github.com/dstackai/dstack/blob/28a72b170cbe77c034dbae1a3f9b94972350d7dc/src/dstack/_internal/core/backends/vastai/api_client.py#L12. Other providers like aws. gcp, azure create an instance with specific disk size when we specify disk size in requirements but not vast ai. It shows no offers when we specify exact disk size.

iRohith avatar Mar 12 '24 12:03 iRohith

Got it! Will take care of it.

r4victor avatar Mar 12 '24 12:03 r4victor