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