Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
@@ -18,10 +18,30 @@ This demonstration classroom shows installation and compute based AI model devel
|
|
18 |
7. Update GeForce Game Ready Driver to current 12/12/2023 v 546.33
|
19 |
8. Check your paths and make sure that python was installed as Administrator to keep all file perms clear.
|
20 |
9. Test Out running pip install with all GPU requirements.txt that you will use. Below is what my session looks like.
|
21 |
-
10. '''
|
22 |
|
23 |
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
26 |
C:\Users\aaron>path
|
27 |
PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\libnvvp;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\dotnet\;%NVM_HOME%;%NVM_SYMLINK%;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\Program Files\NVIDIA Corporation\Nsight Compute 2023.3.1\;C:\Users\aaron\AppData\Local\Programs\Python\Python310\Scripts\;C:\Users\aaron\AppData\Local\Programs\Python\Python310\;C:\Users\aaron\AppData\Local\Microsoft\WindowsApps;C:\Users\aaron\.dotnet\tools;C:\Users\aaron\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\aaron\AppData\Roaming\npm
|
@@ -362,5 +382,16 @@ Collecting mdurl~=0.1
|
|
362 |
Installing collected packages: pytz, pydub, mpmath, ffmpy, zipp, websockets, urllib3, tzdata, typing-extensions, toolz, tomlkit, sympy, sniffio, six, shellingham, semantic-version, safetensors, rpds-py, regex, pyyaml, python-multipart, pyparsing, pygments, psutil, Pillow, packaging, orjson, numpy, networkx, mdurl, markupsafe, lazy_loader, kiwisolver, importlib-resources, idna, h11, fsspec, fonttools, filelock, exceptiongroup, einops, cycler, colorama, charset-normalizer, certifi, attrs, annotated-types, aiofiles, tqdm, tifffile, scipy, requests, referencing, python-dateutil, pydantic-core, opencv-python, markdown-it-py, jinja2, importlib-metadata, imageio, httpcore, contourpy, click, anyio, uvicorn, typer, torch, starlette, scikit-image, rich, pydantic, pandas, matplotlib, jsonschema-specifications, huggingface-hub, httpx, xformers, torchvision, tokenizers, jsonschema, gradio-client, fastapi, diffusers, accelerate, transformers, timm, altair, peft, gradio, controlnet-aux, compel
|
363 |
DEPRECATION: ffmpy is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
|
364 |
Running setup.py install for ffmpy ... done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
365 |
|
366 |
-
|
|
|
18 |
7. Update GeForce Game Ready Driver to current 12/12/2023 v 546.33
|
19 |
8. Check your paths and make sure that python was installed as Administrator to keep all file perms clear.
|
20 |
9. Test Out running pip install with all GPU requirements.txt that you will use. Below is what my session looks like.
|
|
|
21 |
|
22 |
|
23 |
|
24 |
+
## clean pip install of requirements.txt:
|
25 |
+
```
|
26 |
+
C:\Users\aaron\src\2024-01-02\RTI>type requirements.txt
|
27 |
+
diffusers==0.23.0
|
28 |
+
transformers==4.34.1
|
29 |
+
gradio==4.1.2
|
30 |
+
--extra-index-url https://download.pytorch.org/whl/cu121
|
31 |
+
torch==2.1.0
|
32 |
+
fastapi==0.104.0
|
33 |
+
uvicorn==0.23.2
|
34 |
+
Pillow==10.1.0
|
35 |
+
accelerate==0.24.0
|
36 |
+
compel==2.0.2
|
37 |
+
controlnet-aux==0.0.7
|
38 |
+
peft==0.6.0
|
39 |
+
xformers
|
40 |
+
```
|
41 |
+
|
42 |
+
|
43 |
+
|
44 |
+
```
|
45 |
|
46 |
C:\Users\aaron>path
|
47 |
PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\libnvvp;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\dotnet\;%NVM_HOME%;%NVM_SYMLINK%;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\Program Files\NVIDIA Corporation\Nsight Compute 2023.3.1\;C:\Users\aaron\AppData\Local\Programs\Python\Python310\Scripts\;C:\Users\aaron\AppData\Local\Programs\Python\Python310\;C:\Users\aaron\AppData\Local\Microsoft\WindowsApps;C:\Users\aaron\.dotnet\tools;C:\Users\aaron\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\aaron\AppData\Roaming\npm
|
|
|
382 |
Installing collected packages: pytz, pydub, mpmath, ffmpy, zipp, websockets, urllib3, tzdata, typing-extensions, toolz, tomlkit, sympy, sniffio, six, shellingham, semantic-version, safetensors, rpds-py, regex, pyyaml, python-multipart, pyparsing, pygments, psutil, Pillow, packaging, orjson, numpy, networkx, mdurl, markupsafe, lazy_loader, kiwisolver, importlib-resources, idna, h11, fsspec, fonttools, filelock, exceptiongroup, einops, cycler, colorama, charset-normalizer, certifi, attrs, annotated-types, aiofiles, tqdm, tifffile, scipy, requests, referencing, python-dateutil, pydantic-core, opencv-python, markdown-it-py, jinja2, importlib-metadata, imageio, httpcore, contourpy, click, anyio, uvicorn, typer, torch, starlette, scikit-image, rich, pydantic, pandas, matplotlib, jsonschema-specifications, huggingface-hub, httpx, xformers, torchvision, tokenizers, jsonschema, gradio-client, fastapi, diffusers, accelerate, transformers, timm, altair, peft, gradio, controlnet-aux, compel
|
383 |
DEPRECATION: ffmpy is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
|
384 |
Running setup.py install for ffmpy ... done
|
385 |
+
DEPRECATION: controlnet-aux is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
|
386 |
+
Running setup.py install for controlnet-aux ... done
|
387 |
+
Successfully installed Pillow-10.1.0 accelerate-0.24.0 aiofiles-23.2.1 altair-5.2.0 annotated-types-0.6.0 anyio-3.7.1 attrs-23.2.0 certifi-2023.11.17 charset-normalizer-3.3.2 click-8.1.7 colorama-0.4.6 compel-2.0.2 contourpy-1.2.0 controlnet-aux-0.0.7 cycler-0.12.1 diffusers-0.23.0 einops-0.7.0 exceptiongroup-1.2.0 fastapi-0.104.0 ffmpy-0.3.1 filelock-3.13.1 fonttools-4.47.0 fsspec-2023.12.2 gradio-4.1.2 gradio-client-0.7.0 h11-0.14.0 httpcore-1.0.2 httpx-0.26.0 huggingface-hub-0.17.3 idna-3.6 imageio-2.33.1 importlib-metadata-7.0.1 importlib-resources-6.1.1 jinja2-3.1.2 jsonschema-4.20.0 jsonschema-specifications-2023.12.1 kiwisolver-1.4.5 lazy_loader-0.3 markdown-it-py-3.0.0 markupsafe-2.1.3 matplotlib-3.8.2 mdurl-0.1.2 mpmath-1.3.0 networkx-3.2.1 numpy-1.26.2 opencv-python-4.9.0.80 orjson-3.9.10 packaging-23.2 pandas-2.1.4 peft-0.6.0 psutil-5.9.7 pydantic-2.5.3 pydantic-core-2.14.6 pydub-0.25.1 pygments-2.17.2 pyparsing-3.1.1 python-dateutil-2.8.2 python-multipart-0.0.6 pytz-2023.3.post1 pyyaml-6.0.1 referencing-0.32.0 regex-2023.12.25 requests-2.31.0 rich-13.7.0 rpds-py-0.16.2 safetensors-0.4.1 scikit-image-0.22.0 scipy-1.11.4 semantic-version-2.10.0 shellingham-1.5.4 six-1.16.0 sniffio-1.3.0 starlette-0.27.0 sympy-1.12 tifffile-2023.12.9 timm-0.9.12 tokenizers-0.14.1 tomlkit-0.12.0 toolz-0.12.0 torch-2.1.0+cu121 torchvision-0.16.0+cu121 tqdm-4.66.1 transformers-4.34.1 typer-0.9.0 typing-extensions-4.9.0 tzdata-2023.4 urllib3-2.1.0 uvicorn-0.23.2 websockets-11.0.3 xformers-0.0.22.post7 zipp-3.17.0
|
388 |
+
|
389 |
+
[notice] A new release of pip is available: 23.0.1 -> 23.3.2
|
390 |
+
[notice] To update, run: python.exe -m pip install --upgrade pip
|
391 |
+
|
392 |
+
C:\Users\aaron\src\2024-01-02\RTI>
|
393 |
+
|
394 |
+
|
395 |
+
|
396 |
|
397 |
+
```
|