mirror of
https://github.com/neonbjb/tortoise-tts.git
synced 2026-04-21 06:14:04 +00:00
Update diffusion_decoder.py
Chanhged import autocast from torch
This commit is contained in:
parent
c9951ac102
commit
4e990b4327
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue