Не удается запустить кластер лучей на GCP из-за того, что колесо лучей не поддерживается

Я пытаюсь запустить кластер лучей на GCP с помощью файла YAML базовой конфигурации, но он не работает с ошибкой:

ray-1.1.0.dev0-cp38-cp38-manylinux2014_x86_64.whl is not a supported wheel on this platform

Я пробовал использовать разные колеса луча, но это не сработало. Не могу найти похожие проблемы.

Вот файл конфигурации yaml: gcp-config.yaml

# An unique identifier for the head node and workers of this cluster.
cluster_name: default

# The minimum number of workers nodes to launch in addition to the head
# node. This number should be >= 0.
min_workers: 2

# The maximum number of workers nodes to launch in addition to the head
# node. This takes precedence over min_workers.
max_workers: 8

# The initial number of worker nodes to launch in addition to the head
# node. When the cluster is first brought up (or when it is refreshed with a
# subsequent `ray up`) this number of nodes will be started.
initial_workers: 0

# The autoscaler will scale up the cluster to this target fraction of resource
# usage. For example, if a cluster of 10 nodes is 100% busy and
# target_utilization is 0.8, it would resize the cluster to 13. This fraction
# can be decreased to increase the aggressiveness of upscaling.
# This value must be less than 1.0 for scaling to happen.
target_utilization_fraction: 0.8

# If a node is idle for this many minutes, it will be removed.
idle_timeout_minutes: 5

# Cloud-provider specific configuration.
provider:
    type: gcp
    region: europe-west1
    availability_zone: europe-west1-b
    project_id: ray-attempt # Globally unique project id
    cache_stopped_nodes: False

# How Ray will authenticate with newly launched nodes.
auth:
    ssh_user: ubuntu
    

setup_commands:
    # Note: if you're developing Ray, you probably want to create a Docker image that
    # has your Ray repo pre-cloned. Then, you can replace the pip installs
    # below with a git checkout <your_sha> (and possibly a recompile).
    # Uncomment the following line if you want to run the nightly version of ray (as opposed to the latest)
    - pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.1.0.dev0-cp38-cp38-manylinux2014_x86_64.whl

person NicolasRx    schedule 08.12.2020    source источник
comment
Есть ли причина, по которой вы выполняете установку с этого URL-адреса, а не только с pip install -U ray?   -  person Dustin Ingram    schedule 09.12.2020
comment
Можете выложить полный ямл?   -  person Alonme    schedule 16.12.2020


Ответы (1)


Скорее всего, вы пытаетесь использовать колесо, созданное для другой версии Python. Вы можете временно добавить - python --version в свой setup_commands список, чтобы найти используемую версию python, а затем получить соответствующее колесо из этой таблицы.

person Alex    schedule 22.12.2020