-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the proper way to install GeoDream? #10
Comments
hayoung-jeremy
changed the title
Installation process
What is the proper way to install GeoDream?
Apr 16, 2024
I've tried cd /threestudio-geodream/mv-diffusion
conda create -n geodream_mv python=3.8
conda activate geodream_mv
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118
pip install inplace_abn but got the following error : Defaulting to user installation because normal site-packages is not writeable
Collecting inplace_abn
Downloading inplace-abn-1.1.0.tar.gz (137 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 137.3/137.3 kB 4.2 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Building wheels for collected packages: inplace_abn
Building wheel for inplace_abn (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [43 lines of output]
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 1.12.1-git20200711.33e2d80-dfsg1-0.6 is an invalid version and will not be supported in a future release
warnings.warn(
/usr/lib/python3/dist-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
/tmp/pip-install-eb_gqsj2/inplace-abn_bcb46c38a6fe44afab9ce928d04e8639/.eggs/setuptools_scm-8.0.4-py3.10.egg/setuptools_scm/_integration/setuptools.py:30: RuntimeWarning:
ERROR: setuptools==59.6.0 is used in combination with setuptools_scm>=8.x
Your build configuration is incomplete and previously worked by accident!
setuptools_scm requires setuptools>=61
Suggested workaround if applicable:
- migrating from the deprecated setup_requires mechanism to pep517/518
and using a pyproject.toml to declare build dependencies
which are reliably pre-installed before running the build tools
warnings.warn(
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
running bdist_wheel
/usr/lib/python3/dist-packages/torch/utils/cpp_extension.py:484: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
warnings.warn(msg.format('we could not find ninja.'))
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/inplace_abn
copying inplace_abn/_version.py -> build/lib.linux-x86_64-3.10/inplace_abn
copying inplace_abn/abn.py -> build/lib.linux-x86_64-3.10/inplace_abn
copying inplace_abn/group.py -> build/lib.linux-x86_64-3.10/inplace_abn
copying inplace_abn/__init__.py -> build/lib.linux-x86_64-3.10/inplace_abn
copying inplace_abn/functions.py -> build/lib.linux-x86_64-3.10/inplace_abn
running build_ext
building 'inplace_abn._backend' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/src
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DWITH_CUDA=1 -I/tmp/pip-install-eb_gqsj2/inplace-abn_bcb46c38a6fe44afab9ce928d04e8639/include -I/usr/lib/python3/dist-packages/torch/include -I/usr/lib/python3/dist-packages/torch/include/torch/csrc/api/include -I/usr/lib/python3/dist-packages/torch/include/TH -I/usr/lib/python3/dist-packages/torch/include/THC -I/usr/include/python3.10 -c src/inplace_abn.cpp -o build/temp.linux-x86_64-3.10/src/inplace_abn.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1016" -DTORCH_EXTENSION_NAME=_backend -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++17
In file included from /usr/lib/python3/dist-packages/torch/include/torch/csrc/api/include/torch/python.h:11,
from /usr/lib/python3/dist-packages/torch/include/torch/extension.h:6,
from src/inplace_abn.cpp:3:
/usr/lib/python3/dist-packages/torch/include/torch/csrc/Exceptions.h:14:10: fatal error: pybind11/pybind11.h: No such file or directory
14 | #include <pybind11/pybind11.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for inplace_abn
Running setup.py clean for inplace_abn
Failed to build inplace_abn
ERROR: Could not build wheels for inplace_abn, which is required to install pyproject.toml-based projects
[notice] A new release of pip is available: 23.3.1 -> 24.0
[notice] To update, run: /usr/bin/python3 -m pip install --upgrade pip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
information
What is the proper way to install GeoDream?
The way I did
install
threestudio
via Dockerfileinstall GeoDream's
threestudio
branch on threestudio's custom directorycd custom git clone -b threestudio https://github.com/baaivision/GeoDream.git mv GeoDream threestudio-geodream
now what should I do next?
the mv-diffusion's README.md says :
but I'm on a docker container now.
And the cuda version on my GPU instance(12.2) mismatches with the installation guide's version(11.8).
I'm so confused how to properly install GeoDream.
Please help, thanks in advance.
The text was updated successfully, but these errors were encountered: