Spaces:
Runtime error
Runtime error
Update Dockerfile and requirements.txt
Browse files- Dockerfile +2 -2
- requirements.txt +143 -0
Dockerfile
CHANGED
@@ -12,7 +12,7 @@ USER user
|
|
12 |
# ENV HOME=/home/user \
|
13 |
# PATH=/home/user/.local/bin:/home/user/.cargo/bin:$PATH
|
14 |
ENV HOME=/home/user \
|
15 |
-
PATH=/home/user/.local/bin
|
16 |
|
17 |
# Set the working directory in the container
|
18 |
WORKDIR $HOME/app
|
@@ -41,4 +41,4 @@ EXPOSE 80
|
|
41 |
RUN /venv/bin/pip freeze > requirements.txt
|
42 |
|
43 |
# Run train_llm.py when the container launches
|
44 |
-
CMD ["/bin/bash", "-c", "source /venv/bin/activate && python
|
|
|
12 |
# ENV HOME=/home/user \
|
13 |
# PATH=/home/user/.local/bin:/home/user/.cargo/bin:$PATH
|
14 |
ENV HOME=/home/user \
|
15 |
+
PATH=/home/user/.local/bin:$PATH
|
16 |
|
17 |
# Set the working directory in the container
|
18 |
WORKDIR $HOME/app
|
|
|
41 |
RUN /venv/bin/pip freeze > requirements.txt
|
42 |
|
43 |
# Run train_llm.py when the container launches
|
44 |
+
CMD ["/bin/bash", "-c", "source /venv/bin/activate && python app.py"]
|
requirements.txt
ADDED
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
accelerate==0.25.0
|
2 |
+
aiohttp==3.9.1
|
3 |
+
aiosignal==1.3.1
|
4 |
+
anyio==4.2.0
|
5 |
+
argon2-cffi==23.1.0
|
6 |
+
argon2-cffi-bindings==21.2.0
|
7 |
+
arrow==1.3.0
|
8 |
+
asttokens==2.4.1
|
9 |
+
async-lru==2.0.4
|
10 |
+
attrs==23.1.0
|
11 |
+
Babel==2.14.0
|
12 |
+
beautifulsoup4==4.12.2
|
13 |
+
bleach==6.1.0
|
14 |
+
certifi==2023.11.17
|
15 |
+
cffi==1.16.0
|
16 |
+
charset-normalizer==3.3.2
|
17 |
+
comm==0.2.0
|
18 |
+
datasets==2.16.0
|
19 |
+
debugpy==1.8.0
|
20 |
+
decorator==5.1.1
|
21 |
+
defusedxml==0.7.1
|
22 |
+
dill==0.3.7
|
23 |
+
docstring-parser==0.15
|
24 |
+
executing==2.0.1
|
25 |
+
fastjsonschema==2.19.0
|
26 |
+
filelock==3.13.1
|
27 |
+
fqdn==1.5.1
|
28 |
+
frozenlist==1.4.1
|
29 |
+
fsspec==2023.10.0
|
30 |
+
huggingface-hub==0.20.1
|
31 |
+
idna==3.6
|
32 |
+
ipykernel==6.27.1
|
33 |
+
ipython==8.19.0
|
34 |
+
ipywidgets==8.1.1
|
35 |
+
isoduration==20.11.0
|
36 |
+
jedi==0.19.1
|
37 |
+
Jinja2==3.1.2
|
38 |
+
json5==0.9.14
|
39 |
+
jsonpointer==2.4
|
40 |
+
jsonschema==4.20.0
|
41 |
+
jsonschema-specifications==2023.11.2
|
42 |
+
jupyter==1.0.0
|
43 |
+
jupyter-console==6.6.3
|
44 |
+
jupyter-events==0.9.0
|
45 |
+
jupyter-lsp==2.2.1
|
46 |
+
jupyter_client==8.6.0
|
47 |
+
jupyter_core==5.5.1
|
48 |
+
jupyter_server==2.12.1
|
49 |
+
jupyter_server_terminals==0.5.0
|
50 |
+
jupyterlab==4.0.9
|
51 |
+
jupyterlab-widgets==3.0.9
|
52 |
+
jupyterlab_pygments==0.3.0
|
53 |
+
jupyterlab_server==2.25.2
|
54 |
+
markdown-it-py==3.0.0
|
55 |
+
MarkupSafe==2.1.3
|
56 |
+
matplotlib-inline==0.1.6
|
57 |
+
mdurl==0.1.2
|
58 |
+
mistune==3.0.2
|
59 |
+
mpmath==1.3.0
|
60 |
+
multidict==6.0.4
|
61 |
+
multiprocess==0.70.15
|
62 |
+
nbclient==0.9.0
|
63 |
+
nbconvert==7.13.1
|
64 |
+
nbformat==5.9.2
|
65 |
+
nest-asyncio==1.5.8
|
66 |
+
networkx==3.2.1
|
67 |
+
notebook==7.0.6
|
68 |
+
notebook_shim==0.2.3
|
69 |
+
numpy==1.26.2
|
70 |
+
nvidia-cublas-cu12==12.1.3.1
|
71 |
+
nvidia-cuda-cupti-cu12==12.1.105
|
72 |
+
nvidia-cuda-nvrtc-cu12==12.1.105
|
73 |
+
nvidia-cuda-runtime-cu12==12.1.105
|
74 |
+
nvidia-cudnn-cu12==8.9.2.26
|
75 |
+
nvidia-cufft-cu12==11.0.2.54
|
76 |
+
nvidia-curand-cu12==10.3.2.106
|
77 |
+
nvidia-cusolver-cu12==11.4.5.107
|
78 |
+
nvidia-cusparse-cu12==12.1.0.106
|
79 |
+
nvidia-nccl-cu12==2.18.1
|
80 |
+
nvidia-nvjitlink-cu12==12.3.101
|
81 |
+
nvidia-nvtx-cu12==12.1.105
|
82 |
+
overrides==7.4.0
|
83 |
+
packaging==23.2
|
84 |
+
pandas==2.1.4
|
85 |
+
pandocfilters==1.5.0
|
86 |
+
parso==0.8.3
|
87 |
+
peft==0.7.1
|
88 |
+
pexpect==4.9.0
|
89 |
+
platformdirs==4.1.0
|
90 |
+
prometheus-client==0.19.0
|
91 |
+
prompt-toolkit==3.0.43
|
92 |
+
psutil==5.9.7
|
93 |
+
ptyprocess==0.7.0
|
94 |
+
pure-eval==0.2.2
|
95 |
+
pyarrow==14.0.2
|
96 |
+
pyarrow-hotfix==0.6
|
97 |
+
pycparser==2.21
|
98 |
+
Pygments==2.17.2
|
99 |
+
python-dateutil==2.8.2
|
100 |
+
python-json-logger==2.0.7
|
101 |
+
pytz==2023.3.post1
|
102 |
+
PyYAML==6.0.1
|
103 |
+
pyzmq==25.1.2
|
104 |
+
qtconsole==5.5.1
|
105 |
+
QtPy==2.4.1
|
106 |
+
referencing==0.32.0
|
107 |
+
regex==2023.10.3
|
108 |
+
requests==2.31.0
|
109 |
+
rfc3339-validator==0.1.4
|
110 |
+
rfc3986-validator==0.1.1
|
111 |
+
rich==13.7.0
|
112 |
+
rpds-py==0.15.2
|
113 |
+
safetensors==0.4.1
|
114 |
+
Send2Trash==1.8.2
|
115 |
+
shtab==1.6.5
|
116 |
+
six==1.16.0
|
117 |
+
sniffio==1.3.0
|
118 |
+
soupsieve==2.5
|
119 |
+
stack-data==0.6.3
|
120 |
+
sympy==1.12
|
121 |
+
terminado==0.18.0
|
122 |
+
tinycss2==1.2.1
|
123 |
+
tokenizers==0.15.0
|
124 |
+
torch==2.1.2
|
125 |
+
tornado==6.4
|
126 |
+
tqdm==4.66.1
|
127 |
+
traitlets==5.14.0
|
128 |
+
transformers==4.36.2
|
129 |
+
triton==2.1.0
|
130 |
+
trl==0.7.6
|
131 |
+
types-python-dateutil==2.8.19.14
|
132 |
+
typing_extensions==4.9.0
|
133 |
+
tyro==0.6.1
|
134 |
+
tzdata==2023.3
|
135 |
+
uri-template==1.3.0
|
136 |
+
urllib3==2.1.0
|
137 |
+
wcwidth==0.2.12
|
138 |
+
webcolors==1.13
|
139 |
+
webencodings==0.5.1
|
140 |
+
websocket-client==1.7.0
|
141 |
+
widgetsnbextension==4.0.9
|
142 |
+
xxhash==3.4.1
|
143 |
+
yarl==1.9.4
|