mattb512 commited on
Commit
03ddf81
1 Parent(s): 6ba6dce

Setup HF demo (#1)

Browse files

* Create requirements.txt
* Create hf-sync.yml

Files changed (2) hide show
  1. .github/workflows/hf-sync.yml +23 -0
  2. requirements.txt +380 -0
.github/workflows/hf-sync.yml ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Sync with HuggingFace
2
+
3
+ on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
+ branches: [ "*" ]
8
+
9
+ workflow_dispatch:
10
+
11
+ jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ with:
18
+ fetch-depth: 0
19
+ lfs: true
20
+ - name: Push to hub
21
+ env:
22
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
23
+ run: git push https://mattb512:$HF_TOKEN@huggingface.co/spaces/TRI-ML/vlm-demo master
requirements.txt ADDED
@@ -0,0 +1,380 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file may be used to create an environment using:
2
+ # $ conda create --name <env> --file <this file>
3
+ # platform: linux-64
4
+ _libgcc_mutex=0.1=conda_forge
5
+ _openmp_mutex=4.5=2_kmp_llvm
6
+ accelerate=0.24.0=pypi_0
7
+ aiofiles=23.2.1=pypi_0
8
+ aiohttp=3.8.6=pypi_0
9
+ aiosignal=1.3.1=pypi_0
10
+ altair=5.1.2=pypi_0
11
+ annotated-types=0.6.0=pypi_0
12
+ antlr4-python3-runtime=4.9.3=pypi_0
13
+ anyio=3.7.1=pypi_0
14
+ appdirs=1.4.4=pypi_0
15
+ ascii-magic=2.3.0=pypi_0
16
+ asttokens=2.4.1=pyhd8ed1ab_0
17
+ async-timeout=4.0.3=pypi_0
18
+ attrs=23.1.0=pypi_0
19
+ azure-core=1.29.5=pypi_0
20
+ azure-identity=1.15.0=pypi_0
21
+ azure-storage-blob=12.18.3=pypi_0
22
+ azure-storage-file-datalake=12.13.2=pypi_0
23
+ backcall=0.2.0=pyh9f0ad1d_0
24
+ backports=1.0=pyhd8ed1ab_3
25
+ backports.functools_lru_cache=1.6.5=pyhd8ed1ab_0
26
+ bcrypt=4.0.1=pypi_0
27
+ bitsandbytes=0.41.1=pypi_0
28
+ black=23.10.1=pypi_0
29
+ blas=2.116=mkl
30
+ blas-devel=3.9.0=16_linux64_mkl
31
+ bleach=6.1.0=pypi_0
32
+ blessed=1.20.0=pypi_0
33
+ blinker=1.6.3=pypi_0
34
+ blis=0.7.11=pypi_0
35
+ boto3=1.28.72=pypi_0
36
+ botocore=1.31.72=pypi_0
37
+ braceexpand=0.1.7=pypi_0
38
+ brotli-python=1.1.0=py310hc6cd4ac_1
39
+ bzip2=1.0.8=h7f98852_4
40
+ ca-certificates=2023.11.17=hbcca054_0
41
+ cachetools=5.3.2=pypi_0
42
+ catalogue=2.0.10=pypi_0
43
+ certifi=2023.7.22=pypi_0
44
+ cffi=1.16.0=pypi_0
45
+ cfgv=3.4.0=pypi_0
46
+ charset-normalizer=3.3.1=pypi_0
47
+ circuitbreaker=1.4.0=pypi_0
48
+ click=8.1.7=pypi_0
49
+ cloudpathlib=0.16.0=pypi_0
50
+ cmake=3.27.7=pypi_0
51
+ colorama=0.4.6=pypi_0
52
+ comm=0.1.4=pyhd8ed1ab_0
53
+ confection=0.1.3=pypi_0
54
+ contexttimer=0.3.3=pypi_0
55
+ contourpy=1.1.1=pypi_0
56
+ cryptography=41.0.5=pypi_0
57
+ cuda-cudart=12.1.105=0
58
+ cuda-cupti=12.1.105=0
59
+ cuda-libraries=12.1.0=0
60
+ cuda-nvrtc=12.1.105=0
61
+ cuda-nvtx=12.1.105=0
62
+ cuda-opencl=12.3.52=0
63
+ cuda-runtime=12.1.0=0
64
+ cycler=0.12.1=pypi_0
65
+ cymem=2.0.8=pypi_0
66
+ debugpy=1.8.0=py310hc6cd4ac_1
67
+ decorator=5.1.1=pyhd8ed1ab_0
68
+ decord=0.6.0=pypi_0
69
+ diffusers=0.16.0=pypi_0
70
+ distlib=0.3.7=pypi_0
71
+ dnspython=2.4.2=pypi_0
72
+ docker-pycreds=0.4.0=pypi_0
73
+ draccus=0.7=pypi_0
74
+ einops=0.7.0=pypi_0
75
+ einops-exts=0.0.4=pypi_0
76
+ exceptiongroup=1.1.3=pyhd8ed1ab_0
77
+ executing=2.0.0=pypi_0
78
+ fairscale=0.4.4=pypi_0
79
+ fastapi=0.104.0=pypi_0
80
+ ffmpeg=4.3=hf484d3e_0
81
+ ffmpy=0.3.1=pypi_0
82
+ filelock=3.12.4=pypi_0
83
+ flash-attn=2.3.3=pypi_0
84
+ fonttools=4.43.1=pypi_0
85
+ freetype=2.12.1=h267a509_2
86
+ frozenlist=1.4.0=pypi_0
87
+ fsspec=2023.10.0=pypi_0
88
+ ftfy=6.1.1=pypi_0
89
+ gitdb=4.0.11=pypi_0
90
+ gitpython=3.1.40=pypi_0
91
+ gmp=6.3.0=h59595ed_0
92
+ gmpy2=2.1.2=py310h3ec546c_1
93
+ gnutls=3.6.13=h85f3911_1
94
+ google-api-core=2.12.0=pypi_0
95
+ google-auth=2.23.3=pypi_0
96
+ google-cloud-core=2.3.3=pypi_0
97
+ google-cloud-storage=2.10.0=pypi_0
98
+ google-crc32c=1.5.0=pypi_0
99
+ google-resumable-media=2.6.0=pypi_0
100
+ googleapis-common-protos=1.61.0=pypi_0
101
+ gpustat=1.1.1=pypi_0
102
+ gradio=3.35.2=pypi_0
103
+ gradio-client=0.2.9=pypi_0
104
+ h11=0.14.0=pypi_0
105
+ httpcore=0.17.3=pypi_0
106
+ httpx=0.24.0=pypi_0
107
+ huggingface-hub=0.17.3=pypi_0
108
+ icu=73.2=h59595ed_0
109
+ identify=2.5.30=pypi_0
110
+ idna=3.4=pyhd8ed1ab_0
111
+ imageio=2.31.6=pypi_0
112
+ importlib-metadata=6.8.0=pyha770c72_0
113
+ importlib-resources=6.1.0=pypi_0
114
+ importlib_metadata=6.8.0=hd8ed1ab_0
115
+ iopath=0.1.10=pypi_0
116
+ ipykernel=6.26.0=pyhf8b6a83_0
117
+ ipython=8.16.1=pyh0d859eb_0
118
+ isodate=0.6.1=pypi_0
119
+ jedi=0.19.1=pyhd8ed1ab_0
120
+ jinja2=3.1.2=pyhd8ed1ab_1
121
+ jmespath=1.0.1=pypi_0
122
+ joblib=1.3.2=pypi_0
123
+ jpeg=9e=h166bdaf_2
124
+ jsonlines=4.0.0=pypi_0
125
+ jsonschema=4.19.1=pypi_0
126
+ jsonschema-specifications=2023.7.1=pypi_0
127
+ jupyter_client=8.5.0=pyhd8ed1ab_0
128
+ jupyter_core=5.4.0=py310hff52083_0
129
+ kaggle=1.5.16=pypi_0
130
+ kiwisolver=1.4.5=pypi_0
131
+ lame=3.100=h166bdaf_1003
132
+ langcodes=3.3.0=pypi_0
133
+ lazy-loader=0.3=pypi_0
134
+ lcms2=2.15=hfd0df8a_0
135
+ ld_impl_linux-64=2.40=h41732ed_0
136
+ lerc=4.0.0=h27087fc_0
137
+ libblas=3.9.0=16_linux64_mkl
138
+ libcblas=3.9.0=16_linux64_mkl
139
+ libcublas=12.1.0.26=0
140
+ libcufft=11.0.2.4=0
141
+ libcufile=1.8.0.34=0
142
+ libcurand=10.3.4.52=0
143
+ libcusolver=11.4.4.55=0
144
+ libcusparse=12.0.2.55=0
145
+ libdeflate=1.17=h0b41bf4_0
146
+ libffi=3.4.2=h7f98852_5
147
+ libgcc-ng=13.2.0=h807b86a_2
148
+ libgfortran-ng=13.2.0=h69a702a_3
149
+ libgfortran5=13.2.0=ha4646dd_3
150
+ libgomp=13.2.0=h807b86a_2
151
+ libhwloc=2.9.3=default_h554bfaf_1009
152
+ libiconv=1.17=h166bdaf_0
153
+ libjpeg-turbo=2.0.0=h9bf148f_0
154
+ liblapack=3.9.0=16_linux64_mkl
155
+ liblapacke=3.9.0=16_linux64_mkl
156
+ libnpp=12.0.2.50=0
157
+ libnsl=2.0.1=hd590300_0
158
+ libnvjitlink=12.1.105=0
159
+ libnvjpeg=12.1.1.14=0
160
+ libpng=1.6.39=h753d276_0
161
+ libsodium=1.0.18=h36c2ea0_1
162
+ libsqlite=3.43.2=h2797004_0
163
+ libstdcxx-ng=13.2.0=h7e041cc_2
164
+ libtiff=4.5.0=h6adf6a1_2
165
+ libuuid=2.38.1=h0b41bf4_0
166
+ libwebp-base=1.3.2=hd590300_0
167
+ libxcb=1.13=h7f98852_1004
168
+ libxml2=2.11.5=h232c23b_1
169
+ libzlib=1.2.13=hd590300_5
170
+ linkify-it-py=2.0.2=pypi_0
171
+ lit=17.0.3=pypi_0
172
+ llava=1.1.1=pypi_0
173
+ llvm-openmp=15.0.7=h0cdce71_0
174
+ markdown-it-py=2.2.0=pypi_0
175
+ markdown2=2.4.10=pypi_0
176
+ markupsafe=2.1.3=py310h2372a71_1
177
+ matplotlib=3.8.0=pypi_0
178
+ matplotlib-inline=0.1.6=pyhd8ed1ab_0
179
+ mdit-py-plugins=0.3.3=pypi_0
180
+ mdurl=0.1.2=pypi_0
181
+ mergedeep=1.3.4=pypi_0
182
+ mkl=2022.1.0=h84fe81f_915
183
+ mkl-devel=2022.1.0=ha770c72_916
184
+ mkl-include=2022.1.0=h84fe81f_915
185
+ mosaicml-streaming=0.6.1=pypi_0
186
+ mpc=1.3.1=hfe3b2da_0
187
+ mpfr=4.2.1=h9458935_0
188
+ mpmath=1.3.0=pyhd8ed1ab_0
189
+ msal=1.24.1=pypi_0
190
+ msal-extensions=1.0.0=pypi_0
191
+ multidict=6.0.4=pypi_0
192
+ murmurhash=1.0.10=pypi_0
193
+ mypy-extensions=1.0.0=pypi_0
194
+ ncurses=6.4=hcb278e6_0
195
+ nest-asyncio=1.5.8=pyhd8ed1ab_0
196
+ nettle=3.6=he412f7d_0
197
+ networkx=3.2=pypi_0
198
+ ninja=1.11.1.1=pypi_0
199
+ nltk=3.8.1=pypi_0
200
+ nodeenv=1.8.0=pypi_0
201
+ numpy=1.26.1=pypi_0
202
+ nvidia-cublas-cu11=11.10.3.66=pypi_0
203
+ nvidia-cublas-cu12=12.1.3.1=pypi_0
204
+ nvidia-cuda-cupti-cu11=11.7.101=pypi_0
205
+ nvidia-cuda-cupti-cu12=12.1.105=pypi_0
206
+ nvidia-cuda-nvrtc-cu11=11.7.99=pypi_0
207
+ nvidia-cuda-nvrtc-cu12=12.1.105=pypi_0
208
+ nvidia-cuda-runtime-cu11=11.7.99=pypi_0
209
+ nvidia-cuda-runtime-cu12=12.1.105=pypi_0
210
+ nvidia-cudnn-cu11=8.5.0.96=pypi_0
211
+ nvidia-cudnn-cu12=8.9.2.26=pypi_0
212
+ nvidia-cufft-cu11=10.9.0.58=pypi_0
213
+ nvidia-cufft-cu12=11.0.2.54=pypi_0
214
+ nvidia-curand-cu11=10.2.10.91=pypi_0
215
+ nvidia-curand-cu12=10.3.2.106=pypi_0
216
+ nvidia-cusolver-cu11=11.4.0.1=pypi_0
217
+ nvidia-cusolver-cu12=11.4.5.107=pypi_0
218
+ nvidia-cusparse-cu11=11.7.4.91=pypi_0
219
+ nvidia-cusparse-cu12=12.1.0.106=pypi_0
220
+ nvidia-ml-py=12.535.133=pypi_0
221
+ nvidia-nccl-cu11=2.14.3=pypi_0
222
+ nvidia-nccl-cu12=2.18.1=pypi_0
223
+ nvidia-nvjitlink-cu12=12.3.52=pypi_0
224
+ nvidia-nvtx-cu11=11.7.91=pypi_0
225
+ nvidia-nvtx-cu12=12.1.105=pypi_0
226
+ oci=2.114.0=pypi_0
227
+ omegaconf=2.3.0=pypi_0
228
+ open-clip-torch=2.23.0=pypi_0
229
+ open-flamingo=2.0.1=pypi_0
230
+ openai=0.28.1=pypi_0
231
+ opencv-python-headless=4.5.5.64=pypi_0
232
+ opendatasets=0.1.22=pypi_0
233
+ openh264=2.1.1=h780b84a_0
234
+ openjpeg=2.5.0=hfec8fc6_2
235
+ openssl=3.2.1=hd590300_0
236
+ orjson=3.9.10=pypi_0
237
+ packaging=23.2=pyhd8ed1ab_0
238
+ pandas=2.1.2=pypi_0
239
+ paramiko=3.3.1=pypi_0
240
+ parso=0.8.3=pyhd8ed1ab_0
241
+ pathspec=0.11.2=pypi_0
242
+ pathtools=0.1.2=pypi_0
243
+ peft=0.5.0=pypi_0
244
+ pexpect=4.8.0=pyh1a96a4e_2
245
+ pickleshare=0.7.5=py_1003
246
+ pillow=10.0.1=pypi_0
247
+ pip=23.3.1=pyhd8ed1ab_0
248
+ platformdirs=3.11.0=pyhd8ed1ab_0
249
+ plotly=5.18.0=pypi_0
250
+ portalocker=2.8.2=pypi_0
251
+ pre-commit=3.5.0=pypi_0
252
+ preshed=3.0.9=pypi_0
253
+ prisma=0.0.1=pypi_0
254
+ prompt-toolkit=3.0.39=pyha770c72_0
255
+ prompt_toolkit=3.0.39=hd8ed1ab_0
256
+ protobuf=4.24.4=pypi_0
257
+ psutil=5.9.6=pypi_0
258
+ pthread-stubs=0.4=h36c2ea0_1001
259
+ ptyprocess=0.7.0=pyhd3deb0d_0
260
+ pure_eval=0.2.2=pyhd8ed1ab_0
261
+ pyarrow=13.0.0=pypi_0
262
+ pyasn1=0.5.0=pypi_0
263
+ pyasn1-modules=0.3.0=pypi_0
264
+ pycocoevalcap=1.2=pypi_0
265
+ pycocotools=2.0.7=pypi_0
266
+ pycparser=2.21=pypi_0
267
+ pydantic=1.8=pypi_0
268
+ pydantic-core=2.10.1=pypi_0
269
+ pydeck=0.8.1b0=pypi_0
270
+ pydub=0.25.1=pypi_0
271
+ pygments=2.16.1=pyhd8ed1ab_0
272
+ pyjwt=2.8.0=pypi_0
273
+ pymongo=4.5.0=pypi_0
274
+ pynacl=1.5.0=pypi_0
275
+ pyopenssl=23.3.0=pypi_0
276
+ pyparsing=3.1.1=pypi_0
277
+ pysocks=1.7.1=pyha2e5f31_6
278
+ python=3.10.12=hd12c33a_0_cpython
279
+ python-dateutil=2.8.2=pyhd8ed1ab_0
280
+ python-magic=0.4.27=pypi_0
281
+ python-multipart=0.0.6=pypi_0
282
+ python-slugify=8.0.1=pypi_0
283
+ python-snappy=0.6.1=pypi_0
284
+ python_abi=3.10=4_cp310
285
+ pytorch=2.1.1=py3.10_cuda12.1_cudnn8.9.2_0
286
+ pytorch-cuda=12.1=ha16c6d3_5
287
+ pytorch-mutex=1.0=cuda
288
+ pytz=2023.3.post1=pypi_0
289
+ pyyaml=6.0.1=py310h2372a71_1
290
+ pyyaml-include=1.3.1=pypi_0
291
+ pyzmq=25.1.1=py310h795f18f_2
292
+ readline=8.2=h8228510_1
293
+ referencing=0.30.2=pypi_0
294
+ regex=2023.10.3=pypi_0
295
+ requests=2.31.0=pyhd8ed1ab_0
296
+ rich=13.6.0=pypi_0
297
+ rpds-py=0.10.6=pypi_0
298
+ rsa=4.9=pypi_0
299
+ ruff=0.1.3=pypi_0
300
+ s3transfer=0.7.0=pypi_0
301
+ safetensors=0.4.0=pypi_0
302
+ salesforce-lavis=1.0.1=pypi_0
303
+ scikit-image=0.22.0=pypi_0
304
+ scikit-learn=1.3.2=pypi_0
305
+ scipy=1.11.3=pypi_0
306
+ seaborn=0.13.0=pypi_0
307
+ semantic-version=2.10.0=pypi_0
308
+ sentence-transformers=2.2.2=pypi_0
309
+ sentencepiece=0.1.99=pypi_0
310
+ sentry-sdk=1.32.0=pypi_0
311
+ setproctitle=1.3.3=pypi_0
312
+ setuptools=68.2.2=pyhd8ed1ab_0
313
+ shortuuid=1.0.11=pypi_0
314
+ six=1.16.0=pyh6c4a22f_0
315
+ smart-open=6.4.0=pypi_0
316
+ smmap=5.0.1=pypi_0
317
+ sniffio=1.3.0=pypi_0
318
+ spacy=3.7.2=pypi_0
319
+ spacy-legacy=3.0.12=pypi_0
320
+ spacy-loggers=1.0.5=pypi_0
321
+ srsly=2.4.8=pypi_0
322
+ stack-data=0.6.3=pypi_0
323
+ stack_data=0.6.2=pyhd8ed1ab_0
324
+ starlette=0.27.0=pypi_0
325
+ streamlit=1.28.0=pypi_0
326
+ svgwrite=1.4.3=pypi_0
327
+ sympy=1.12=pypyh9d50eac_103
328
+ tbb=2021.10.0=h00ab1b0_2
329
+ tenacity=8.2.3=pypi_0
330
+ text-unidecode=1.3=pypi_0
331
+ thinc=8.2.1=pypi_0
332
+ threadpoolctl=3.2.0=pypi_0
333
+ tifffile=2023.9.26=pypi_0
334
+ timm=0.9.10=pypi_0
335
+ tk=8.6.13=h2797004_0
336
+ tokenizers=0.14.1=pypi_0
337
+ toml=0.10.2=pypi_0
338
+ tomli=2.0.1=pypi_0
339
+ toolz=0.12.0=pypi_0
340
+ torch=2.1.0=pypi_0
341
+ torchaudio=2.0.2=pypi_0
342
+ torchtriton=2.1.0=py310
343
+ torchvision=0.16.0=pypi_0
344
+ tornado=6.3.3=py310h2372a71_1
345
+ tqdm=4.66.1=pypi_0
346
+ traitlets=5.12.0=pyhd8ed1ab_0
347
+ transformers=4.34.1=pypi_0
348
+ triton=2.1.0=pypi_0
349
+ typer=0.9.0=pypi_0
350
+ typing-extensions=4.8.0=hd8ed1ab_0
351
+ typing-inspect=0.9.0=pypi_0
352
+ typing_extensions=4.8.0=pyha770c72_0
353
+ tzdata=2023.3=pypi_0
354
+ tzlocal=5.2=pypi_0
355
+ uc-micro-py=1.0.2=pypi_0
356
+ urllib3=2.0.7=pypi_0
357
+ uvicorn=0.23.2=pypi_0
358
+ validators=0.22.0=pypi_0
359
+ virtualenv=20.24.6=pypi_0
360
+ vlbench=0.0.1=pypi_0
361
+ wandb=0.15.12=pypi_0
362
+ wasabi=1.1.2=pypi_0
363
+ watchdog=3.0.0=pypi_0
364
+ wavedrom=2.0.3.post3=pypi_0
365
+ wcwidth=0.2.8=pyhd8ed1ab_0
366
+ weasel=0.3.3=pypi_0
367
+ webdataset=0.2.65=pypi_0
368
+ webencodings=0.5.1=pypi_0
369
+ websockets=11.0.3=pypi_0
370
+ wheel=0.41.2=pyhd8ed1ab_0
371
+ xorg-libxau=1.0.11=hd590300_0
372
+ xorg-libxdmcp=1.1.3=h7f98852_0
373
+ xxhash=3.4.1=pypi_0
374
+ xz=5.2.6=h166bdaf_0
375
+ yaml=0.2.5=h7f98852_2
376
+ yarl=1.9.2=pypi_0
377
+ zeromq=4.3.5=h59595ed_0
378
+ zipp=3.17.0=pyhd8ed1ab_0
379
+ zlib=1.2.13=hd590300_5
380
+ zstd=1.5.5.1=pypi_0