2024-05-28 21:21:45 +08:00
|
|
|
import setuptools
|
|
|
|
|
|
|
|
if setuptools.__version__ >= "70.0.0":
|
|
|
|
raise ImportError("setuptools>=70.0.0 is not supported")
|
|
|
|
|
2023-10-25 17:07:40 +08:00
|
|
|
import multipart
|
|
|
|
import fitz
|
2023-08-16 23:07:58 +08:00
|
|
|
import safetensors
|
2023-07-25 16:09:31 +08:00
|
|
|
import midi2audio
|
|
|
|
import mido
|
2023-07-03 17:41:47 +08:00
|
|
|
import lm_dataformat
|
|
|
|
import ftfy
|
|
|
|
import tqdm
|
2023-06-19 22:51:06 +08:00
|
|
|
import tiktoken
|
|
|
|
|
2023-05-20 21:32:20 +08:00
|
|
|
import torch
|
|
|
|
import rwkv
|
2023-10-25 17:51:59 +08:00
|
|
|
import langchain
|
2023-07-03 17:41:47 +08:00
|
|
|
import numpy
|
|
|
|
import tokenizers
|
2023-05-20 21:32:20 +08:00
|
|
|
import fastapi
|
|
|
|
import uvicorn
|
|
|
|
import sse_starlette
|
|
|
|
import pydantic
|
|
|
|
import psutil
|