Our new beta dashboard is now available for testing! Try viewing this build on the new dashboard.
- Completed Feb. 10, 2022. 7:48 p.m.
- Build took 267 seconds
Error
{# I'd like to use ``build.error|urlize`` here, so we can have nice links. However, this is not possible because we are using `data-bind="text: error"` which means that Knockout.js will use the `.error` attribute to fill the content of this tag dynamically. #} Command /home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/bin/python -m sphinx -T -E -b html -d _build/doctrees -D language=en . _build/html failed: Running Sphinx v4.4.0 loading translations [en]... done making output directory... done loading intersphinx inventory from https://pytorch.org/docs/stable/objects.inv... generating gallery... Using Sphinx-Gallery to convert rst text blocks to markdown for .ipynb files. generating gallery for basic_usage... [100%] example_all_in_one.py generating gallery for use_cases... [ 8%] example_first_order_resnet.py generating gallery for use_cases... [ 16%] example_subsampling.py generating gallery for use_cases... [ 25%] example_extension_hook.py generating gallery for use_cases... [ 33%] example_diag_ggn_optimizer.py generating gallery for use_cases... [ 41%] example_custom_module.py generating gallery for use_cases... [ 50%] example_save_memory_convolutions.py generating gallery for use_cases... [ 58%] example_gradient_of_variance.py generating gallery for use_cases... [ 66%] example_trace_estimation.py generating gallery for use_cases... [ 75%] example_resnet_all_in_one.py WARNING: /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/examples/use_cases/example_resnet_all_in_one.py failed to execute correctly: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/examples/use_cases/example_resnet_all_in_one.py", line 122, in <module> loss.backward() File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/torch/_tensor.py", line 307, in backward torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs) File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/torch/autograd/__init__.py", line 156, in backward allow_unreachable=True, accumulate_grad=True) # allow_unreachable flag File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/torch/utils/hooks.py", line 175, in hook res = user_hook(self.module, grad_inputs, self.grad_outputs) File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/backpack/__init__.py", line 209, in hook_run_extensions backpack_extension(module, g_inp, g_out) File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/backpack/extensions/backprop_extension.py", line 120, in __call__ module_extension = self.__get_module_extension(module) File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/backpack/extensions/backprop_extension.py", line 99, in __get_module_extension self._handle_missing_module_extension(module) File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/backpack/extensions/firstorder/base.py", line 45, in _handle_missing_module_extension raise NotImplementedError(message + " " + change_error_to_warn_message) NotImplementedError: Extension saving to grad_batch does not have an extension for Module <class '__main__.MyFirstResNet'>, but it has parameters. Those parameters will not have their field grad_batch set. To only raise a warning, change the failure mode of the BackPACK extension (for example, `BatchGrad(fail_mode='WARNING')`). generating gallery for use_cases... [ 83%] example_differential_privacy.py generating gallery for use_cases... [ 91%] example_rnn.py generating gallery for use_cases... [100%] example_cg_newton.py computation time summary: - ../examples/use_cases/example_trace_estimation.py: 73.98 sec 0.0 MB - ../examples/use_cases/example_cg_newton.py: 58.34 sec 0.0 MB - ../examples/use_cases/example_diag_ggn_optimizer.py: 26.45 sec 0.0 MB - ../examples/use_cases/example_differential_privacy.py: 8.73 sec 0.0 MB - ../examples/use_cases/example_save_memory_convolutions.py: 8.27 sec 0.0 MB - ../examples/use_cases/example_rnn.py: 4.44 sec 0.0 MB - ../examples/basic_usage/example_all_in_one.py: 2.90 sec 0.0 MB - ../examples/use_cases/example_subsampling.py: 1.32 sec 0.0 MB - ../examples/use_cases/example_gradient_of_variance.py: 0.23 sec 0.0 MB - ../examples/use_cases/example_extension_hook.py: 0.09 sec 0.0 MB - ../examples/use_cases/example_resnet_all_in_one.py: 0.08 sec 0.0 MB - ../examples/use_cases/example_custom_module.py: 0.01 sec 0.0 MB - ../examples/use_cases/example_first_order_resnet.py: 0.00 sec 0.0 MB building [mo]: targets for 0 po files that are out of date building [html]: targets for 5 source files that are out of date updating environment: [new config] 22 added, 0 changed, 0 removed reading sources... [ 4%] basic_usage/example_all_in_one reading sources... [ 9%] basic_usage/index reading sources... [ 13%] basic_usage/sg_execution_times reading sources... [ 18%] extensions reading sources... [ 22%] good-to-know reading sources... [ 27%] index reading sources... [ 31%] main-api reading sources... [ 36%] supported-layers reading sources... [ 40%] use_cases/example_cg_newton reading sources... [ 45%] use_cases/example_custom_module reading sources... [ 50%] use_cases/example_diag_ggn_optimizer reading sources... [ 54%] use_cases/example_differential_privacy reading sources... [ 59%] use_cases/example_extension_hook reading sources... [ 63%] use_cases/example_first_order_resnet reading sources... [ 68%] use_cases/example_gradient_of_variance reading sources... [ 72%] use_cases/example_resnet_all_in_one reading sources... [ 77%] use_cases/example_rnn reading sources... [ 81%] use_cases/example_save_memory_convolutions reading sources... [ 86%] use_cases/example_subsampling reading sources... [ 90%] use_cases/example_trace_estimation reading sources... [ 95%] use_cases/index reading sources... [100%] use_cases/sg_execution_times /home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/backpack/extensions/firstorder/__init__.py:docstring of backpack.extensions.firstorder:2: WARNING: duplicate label first order extensions, other instance in /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/rtd/basic_usage/example_all_in_one.rst /home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/backpack/extensions/secondorder/__init__.py:docstring of backpack.extensions.secondorder:2: WARNING: duplicate label second order extensions, other instance in /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/rtd/basic_usage/example_all_in_one.rst /home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/backpack/extensions/curvmatprod/__init__.py:docstring of backpack.extensions.curvmatprod:2: WARNING: duplicate label block-diagonal curvature products, other instance in /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/rtd/basic_usage/example_all_in_one.rst /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/rtd/use_cases/example_diag_ggn_optimizer.rst:104: WARNING: duplicate label writing the optimizer, other instance in /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/rtd/use_cases/example_cg_newton.rst /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/rtd/use_cases/example_diag_ggn_optimizer.rst:148: WARNING: duplicate label running and plotting, other instance in /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/rtd/use_cases/example_cg_newton.rst /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/rtd/use_cases/example_differential_privacy.rst:320: WARNING: duplicate label writing the optimizer, other instance in /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/rtd/use_cases/example_diag_ggn_optimizer.rst /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/rtd/use_cases/example_differential_privacy.rst:389: WARNING: duplicate label running and plotting, other instance in /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/rtd/use_cases/example_diag_ggn_optimizer.rst /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/rtd/use_cases/example_resnet_all_in_one.rst:237: WARNING: Title underline too short. Custom ResNet with BackPACK custom modules ------------- /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/rtd/use_cases/example_resnet_all_in_one.rst:237: WARNING: Title underline too short. Custom ResNet with BackPACK custom modules ------------- /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/rtd/use_cases/example_resnet_all_in_one.rst:341: WARNING: Title underline too short. Any ResNet with BackPACK's converter ------------- /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/rtd/use_cases/example_resnet_all_in_one.rst:341: WARNING: Title underline too short. Any ResNet with BackPACK's converter ------------- /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/rtd/use_cases/example_rnn.rst:167: WARNING: Title underline too short. Custom RNN with BackPACK custom modules ------------- /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/rtd/use_cases/example_rnn.rst:376: WARNING: Title underline too short. RNN with BackPACK's converter ------------- /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/rtd/use_cases/example_rnn.rst:376: WARNING: Title underline too short. RNN with BackPACK's converter ------------- /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/rtd/use_cases/sg_execution_times.rst:7: WARNING: duplicate label computation times, other instance in /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/rtd/basic_usage/sg_execution_times.rst looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 4%] basic_usage/example_all_in_one writing output... [ 9%] basic_usage/index writing output... [ 13%] basic_usage/sg_execution_times writing output... [ 18%] extensions writing output... [ 22%] good-to-know writing output... [ 27%] index writing output... [ 31%] main-api writing output... [ 36%] supported-layers writing output... [ 40%] use_cases/example_cg_newton writing output... [ 45%] use_cases/example_custom_module writing output... [ 50%] use_cases/example_diag_ggn_optimizer writing output... [ 54%] use_cases/example_differential_privacy writing output... [ 59%] use_cases/example_extension_hook writing output... [ 63%] use_cases/example_first_order_resnet writing output... [ 68%] use_cases/example_gradient_of_variance writing output... [ 72%] use_cases/example_resnet_all_in_one writing output... [ 77%] use_cases/example_rnn writing output... [ 81%] use_cases/example_save_memory_convolutions writing output... [ 86%] use_cases/example_subsampling writing output... [ 90%] use_cases/example_trace_estimation writing output... [ 95%] use_cases/index writing output... [100%] use_cases/sg_execution_times generating indices... genindex py-modindex done writing additional pages... search done copying images... [ 7%] basic_usage/images/thumb/sphx_glr_example_all_in_one_thumb.png copying images... [ 15%] use_cases/images/thumb/sphx_glr_example_first_order_resnet_thumb.png copying images... [ 23%] use_cases/images/thumb/sphx_glr_example_subsampling_thumb.png copying images... [ 30%] use_cases/images/thumb/sphx_glr_example_extension_hook_thumb.png copying images... [ 38%] use_cases/images/thumb/sphx_glr_example_diag_ggn_optimizer_thumb.png copying images... [ 46%] use_cases/images/thumb/sphx_glr_example_custom_module_thumb.png copying images... [ 53%] use_cases/images/thumb/sphx_glr_example_save_memory_convolutions_thumb.png copying images... [ 61%] use_cases/images/thumb/sphx_glr_example_gradient_of_variance_thumb.png copying images... [ 69%] use_cases/images/thumb/sphx_glr_example_trace_estimation_thumb.png copying images... [ 76%] use_cases/images/thumb/sphx_glr_example_resnet_all_in_one_thumb.png copying images... [ 84%] use_cases/images/thumb/sphx_glr_example_differential_privacy_thumb.png copying images... [ 92%] use_cases/images/thumb/sphx_glr_example_rnn_thumb.png copying images... [100%] use_cases/images/thumb/sphx_glr_example_cg_newton_thumb.png copying downloadable files... [ 3%] basic_usage/example_all_in_one.py copying downloadable files... [ 6%] basic_usage/example_all_in_one.ipynb copying downloadable files... [ 10%] basic_usage/basic_usage_python.zip copying downloadable files... [ 13%] basic_usage/basic_usage_jupyter.zip copying downloadable files... [ 16%] use_cases/example_cg_newton.py copying downloadable files... [ 20%] use_cases/example_cg_newton.ipynb copying downloadable files... [ 23%] use_cases/example_custom_module.py copying downloadable files... [ 26%] use_cases/example_custom_module.ipynb copying downloadable files... [ 30%] use_cases/example_diag_ggn_optimizer.py copying downloadable files... [ 33%] use_cases/example_diag_ggn_optimizer.ipynb copying downloadable files... [ 36%] use_cases/example_differential_privacy.py copying downloadable files... [ 40%] use_cases/example_differential_privacy.ipynb copying downloadable files... [ 43%] use_cases/example_extension_hook.py copying downloadable files... [ 46%] use_cases/example_extension_hook.ipynb copying downloadable files... [ 50%] use_cases/example_first_order_resnet.py copying downloadable files... [ 53%] use_cases/example_first_order_resnet.ipynb copying downloadable files... [ 56%] use_cases/example_gradient_of_variance.py copying downloadable files... [ 60%] use_cases/example_gradient_of_variance.ipynb copying downloadable files... [ 63%] use_cases/example_resnet_all_in_one.py copying downloadable files... [ 66%] use_cases/example_resnet_all_in_one.ipynb copying downloadable files... [ 70%] use_cases/example_rnn.py copying downloadable files... [ 73%] use_cases/example_rnn.ipynb copying downloadable files... [ 76%] use_cases/example_save_memory_convolutions.py copying downloadable files... [ 80%] use_cases/example_save_memory_convolutions.ipynb copying downloadable files... [ 83%] use_cases/example_subsampling.py copying downloadable files... [ 86%] use_cases/example_subsampling.ipynb copying downloadable files... [ 90%] use_cases/example_trace_estimation.py copying downloadable files... [ 93%] use_cases/example_trace_estimation.ipynb copying downloadable files... [ 96%] use_cases/use_cases_python.zip copying downloadable files... [100%] use_cases/use_cases_jupyter.zip copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 16 warnings. The HTML pages are in _build/html. Updating searchtools for Read the Docs search... Sphinx-Gallery successfully executed 12 out of 13 files subselected by: gallery_conf["filename_pattern"] = 'example' gallery_conf["ignore_pattern"] = '__init__\\.py' after excluding 0 files that had previously been run (based on MD5). Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/sphinx/cmd/build.py", line 284, in build_main app.build(args.force_all, filenames) File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/sphinx/application.py", line 374, in build self.events.emit('build-finished', None) File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/sphinx/events.py", line 101, in emit results.append(listener.handler(self.app, *args)) File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/sphinx_gallery/gen_gallery.py", line 732, in summarize_failing_examples raise ExtensionError(fail_message) sphinx.errors.ExtensionError: Here is a summary of the problems encountered when running the examples Unexpected failing examples: /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/examples/use_cases/example_resnet_all_in_one.py failed leaving traceback: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/examples/use_cases/example_resnet_all_in_one.py", line 122, in <module> loss.backward() File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/torch/_tensor.py", line 307, in backward torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs) File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/torch/autograd/__init__.py", line 156, in backward allow_unreachable=True, accumulate_grad=True) # allow_unreachable flag File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/torch/utils/hooks.py", line 175, in hook res = user_hook(self.module, grad_inputs, self.grad_outputs) File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/backpack/__init__.py", line 209, in hook_run_extensions backpack_extension(module, g_inp, g_out) File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/backpack/extensions/backprop_extension.py", line 120, in __call__ module_extension = self.__get_module_extension(module) File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/backpack/extensions/backprop_extension.py", line 99, in __get_module_extension self._handle_missing_module_extension(module) File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/backpack/extensions/firstorder/base.py", line 45, in _handle_missing_module_extension raise NotImplementedError(message + " " + change_error_to_warn_message) NotImplementedError: Extension saving to grad_batch does not have an extension for Module <class '__main__.MyFirstResNet'>, but it has parameters. Those parameters will not have their field grad_batch set. To only raise a warning, change the failure mode of the BackPACK extension (for example, `BatchGrad(fail_mode='WARNING')`). ------------------------------------------------------------------------------- Extension error: Here is a summary of the problems encountered when running the examples Unexpected failing examples: /home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/examples/use_cases/example_resnet_all_in_one.py failed leaving traceback: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/checkouts/240/docs_src/examples/use_cases/example_resnet_all_in_one.py", line 122, in <module> loss.backward() File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/torch/_tensor.py", line 307, in backward torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs) File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/torch/autograd/__init__.py", line 156, in backward allow_unreachable=True, accumulate_grad=True) # allow_unreachable flag File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/torch/utils/hooks.py", line 175, in hook res = user_hook(self.module, grad_inputs, self.grad_outputs) File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/backpack/__init__.py", line 209, in hook_run_extensions backpack_extension(module, g_inp, g_out) File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/backpack/extensions/backprop_extension.py", line 120, in __call__ module_extension = self.__get_module_extension(module) File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/backpack/extensions/backprop_extension.py", line 99, in __get_module_extension self._handle_missing_module_extension(module) File "/home/docs/checkouts/readthedocs.org/user_builds/backpack/envs/240/lib/python3.7/site-packages/backpack/extensions/firstorder/base.py", line 45, in _handle_missing_module_extension raise NotImplementedError(message + " " + change_error_to_warn_message) NotImplementedError: Extension saving to grad_batch does not have an extension for Module <class '__main__.MyFirstResNet'>, but it has parameters. Those parameters will not have their field grad_batch set. To only raise a warning, change the failure mode of the BackPACK extension (for example, `BatchGrad(fail_mode='WARNING')`). -------------------------------------------------------------------------------