(self, module)
| 177 | self._metadata = None |
| 178 | |
| 179 | def initialize_hook(self, module): |
| 180 | unwrapped_module = unwrap_module(module) |
| 181 | self._metadata = TransformerBlockRegistry.get(unwrapped_module.__class__) |
| 182 | return module |
| 183 | |
| 184 | @torch.compiler.disable |
| 185 | def new_forward(self, module: torch.nn.Module, *args, **kwargs): |
nothing calls this directly
no test coverage detected