Repository navigation
refactor(module): rename Module to TunableModule - #62
Open
lslusarczyk wants to merge 2 commits into
Open
lslusarczyk wants to merge 2 commits into
lslusarczyk wants to merge 2 commits into
Conversation
lslusarczyk
marked this pull request as ready for review
October 29, 2026 12:14
Contributor
|
Remove an exclamation mark from PR title and commit msg |
`tt.Module` shared its name with `torch.nn.Module`. Code that needed both imported ours as `WrapperModule`, so one class had two names. The class is now `TunableModule` in `torch_tweak.torch.module.tunable_module`. Code, tests, docs, examples and notebooks use the new name. Signed-off-by: Łukasz Ślusarczyk <lukasz.slusarczyk@intel.com>
lslusarczyk
force-pushed
the
refactor/tunable-module
branch
from
October 29, 2026 14:52
b1fa127 to
b2f3d77
Compare
lslusarczyk
enabled auto-merge (squash)
October 29, 2026 16:44
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tt.Moduleis nowtt.TunableModule.The old name matched
torch.nn.Module.Code that needed both imported ours as
WrapperModule, so one class had two names.TunableModulesays what the class is for.The file moves from
module/wrapper_module.pytomodule/tunable_module.py.Code, tests, docs, examples and notebooks use the new name.
The API docs page moves to
api/tuning/tunable_module.md.This is a breaking change.
tt.Modulehas no alias.