mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Sort the imports
This commit is contained in:
parent
e735806c51
commit
0f6708c471
@ -16,6 +16,7 @@ os.environ["RWKV_CUDA_ON"] = '0' # '1' : use CUDA kernel for seq mode (much fas
|
|||||||
from rwkv.model import RWKV
|
from rwkv.model import RWKV
|
||||||
from rwkv.utils import PIPELINE, PIPELINE_ARGS
|
from rwkv.utils import PIPELINE, PIPELINE_ARGS
|
||||||
|
|
||||||
|
|
||||||
class RWKVModel:
|
class RWKVModel:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
pass
|
pass
|
||||||
|
@ -5,8 +5,8 @@ import time
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
import torch
|
import torch
|
||||||
import transformers
|
import transformers
|
||||||
from tqdm import tqdm
|
|
||||||
from rwkv.utils import PIPELINE, PIPELINE_ARGS
|
from rwkv.utils import PIPELINE, PIPELINE_ARGS
|
||||||
|
from tqdm import tqdm
|
||||||
|
|
||||||
import modules.shared as shared
|
import modules.shared as shared
|
||||||
from modules.extensions import apply_extensions
|
from modules.extensions import apply_extensions
|
||||||
|
Loading…
Reference in New Issue
Block a user