This commit is contained in:
Artiprocher
2025-11-20 17:44:00 +08:00
parent eeb55a0ce6
commit 96daa30bcc
7 changed files with 72 additions and 24 deletions

View File

@@ -5,7 +5,9 @@ from modelscope import snapshot_download
from PIL import Image
import numpy as np
# This model has additional requirements.
# Please install the following packages.
# pip install facexlib insightface onnxruntime
snapshot_download(
"ByteDance/InfiniteYou",
allow_file_pattern="supports/insightface/models/antelopev2/*",

View File

@@ -6,6 +6,9 @@ from PIL import Image
import numpy as np
# This model has additional requirements.
# Please install the following packages.
# pip install facexlib insightface onnxruntime
vram_config = {
"onload_dtype": torch.float8_e4m3fn,
"onload_device": "cpu",