mirror of
https://github.com/neonbjb/tortoise-tts.git
synced 2026-01-24 17:40:40 +01:00
Update diffusion_decoder.py
Chanhged import autocast from torch
This commit is contained in:
parent
c9951ac102
commit
4e990b4327
|
|
@ -5,7 +5,7 @@ from abc import abstractmethod
|
|||
import torch
|
||||
import torch.nn as nn
|
||||
import torch.nn.functional as F
|
||||
from torch import autocast
|
||||
from torch.cuda.amp import autocast
|
||||
|
||||
from tortoise.models.arch_util import normalization, AttentionBlock
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue