[go: up one dir, main page]

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

tutorial error: simulations_with_accelerators.ipynb #1974

Open
HaoWenJohn opened this issue Oct 8, 2021 · 0 comments
Open

tutorial error: simulations_with_accelerators.ipynb #1974

HaoWenJohn opened this issue Oct 8, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@HaoWenJohn
Copy link
HaoWenJohn commented Oct 8, 2021

Describe the bug
running tensorflow/federated tutorial :TFF simulations with accelerators(simulations_with_accelerators.ipynb)
in colab pro gpu backend

1.in section :Before we begin ,run :
pip install --quiet --upgrade tensorflow_federated_nightly

console shows :
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.

2.in section: Single GPU execution,run :
run_federated_training(
client_epochs_per_round=1,
train_batch_size=16,
test_batch_size=128,
cnn_num_blocks=2,
conv_width_multiplier=4,
server_learning_rate=1.0,
client_learning_rate=0.01,
total_rounds=10,
clients_per_round=16,
rounds_per_eval=2,
)

console shows :
UnknownError: 2 root error(s) found.
(0) UNKNOWN: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[{{node cnn-14-4/conv2d/Conv2D}}]]
[[StatefulPartitionedCall_1/StatefulPartitionedCall/while/loop_body_control/_151/_57]]
(1) UNKNOWN: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[{{node cnn-14-4/conv2d/Conv2D}}]]

  1. I also try other tutorials, in the CPU backend, they are ok, in the GPU backend, The same error as above is displayed.

Environment (please complete the following information):

  • colab pro GPU backend

Expected behavior
running without errors

@HaoWenJohn HaoWenJohn added the bug Something isn't working label Oct 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant