Merge pull request #112 from bigeyex/patch-1

import torch first to load dll correctly
This commit is contained in:
Jukka Seppänen 2025-03-31 12:12:21 +03:00 committed by GitHub
commit b432560c19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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):