mirror of
https://git.adityakumar.xyz/llama.cpp.git
synced 2024-11-09 23:29:44 +00:00
py : fix flake8 and isort nitpicks (#960)
This commit is contained in:
parent
1623a6e9b4
commit
43ffdefb74
1 changed files with 5 additions and 3 deletions
|
@ -18,10 +18,12 @@ import zipfile
|
||||||
from abc import ABCMeta, abstractmethod
|
from abc import ABCMeta, abstractmethod
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
from typing import (IO, TYPE_CHECKING, Any, Callable, Dict, Iterable, List,
|
||||||
|
Literal, Optional, Sequence, Tuple, TypeVar, Union)
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from sentencepiece import SentencePieceProcessor # type: ignore
|
from sentencepiece import SentencePieceProcessor # type: ignore
|
||||||
from typing import (IO, Any, Callable, Iterable, Literal, Optional, Sequence,
|
|
||||||
TypeVar, Union, List, Dict, Tuple, TYPE_CHECKING)
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from typing_extensions import TypeAlias
|
from typing_extensions import TypeAlias
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue