-
Notifications
You must be signed in to change notification settings - Fork 667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLI]: wandb artifact get
broken for GCP references after 0.13.8 release
#4826
Comments
wandb artifact get
broken for GCP references after 0.13.8 release
Hi @omerferhatt thanks so much for reporting this. Just some clarification before reporting it to the engineering team, is the bug only in CLI or do you get any errors when using the SDK:
or the API:
Also, are these reference artifacts? |
Hello, @thanos-wandb. Yes I confirm that artifact exists and can be downloaded with 0.13.7. I tried to download with the script given below (variables replaced due to privacy) to download: import wandb
if __name__ == "__main__":
run = wandb.init()
artifact = run.use_artifact('entity/project/artifact:alias', type='artifact-type')
artifact_dir = artifact.download() I tried with the API implementation too. Results are same with the CLI. Traceback shows:
|
For the sake of complete understanding, the problem doesn't happen exactly as soon as it starts downloading. While the download counter continues as 1...2...3, it stops at a random number and gives an error. wandb: / 1 of 1000 files downloaded...
wandb: - 2 of 1000 files downloaded...
wandb: \ 3 of 1000 files downloaded...
wandb: | 4 of 1000 files downloaded...
It throws an error at a random step. When the download command is run again, it continues from where it crash. wandb: / 4 of 1000 files downloaded...
wandb: - 5 of 1000 files downloaded...
wandb: \ 6 of 1000 files downloaded...
wandb: | 7 of 1000 files downloaded... like that. |
Hi @omerferhatt thanks a lot for the detailed information, I will add these to the internal ticket for our engineers. Found a similar error reported in Google API repo not sure if related to your miniconda env, could you try in a Colab too, or a different virtual environment? |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
Hi @omerferhatt just checking in here to see if you still experience this issue, and if you've tried from a different environment as well? thanks! |
Hi @thanos-wandb , sorry for the late reply. Unfortunately I didn't have time to try it. Currently I am still working with the same version. I'll get back to you as soon as I can after trying it. Kind regards |
Describe the bug
I get an error when I try to download artifact. But when i downgrade to 0.13.7, it works okay.
Error occurs at 0.13.8 and 0.13.9 versions
Additional Files
No response
Environment
WandB version:
0.13.9
OS:
Linux 5.15.79.1-microsoft-standard-WSL2 #1 SMP Wed Nov 23 01:01:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Python version:
3.8.16
Versions of relevant libraries:
google-cloud-storage=2.7.0
Additional Context
No response
The text was updated successfully, but these errors were encountered: