mirror of
https://git.datalinker.icu/kijai/ComfyUI-Hunyuan3DWrapper.git
synced 2026-01-23 13:24:26 +08:00
import torch first to load dll correctly
when custom_rasterizer_kernel is imported before torch under cu128/python 3.12, the following error will raise: ImportError: DLL load failed while importing custom_rasterizer_kernel: 找不到指定的模块。 simply swapping these two imports will solve this issue
This commit is contained in:
parent
48dae15e4a
commit
977213426f
@ -22,8 +22,8 @@
|
||||
# fine-tuning enabling code and other elements of the foregoing made publicly available
|
||||
# by Tencent in accordance with TENCENT HUNYUAN COMMUNITY LICENSE AGREEMENT.
|
||||
|
||||
import custom_rasterizer_kernel
|
||||
import torch
|
||||
import custom_rasterizer_kernel
|
||||
|
||||
|
||||
def rasterize(pos, tri, resolution, clamp_depth=torch.zeros(0), use_depth_prior=0):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user