skypilot-org / skypilot

SkyPilot: Run AI and batch jobs on any infra (Kubernetes or 12+ clouds). Get unified execution, cost savings, and high GPU availability via a simple interface.
https://skypilot.readthedocs.io
Apache License 2.0
6.49k stars 463 forks source link

Deploy mistral on cloudflare #2677

Closed mihalt closed 11 months ago

mihalt commented 11 months ago

I am trying to deploy by this config

And get an error (you can see above in the screen, that I have successfull access to Cloudflare by sky check command) изображение

When I am trying to use something like

resources:
  cloud: cloudflare

I get an error like

>>> sky launch -c mistral-7b mistral-7b-v0.1.yaml
Task from YAML spec: mistral-7b-v0.1.yaml
ValueError: Invalid resources YAML: 'cloud' is not one of ['aws', 'azure', 'gcp', 'ibm', 'kubernetes', 'lambda', 'oci', 'scp']. Check problematic field(s): $.cloud
romilbhardwaj commented 11 months ago

Hi @mihalt - on cloudflare, SkyPilot currently only supports reading and writing data from R2 object store. Running tasks on cloudflare is not supported.

Are you trying to use cloudflare workers? Or is there some other compute platform offered on cloudflare that you want to use?

mihalt commented 11 months ago

Hi @mihalt - on cloudflare, SkyPilot currently only supports reading and writing data from R2 object store. Running tasks on cloudflare is not supported.

Are you trying to use cloudflare workers? Or is there some other compute platform offered on cloudflare that you want to use?

I am using just https://developers.cloudflare.com/r2/ with connection of SkyPilot now, as I understand. I created workers, but they have not been connected with Mistral yet. Do you have any suggenstions how to use workers for my task?

romilbhardwaj commented 11 months ago

Hi @mihalt, we don't support Cloudflare Workers on SkyPilot right now. To launch Mistral, you will need access to one of our supported clouds - AWS, Azure, GCP, IBM Cloud, Lambda Cloud, Oracle Cloud or Samsung Cloud.

For cloudflare, we only support accessing data stored on R2 buckets (see Sky Storage), but I believe that is not required for launching Mistral inference server in the YAML you linked. Please let me know if I'm missing something.

romilbhardwaj commented 11 months ago

Closing this issue, but please feel free to reopen if you have any questions.