fix: clean up dead code paths and debug artifacts in prismaudio_core/models
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -18,7 +18,6 @@ def load_ckpt_state_dict(ckpt_path, prefix=None):
|
||||
def remove_weight_norm_from_model(model):
|
||||
for module in model.modules():
|
||||
if hasattr(module, "weight"):
|
||||
print(f"Removing weight norm from {module}")
|
||||
remove_weight_norm(module)
|
||||
|
||||
return model
|
||||
|
||||
Reference in New Issue
Block a user