Adding logger import to t5_modeling.py

Logger is referenced during the apex importing but is not imported, causing a NameError
This commit is contained in:
Adam Kowalski 2023-07-11 11:35:23 -05:00 committed by GitHub
parent b4024edd45
commit 0e048e4347
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,8 @@ import math
import warnings import warnings
from typing import Optional, Tuple, Union from typing import Optional, Tuple, Union
from loguru import logger
import torch import torch
import torch.distributed import torch.distributed
from torch import nn from torch import nn