"torchvision/csrc/ops/ps_roi_align.cpp" did not exist on "4d3a309379f2df748922a610c5dd648ae7248bae"
Commit b705afb9 authored by muyangli's avatar muyangli
Browse files

uses model cpu offload instead of per-layer offload to speedup test ci

parent e8de2628
......@@ -191,7 +191,7 @@ def run_test(
if gpu_memory > 36 * 1024:
pipeline = pipeline.to("cuda")
else:
pipeline.enable_sequential_cpu_offload()
pipeline.enable_model_cpu_offload()
if len(lora_names) > 0:
for i, (lora_name, lora_strength) in enumerate(zip(lora_names, lora_strengths)):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment