activeloopai / activeloopai/deeplake

[FEATURE] Skip already transferred files when restarting with hub.copy

オープン
#1,617 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る
enhancement
主要言語
C++
スター
9.2k
フォーク
722
PR マージ指標
30日以内にマージされた PR はありません

説明

## 🚨🚨 Feature Request

- Related to #1609 (closed)

### Is your feature request related to a problem?

When `hub.copy` throws an exception the transfer is terminated. Rerunning prompts to use the `overwrite=True` flag which force redownloads all of the data, ignoring the chunks that have already been downloaded.

```python
# Fails for some reason (QuotaExceeded / dropped connection / ect)
hub.copy('hub://activeloop/imagenet-val', 's3://foobar/imagenet-val', dest_creds={ ... })

# Restart prompts to run with overwrite=True
hub.copy('hub://activeloop/imagenet-val', 's3://foobar/imagenet-val', dest_creds={ ... }, overwrite=True)
```

### Description of the possible solution

When a transfer is restarted, validate existing chunks that have been transferred and skip them if they are complete.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。