skypilot-org/skypilot

[GCP] Move from `gsutil cp/rsync` to `gcloud storage cp/rsync`

Open

#8 457 ouverte le 30 déc. 2025

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)Python (311 forks)batch import
good first issuegood starter issues

Métriques du dépôt

Stars
 (4 859 stars)
Métriques de merge PR
 (Merge moyen 2j 23h) (146 PRs mergées en 30 j)

Description

According to https://docs.cloud.google.com/storage/docs/working-with-big-data, gcloud storage cp is much faster due to optimizations in automatic parallelism. We can migrate the usage gsutil cp in https://github.com/skypilot-org/skypilot/blob/e6a41b121ae27c33e1815ecf316858752dcc9982/sky/data/storage.py#L2370.

I manually tried a few file downloads with gcloud storage cp, it easily saturates the 300MB/s throughput, i.e. it worth a try.

Guide contributeur