Skip to content
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

Impossible to test perfzero without docker #504

Open
shailensobhee opened this issue Nov 17, 2020 · 2 comments
Open

Impossible to test perfzero without docker #504

shailensobhee opened this issue Nov 17, 2020 · 2 comments

Comments

@shailensobhee
Copy link

Execute:
python3 perfzero/lib/benchmark.py --git_repos="https://github.com/tensorflow/models.git;benchmark" --python_path=models --data_downloads="gs://tf-perf-imagenet-uswest1/tensorflow/cifar10_data/cifar-10-batches-bin" --benchmark_methods=official.r1.resnet.estimator_benchmark.Resnet50EstimatorBenchmarkReal.benchmark_graph_1_gpu

Error:

[...]
benchmarks/perfzero/lib/perfzero/utils.py", line 288, in run_commands
    cmd, exit_code, stdout))
Exception: "['gsutil', '-m', 'cp', '-r', '-n', 'gs://tf-performance/auth_tokens/benchmark_upload_gce.json', '<path>/benchmarks/perfzero/workspace']" failed with code:1 and stdout:
ServiceException: 401 Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object.
CommandException: 1 file/object could not be transferred.

I did install the following before.

pip install gsutil
pip install cloud-tpu-client

Can you please run the CI tests?

@lindong28 lindong28 removed their assignment May 19, 2021
@elgalu
Copy link

elgalu commented Jun 4, 2021

@shailensobhee did you solve it?

@vladfi1
Copy link

vladfi1 commented May 12, 2022

I got this error as well. You can get a bit further by authenticating with gsutil via gsutil config, but then you'll just get:

AccessDeniedException: 403 <email> does not have storage.objects.list access to the Google Cloud Storage bucket.
CommandException: 1 file/object could not be transferred.

The issue seems to be that the GCS bucket that hosts the cifar-10 dataset isn't publicly readable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants