derek-thomas HF staff commited on
Commit
cd84bc1
1 Parent(s): 2195fa8

Adding setup.py

Browse files
Files changed (2) hide show
  1. on_startup.sh +2 -0
  2. setup.py +31 -0
on_startup.sh CHANGED
@@ -19,6 +19,8 @@ cd ~/app
19
  git clone https://github.com/ray-project/llmperf.git
20
  cd llmperf
21
  git checkout afd137a
 
 
22
 
23
  # Add dark theme
24
  mkdir -p ~/.jupyter/lab/user-settings/@jupyterlab/apputils-extension/ && \
 
19
  git clone https://github.com/ray-project/llmperf.git
20
  cd llmperf
21
  git checkout afd137a
22
+ mv ~/app/setup.py .
23
+ pip install -e .
24
 
25
  # Add dark theme
26
  mkdir -p ~/.jupyter/lab/user-settings/@jupyterlab/apputils-extension/ && \
setup.py ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from setuptools import setup, find_packages
2
+
3
+ setup(
4
+ name="LLMPerf",
5
+ version="0.1.0",
6
+ author="Avnish Narayan",
7
+ author_email="[email protected]",
8
+ description="A framework for load testing LLM APIs",
9
+ license="Apache-2.0",
10
+ packages=find_packages(),
11
+ python_requires=">=3.8, <3.11",
12
+ install_requires=[
13
+ "pydantic<2.5",
14
+ "ray",
15
+ "pytest>=6.0",
16
+ "seaborn>=0.11",
17
+ "awscli>=1.22",
18
+ "typer>=0.4",
19
+ "litellm>=0.1.738",
20
+ "num2words",
21
+ "transformers",
22
+ "tqdm",
23
+ "boto3",
24
+ "google-cloud-aiplatform"
25
+ ],
26
+ classifiers=[
27
+ "Programming Language :: Python :: 3",
28
+ "License :: OSI Approved :: Apache Software License",
29
+ "Operating System :: OS Independent",
30
+ ],
31
+ )