-
Notifications
You must be signed in to change notification settings - Fork 720
Add Runpod Data Fetcher for Community and Secure Pods #5929
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
base: master
Are you sure you want to change the base?
Conversation
if gpu.get('secureCloud'): | ||
cloud_type = 'SECURE' | ||
price = gpu['securePrice'] | ||
elif gpu.get('communityCloud'): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I understand entries can have secureCloud
and communityCloud
as both true if the GPU is available in both. This appears to skip those entries for communityCloud
, unless I misunderstand?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are correct and good find, fixing that!
Also, there seems to be another PR that adds the same feature: |
Just saw this PR, only difference with this is that it adds the Community Pods. |
Hi, yes I understand that this PR implements community cloud, which is why I'm on board! The question was more around if there's two PRs both targeting the same feature how is it decided which one goes in? To help this one get in, I've tested it and have some comments and a comparison to the other issue: Also, I'm happy to help implement any features and propose some fixes. Testing
Bugs
InstanceType,AcceleratorName,AcceleratorCount,vCPUs,MemoryGiB,GpuInfo,Region,SpotPrice,Price
InstanceType,AcceleratorName,AcceleratorCount,vCPUs,MemoryGiB,GpuInfo,Region,SpotPrice,OnDemandPrice,Price,Name
grep -rni "OnDemandPrice" *
sky/catalog/data_fetchers/fetch_runpod.py:284: 'OnDemandPrice', Proposed improvementsIn the current implementation current code that runs on Secure Cloud will switch to Community Cloud without any config changes. This may be a problem for existing users. This is due to skypilot choosing the cheapest option of all matching config types, so if we specify resources available on both clouds for example RTX4090 without a specific
I think it would be useful to implement a new option that specifies the cloud type (secure or community cloud)
with This would improve the usability a low as currently we need to specify the full Differences to #5030There are a few differences between #5930 and this PR #5929 that I can see as important:
|
Not going to have time to work on all the improvements in the meantime. I can add the fixes from the difference and improvements to the other branch. |
I'm motivated and interested in getting RunPod Community Cloud support into SkyPilot so I'm happy to help by putting fixes into this PR or porting features from this PR into #5930. |
Add data fetcher for runpod for Community and Secure Pods
In relation to Issue Runpod community on-demand is not listed #3441
Tested (run the relevant ones):
bash format.sh