tf32推理

This commit is contained in:
qhy
2026-02-10 16:39:14 +08:00
parent fffc5a9956
commit ed637c972b
6 changed files with 16 additions and 2 deletions

View File

@@ -16,6 +16,9 @@ from collections import OrderedDict
from unifolm_wma.models.samplers.ddim import DDIMSampler
from unifolm_wma.utils.utils import instantiate_from_config
torch.backends.cuda.matmul.allow_tf32 = True
torch.backends.cudnn.allow_tf32 = True
def get_filelist(data_dir: str, postfixes: list[str]) -> list[str]:
"""