Skip to content

Commit

Permalink
Remove debug spam
Browse files Browse the repository at this point in the history
  • Loading branch information
cg123 committed Dec 31, 2023
1 parent b184ae2 commit d07d066
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions mergekit/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,14 +203,5 @@ def parameter(
path_paths = [str(s) for s in [model, self.tensor_name] if s]
p = ".".join(path_paths)
suffix = f" for {p}" if p else ""
print(f"name: {name}")
print(f"model: {model}")
print(f"slice_out: {self.slice_out}")
for s in self.slice_out.sources:
print(repr(s))
print(s.model == str(model))
print(bool(s.parameters))
print(name in s.parameters)
print(repr(self))
raise RuntimeError(f"Missing required parameter {name}{suffix}")
return default

0 comments on commit d07d066

Please sign in to comment.