skypilot-users

What do I need to do to convert the node provider API to the new provisioner API?

I have implemented a node provider API for the provisioner in Cudo Compute. However, it seems like the ray autoscaler is trying to call it as a NodeProvider Class when it is actually a module full of imports. How can I convert the API to the new provisioner API?

Se

Sean Berry

Asked on Jan 08, 2024

To convert the node provider API to the new provisioner API, you need to follow these steps:

  1. Set Cudo.PROVISIONER_VERSION = clouds.ProvisionerVersion.SKYPILOT in your clouds/cudo.py file.
  2. Implement the sky/provision/cudo/* files as suggested in the documentation for adding new clouds.
  3. If you already have your node provider implemented, it won't be difficult to convert it to the new provisioner API. You can refer to the runpod new provisioner implementation for guidance.
Jan 08, 2024Edited by