This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import torch | |
from torch.nn.parameter import Parameter | |
from typing import List | |
import bz2 | |
import base64 | |
import ctypes | |
from transformers.utils import logging | |
logger = logging.get_logger(__name__) | |
try: |