Sort the imports

This commit is contained in:
oobabooga 2023-03-01 12:18:17 -03:00
parent e735806c51
commit 0f6708c471
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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