question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[feature request] KFAC support for ResNet

See original GitHub issue

Hi, thank you for developing and maintaining this library.

If I understand correctly, backpack 1.4 does not support ResNet with KFAC, right?

When I changed DiagGGNExact of the tutorial to KFAC (and changed AdaptiveAvgPooling to AvgPooling), it raised the following error:

~/.miniconda/.../backpack/extensions/backprop_extension.py in __get_module_extension(self, module)
     97             if self._fail_mode is FAIL_ERROR:
     98                 # PyTorch converts this Error into a RuntimeError for torch<1.7.0
---> 99                 raise NotImplementedError(
    100                     f"Extension saving to {self.savefield} "
    101                     "does not have an extension for "

NotImplementedError: Extension saving to kfac does not have an extension for Module <class 'backpack.custom_module.branching.SumModule'>

It would be great if you could support KFAC for ResNet or let me know some modifications necessary if possible. Thank you.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
f-dangelcommented, Nov 28, 2021

Hi,

thanks for giving the tutorial a try. You correctly tweaked it, but support for K-FAC with ResNets is indeed not implemented in 1.4. @jabader97 is working on this feature and I can post updates once it makes it into the development branch.

Best, Felix

0reactions
moskomulecommented, Jan 13, 2022

Thank you again!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature Requests - RED Support
RED welcomes any and all feedback on existing products, services, or features. Any feedback regarding existing products, services, or features ...
Read more >
Feature Request - Ping Identity Support Portal
[FEATURE REQUEST] Streamline user experience with multiple devices. I have 3 devices set up for MFA, a yubikey and 2 phones. The Yubikey...
Read more >
Feature Request: Support Help Section - Zendesk help
I see that when I "Get Help" from within Zendesk Support, a help bar displays where I can search HC topics before submitting...
Read more >
Submit a feature request for Solarwinds Products
This article describes how to submit a feature request to SolarWinds. Feature requests and votes by you and other SolarWinds users help ......
Read more >
How we handle feature requests - Artlogic Support
How we review requests. Following our internal feature request meetings, viable requests are selected and then considered for inclusion in our development ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found