Skip to content

Commit

Permalink
update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre.delaunay committed Jul 24, 2024
1 parent ab4a055 commit b2ff926
Show file tree
Hide file tree
Showing 5 changed files with 225 additions and 89 deletions.
8 changes: 7 additions & 1 deletion benchmarks/diffusion/benchfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,13 @@ async def prepare(self):
await super().prepare() # super() call executes prepare_script

def build_run_plan(self):
plan = super().build_run_plan().use_stdout()
from milabench.commands import PackCommand

main = self.dirs.code / self.main_script
plan = PackCommand(self, *self.argv, lazy=True)

if False:
plan = VoirCommand(plan, cwd=main.parent)

return AccelerateAllNodes(plan)

Expand Down
Loading

0 comments on commit b2ff926

Please sign in to comment.