mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-12-06 07:12:10 +01:00
Use dtype instead of torch_dtype
This commit is contained in:
parent
5382fe2d1b
commit
f4b27a39af
|
|
@ -120,7 +120,7 @@ def load_image_model(model_name, dtype='bfloat16', attn_backend='sdpa', cpu_offl
|
||||||
|
|
||||||
# Load the pipeline
|
# Load the pipeline
|
||||||
load_kwargs = {
|
load_kwargs = {
|
||||||
"torch_dtype": target_dtype,
|
"dtype": target_dtype,
|
||||||
"low_cpu_mem_usage": True,
|
"low_cpu_mem_usage": True,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue