Skip to content

Commit

Permalink
Fix LCM benchmark test (#7158)
Browse files Browse the repository at this point in the history
* make workflow dispatchable.

* fix: lcm lora compile
  • Loading branch information
sayakpaul authored Mar 1, 2024
1 parent 9451235 commit 5d3923b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Benchmarking tests

on:
workflow_dispatch:
schedule:
- cron: "30 1 1,15 * *" # every 2 weeks on the 1st and the 15th of every month at 1:30 AM

Expand Down
1 change: 1 addition & 0 deletions benchmarks/base_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ def __init__(self, args):
super().__init__(args)
self.pipe.load_lora_weights(self.lora_id)
self.pipe.fuse_lora()
self.pipe.unload_lora_weights()
self.pipe.scheduler = LCMScheduler.from_config(self.pipe.scheduler.config)

def get_result_filepath(self, args):
Expand Down

0 comments on commit 5d3923b

Please sign in to comment.