Backup of the upload scripts and logs that lived in the git root on virgo
Browse files- virgo_root/hf_upload.log +0 -0
- virgo_root/hf_upload.py +8 -0
- virgo_root/hf_upload_r2.log +0 -0
- virgo_root/hf_upload_r3.log +0 -0
- virgo_root/hf_upload_x22.log +0 -0
virgo_root/hf_upload.log
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
virgo_root/hf_upload.py
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from huggingface_hub import HfApi
|
| 2 |
+
api = HfApi()
|
| 3 |
+
repo = "matCercola18/DiffusionControl"
|
| 4 |
+
api.update_repo_settings(repo, private=False)
|
| 5 |
+
print("visibility: public", flush=True)
|
| 6 |
+
api.upload_large_folder(repo_id=repo, repo_type="model",
|
| 7 |
+
folder_path="/home/cercola/matte_server/hf_stage_DiffusionControl", num_workers=4)
|
| 8 |
+
print("UPLOAD DONE", flush=True)
|
virgo_root/hf_upload_r2.log
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
virgo_root/hf_upload_r3.log
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
virgo_root/hf_upload_x22.log
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|