Closed monajalal closed 11 months ago
I changed clip to and then remove nope env and did the env creation again and now I get this error and I cannot install the package. Could you please check about compatibility of packages? I didn't have this problem with your other git repo "template pose"
(base) mona@ada:~/nope$ conda env create -f environment.yml
Collecting package metadata (repodata.json): | WARNING conda.models.version:get_matcher(556): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.6.0.*, but conda is ignoring the .* and treating it as 1.6.0
WARNING conda.models.version:get_matcher(556): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.8.0.*, but conda is ignoring the .* and treating it as 1.8.0
WARNING conda.models.version:get_matcher(556): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.7.1.*, but conda is ignoring the .* and treating it as 1.7.1
WARNING conda.models.version:get_matcher(556): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.9.0.*, but conda is ignoring the .* and treating it as 1.9.0
done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 23.7.4
latest version: 23.10.0
Please update conda by running
$ conda update -n base -c defaults conda
Or to minimize the number of packages updated during conda update use
conda install conda=23.10.0
Downloading and Extracting Packages
Preparing transaction: done
Verifying transaction: done
Executing transaction: \ By downloading and using the CUDA Toolkit conda packages, you accept the terms and conditions of the CUDA End User License Agreement (EULA): https://docs.nvidia.com/cuda/eula/index.html
done
Installing pip dependencies: - Ran pip subprocess with arguments:
['/home/mona/anaconda3/envs/nope/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/mona/nope/condaenv.csc9y60k.requirements.txt', '--exists-action=b']
Pip subprocess output:
Collecting absl-py==1.3.0
Using cached absl_py-1.3.0-py3-none-any.whl (124 kB)
Collecting accelerate==0.14.0
Using cached accelerate-0.14.0-py3-none-any.whl (175 kB)
Collecting addict==2.4.0
Using cached addict-2.4.0-py3-none-any.whl (3.8 kB)
Collecting aiohttp==3.8.3
Using cached aiohttp-3.8.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.0 MB)
Collecting aiosignal==1.3.1
Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Collecting alembic==1.8.1
Using cached alembic-1.8.1-py3-none-any.whl (209 kB)
Collecting antlr4-python3-runtime==4.9.3
Using cached antlr4-python3-runtime-4.9.3.tar.gz (117 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting asttokens==2.1.0
Using cached asttokens-2.1.0-py2.py3-none-any.whl (26 kB)
Collecting astunparse==1.6.3
Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Collecting async-timeout==4.0.2
Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting attrs==22.1.0
Using cached attrs-22.1.0-py2.py3-none-any.whl (58 kB)
Collecting autopage==0.5.1
Using cached autopage-0.5.1-py3-none-any.whl (29 kB)
Collecting backcall==0.2.0
Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting blenderproc==2.5.0
Using cached blenderproc-2.5.0-py3-none-any.whl (501 kB)
Collecting blobfile==2.0.0
Using cached blobfile-2.0.0-py3-none-any.whl (73 kB)
Collecting boto3==1.26.70
Using cached boto3-1.26.70-py3-none-any.whl (132 kB)
Collecting botocore==1.29.70
Using cached botocore-1.29.70-py3-none-any.whl (10.4 MB)
Collecting cachetools==5.2.0
Using cached cachetools-5.2.0-py3-none-any.whl (9.3 kB)
Collecting cfgv==3.3.1
Using cached cfgv-3.3.1-py2.py3-none-any.whl (7.3 kB)
Collecting click==8.1.3
Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting cliff==4.1.0
Using cached cliff-4.1.0-py3-none-any.whl (81 kB)
Collecting clip==0.2.0
Downloading clip-0.2.0.tar.gz (5.5 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting cmaes==0.9.0
Downloading cmaes-0.9.0-py3-none-any.whl (23 kB)
Collecting cmd2==2.4.2
Downloading cmd2-2.4.2-py3-none-any.whl (147 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 147.1/147.1 kB 10.9 MB/s eta 0:00:00
Collecting colorlog==6.7.0
Downloading colorlog-6.7.0-py2.py3-none-any.whl (11 kB)
Collecting comet-ml==3.31.19
Downloading comet_ml-3.31.19-py3-none-any.whl (441 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 441.8/441.8 kB 37.1 MB/s eta 0:00:00
Collecting commonmark==0.9.1
Using cached commonmark-0.9.1-py2.py3-none-any.whl (51 kB)
Collecting configargparse==1.5.3
Downloading ConfigArgParse-1.5.3-py3-none-any.whl (20 kB)
Collecting configobj==5.0.6
Downloading configobj-5.0.6.tar.gz (33 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting contourpy==1.0.6
Downloading contourpy-1.0.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (296 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 296.1/296.1 kB 32.1 MB/s eta 0:00:00
Collecting cycler==0.11.0
Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting dash==2.8.1
Downloading dash-2.8.1-py3-none-any.whl (9.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.9/9.9 MB 45.2 MB/s eta 0:00:00
Collecting dash-core-components==2.0.0
Using cached dash_core_components-2.0.0-py3-none-any.whl (3.8 kB)
Collecting dash-html-components==2.0.0
Using cached dash_html_components-2.0.0-py3-none-any.whl (4.1 kB)
Collecting dash-table==5.0.0
Using cached dash_table-5.0.0-py3-none-any.whl (3.9 kB)
Collecting dataclass-array==1.2.1
Downloading dataclass_array-1.2.1-py3-none-any.whl (52 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.0/52.0 kB 21.9 MB/s eta 0:00:00
Collecting dearpygui==1.8.0
Downloading dearpygui-1.8.0-cp310-cp310-manylinux1_x86_64.whl (2.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.8/2.8 MB 5.4 MB/s eta 0:00:00
Collecting debugpy==1.6.3
Downloading debugpy-1.6.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 37.5 MB/s eta 0:00:00
Collecting decorator==4.4.2
Downloading decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
Collecting denoising-diffusion-pytorch==0.32.0
Downloading denoising_diffusion_pytorch-0.32.0-py3-none-any.whl (36 kB)
Collecting diffusers==0.14.0
Downloading diffusers-0.14.0-py3-none-any.whl (737 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 737.4/737.4 kB 36.9 MB/s eta 0:00:00
Collecting distlib==0.3.6
Downloading distlib-0.3.6-py2.py3-none-any.whl (468 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 468.5/468.5 kB 35.0 MB/s eta 0:00:00
Collecting docker-pycreds==0.4.0
Using cached docker_pycreds-0.4.0-py2.py3-none-any.whl (9.0 kB)
Collecting docstring-parser==0.14.1
Downloading docstring_parser-0.14.1-py3-none-any.whl (33 kB)
Collecting dulwich==0.20.50
Downloading dulwich-0.20.50-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (499 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 500.0/500.0 kB 38.4 MB/s eta 0:00:00
Collecting easydict==1.10
Using cached easydict-1.10-py3-none-any.whl
Collecting einops==0.6.0
Downloading einops-0.6.0-py3-none-any.whl (41 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.6/41.6 kB 11.4 MB/s eta 0:00:00
Collecting einops-exts==0.0.4
Downloading einops_exts-0.0.4-py3-none-any.whl (3.9 kB)
Collecting ema-pytorch==0.0.10
Downloading ema_pytorch-0.0.10-py3-none-any.whl (4.1 kB)
Collecting entrypoints==0.4
Downloading entrypoints-0.4-py3-none-any.whl (5.3 kB)
Collecting etils==0.9.0
Downloading etils-0.9.0-py3-none-any.whl (140 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.1/140.1 kB 50.4 MB/s eta 0:00:00
Collecting everett==3.1.0
Downloading everett-3.1.0-py2.py3-none-any.whl (35 kB)
Collecting exceptiongroup==1.0.4
Downloading exceptiongroup-1.0.4-py3-none-any.whl (14 kB)
Collecting executing==1.2.0
Downloading executing-1.2.0-py2.py3-none-any.whl (24 kB)
Collecting fastjsonschema==2.16.2
Downloading fastjsonschema-2.16.2-py3-none-any.whl (22 kB)
Collecting filelock==3.8.0
Downloading filelock-3.8.0-py3-none-any.whl (10 kB)
Collecting fire==0.4.0
Downloading fire-0.4.0.tar.gz (87 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.7/87.7 kB 38.4 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting flask==2.2.2
Downloading Flask-2.2.2-py3-none-any.whl (101 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.5/101.5 kB 44.9 MB/s eta 0:00:00
Collecting flatbuffers==22.12.6
Downloading flatbuffers-22.12.6-py2.py3-none-any.whl (26 kB)
Collecting fonttools==4.38.0
Using cached fonttools-4.38.0-py3-none-any.whl (965 kB)
Collecting freetype-py==2.3.0
Downloading freetype_py-2.3.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (978 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 978.9/978.9 kB 40.4 MB/s eta 0:00:00
Pip subprocess error:
ERROR: Could not find a version that satisfies the requirement freqencoder==0.0.0 (from versions: none)
ERROR: No matching distribution found for freqencoder==0.0.0
failed
CondaEnvException: Pip failed
(base) mona@ada:~/nope$ conda activate nope
(nope) mona@ada:~/nope$ pip install freqencoder
ERROR: Could not find a version that satisfies the requirement freqencoder (from versions: none)
ERROR: No matching distribution found for freqencoder
(nope) mona@ada:~/nope$ conda install freqencoder
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- freqencoder
Current channels:
- https://repo.anaconda.com/pkgs/main/linux-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/linux-64
- https://repo.anaconda.com/pkgs/r/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
- clip==0.2.0
^^^ the previous version didn't work.
I also tried to follow https://colab.research.google.com/github/kaz12tech/ai_demos/blob/master/StableDreamFusion_demo.ipynb#scrollTo=SO7I9ozfFpmW
to install freqencoder
(nope) mona@ada:~/nope$ conda install freqencoder
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- freqencoder
Current channels:
- https://repo.anaconda.com/pkgs/main/linux-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/linux-64
- https://repo.anaconda.com/pkgs/r/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
(nope) mona@ada:~/nope$ git clone https://github.com/ashawkey/stable-dreamfusion.git
Cloning into 'stable-dreamfusion'...
remote: Enumerating objects: 1281, done.
remote: Counting objects: 100% (705/705), done.
remote: Compressing objects: 100% (145/145), done.
remote: Total 1281 (delta 616), reused 560 (delta 560), pack-reused 576
Receiving objects: 100% (1281/1281), 17.13 MiB | 10.08 MiB/s, done.
Resolving deltas: 100% (792/792), done.
(nope) mona@ada:~/nope$ cd stable-dreamfusion/
(nope) mona@ada:~/nope/stable-dreamfusion$ pip install freqencoder
ERROR: Could not find a version that satisfies the requirement freqencoder (from versions: none)
ERROR: No matching distribution found for freqencoder
(nope) mona@ada:~/nope/stable-dreamfusion$ pip install ./freqencoder
Processing ./freqencoder
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/home/mona/nope/stable-dreamfusion/freqencoder/setup.py", line 3, in <module>
from torch.utils.cpp_extension import BuildExtension, CUDAExtension
File "/home/mona/anaconda3/envs/nope/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 19, in <module>
from .hipify import hipify_python
File "/home/mona/anaconda3/envs/nope/lib/python3.10/site-packages/torch/utils/hipify/hipify_python.py", line 34, in <module>
from .cuda_to_hip_mappings import CUDA_TO_HIP_MAPPINGS
File "/home/mona/anaconda3/envs/nope/lib/python3.10/site-packages/torch/utils/hipify/cuda_to_hip_mappings.py", line 34, in <module>
rocm_path = subprocess.check_output(["hipconfig", "--rocmpath"]).decode("utf-8")
File "/home/mona/anaconda3/envs/nope/lib/python3.10/subprocess.py", line 421, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/home/mona/anaconda3/envs/nope/lib/python3.10/subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "/home/mona/anaconda3/envs/nope/lib/python3.10/subprocess.py", line 971, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/mona/anaconda3/envs/nope/lib/python3.10/subprocess.py", line 1847, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
NotADirectoryError: [Errno 20] Not a directory: 'hipconfig'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
https://github.com/microsoft/DeepSpeed/issues/3814#issuecomment-1803367526 ^^^ fixed the problem for
(nope) mona@ada:~/nope/stable-dreamfusion$ git clone https://github.com/ROCm-Developer-Tools/HIP.git
Cloning into 'HIP'...
remote: Enumerating objects: 48988, done.
remote: Counting objects: 100% (4422/4422), done.
remote: Compressing objects: 100% (521/521), done.
remote: Total 48988 (delta 3978), reused 4096 (delta 3825), pack-reused 44566
Receiving objects: 100% (48988/48988), 18.16 MiB | 5.39 MiB/s, done.
Resolving deltas: 100% (34691/34691), done.
(nope) mona@ada:~/nope/stable-dreamfusion/HIP/bin$ export PATH=$PATH:/home/mona/nope/stable-dreamfusion/HIP/bin
(nope) mona@ada:~/nope/stable-dreamfusion$ pip install ./freqencoder
Processing ./freqencoder
Preparing metadata (setup.py) ... done
Building wheels for collected packages: freqencoder
Building wheel for freqencoder (setup.py) ... done
Created wheel for freqencoder: filename=freqencoder-0.0.0-cp310-cp310-linux_x86_64.whl size=66546 sha256=6b773c1149248a7c826ded397bf89fcbf4b7b3ca5bae0867739d28a8209e1b1c
Stored in directory: /tmp/pip-ephem-wheel-cache-pijna8gm/wheels/df/f2/d5/237d10d20191727f92a1e476d07b9d3febf792175968d48c25
Successfully built freqencoder
Installing collected packages: freqencoder
Successfully installed freqencoder-0.0.0
so I suggest removing - freqencoder==0.0.0
from (nope) mona@ada:~/nope$ vi environment.yml