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

@@ -18,6 +18,9 @@ from collections import OrderedDict
from torch import nn
from eval_utils import populate_queues, log_to_tensorboard
from collections import deque
torch.backends.cuda.matmul.allow_tf32 = True
torch.backends.cudnn.allow_tf32 = True
from torch import Tensor
from torch.utils.tensorboard import SummaryWriter
from PIL import Image