Skip to content
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

version `GLIBC_2.33' not found #29

Open
hhhddddddd opened this issue Apr 6, 2024 · 2 comments
Open

version `GLIBC_2.33' not found #29

hhhddddddd opened this issue Apr 6, 2024 · 2 comments

Comments

@hhhddddddd
Copy link

hhhddddddd commented Apr 6, 2024

Hello, I have a problem and need your help.
I successfully executed evc -t test -c configs/projects/realtime4dv/rendering/4k4d_0013_01.yaml,configs/specs/eval.yaml,configs/specs/vf0.yaml on NVIDIA GeForce RTX 3090, but when I executed it on NVIDIA GeForce RTX 4090, I encountered the following problem:

error log

(4k4d) xuankai@kemove-ESC8000-G4:~/code/4k4d$ evc -t test -c configs/projects/realtime4dv/rendering/4k4d_0013_01.yaml,configs/specs/eval.yaml,configs/specs/vf0.yaml 
╭─────────────────────────────────────────────────── Traceback (most recent call last) ────────────────────────────────────────────────────╮
│ /home/xuankai/code/4k4d/easyvolcap/runners/__init__.py:7 in <module>                                                                     │
│                                                                                                                                          │
│ ❱  7 │   │   exec(f'from . import {module}')                                                                                             │
│ in <module>:1                                                                                                                            │
│                                                                                                                                          │
│ /home/xuankai/code/4k4d/easyvolcap/runners/volumetric_video_viewer.py:5 in <module>                                                      │
│                                                                                                                                          │
│ ❱    5 import glm                                                                                                                        │
│                                                                                                                                          │
│ /home/xuankai/anaconda3/envs/4k4d/lib/python3.9/site-packages/glm/__init__.py:1 in <module>                                              │
│                                                                                                                                          │
│ ❱ 1 from ._glm import *                                                                                                                  │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/xuankai/anaconda3/envs/4k4d/lib/python3.9/site-packages/glm/_glm.so)
2024-04-06 14:54:22.506165 __main__ -> preflight: Starting experiment: 4k4d_0013_01, command: test                                                 main.py:80
2024-04-06             easyvolcap.dataloader… Preparing vhulls data/renbody/0013_01/surfs VAL 100% ━━━━━━━━━━━━━━━━━━━━━━ 1/1  0:00:00 < 0:00:00   ?  it/s v…
14:54:24.010105        -> load_vhulls:                                                                                                                       
2024-04-06          easyvolcap.utils.d… Loading mask bytes for data/renbody/0013_01/masks VAL 100% ━━━━━━━━━━━━━━━━━━━ 60/60  0:00:00 < 0:00:00 128.4 it/s p…
14:54:24.652740     ->                                                                                                                                       
                    load_resize_undist…                                                                                                                      
2024-04-06        easyvolcap.util… Loading imgs bytes for data/renbody/0013_01/images_calib VAL 100% ━━━━━━━━━━━━━━━━━ 60/60  0:00:01 < 0:00:00 49.52 it/s p…
14:54:26.643625   ->                                                                                                                                         
                  load_resize_und…                                                                                                                           
2024-04-06            easyvolcap.utils.dat… Cropping msks imgs for data/renbody/0013_01 VAL 100% ━━━━━━━━━━━━━━━━━━━━━ 60/60  0:00:00 < 0:00:00 255.4 it/s p…
14:54:27.012361       ->                                                                                                                                     
                      decode_crop_fill_ims…                                                                                                                  
2024-04-06 14:54:27.459624 easyvolcap.runners.visualizers.volumetric_video_visualizer -> __init__: Visualization output:    volumetric_video_visualizer.py:80
                           data/result/4k4d_0013_01/{RENDER}                                                                                                 
2024-04-06 14:54:27.465893 easyvolcap.runners.recorders -> __init__: Saved config file to                                                    recorders.py:105
                           data/record/4k4d_0013_01/4k4d_0013_01_1712386467.yaml                                                                             
2024-04-06 14:54:27.467401 __main__ -> launcher: Launching runner for experiment: 4k4d_0013_01                                                     main.py:50
2024-04-06 14:54:32.777724 easyvolcap.models.samplers.supe… Caching rgbw and center 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1/1  0:00:03 < 0:00:00   ?  it/s s…
                           -> _load_state_dict_post_hook:                                                                                                    
2024-04-06 14:54:32.797353 easyvolcap.models.samplers.… Computing features for caching 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1/1  0:00:00 < 0:00:00   ?  it/s s…
                           ->                                                                                                                                
                           _load_state_dict_post_hook:                                                                                                       
2024-04-06 14:54:32.884327 easyvolcap.models.samplers.su… Caching spherical harmonics 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1/1  0:00:00 < 0:00:00   ?  it/s s…
                           -> _load_state_dict_post_hook:                                                                                                    
2024-04-06 14:54:32.906269 easyvolcap.models.samplers.supe… Caching radius and alpha 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1/1  0:00:00 < 0:00:00   ?  it/s s…
                           -> precompute_geometry:                                                                                                           
2024-04-06 14:54:32.912684 easyvolcap.utils.net_utils -> load_network: Loaded network data/trained_model/4k4d_0013_01/1599.npz at epoch -1   net_utils.py:436
2024-04-06 14:54:34.722552 easyvolcap.utils.console_utils -> inner: Runtime exception: /lib/x86_64-linux-gnu/libc.so.6: version          console_utils.py:391
                           `GLIBC_2.33' not found (required by                                                                                               
                           /home/xuankai/anaconda3/envs/4k4d/lib/python3.9/site-packages/glm/_glm.so)                                                        
╭─────────────────────────────────────────────────── Traceback (most recent call last) ────────────────────────────────────────────────────╮
│ /home/xuankai/code/4k4d/easyvolcap/utils/console_utils.py:388 in inner                                                                   │
│                                                                                                                                          │
│ ❱ 388 │   │   │   │   return func(*args, **kwargs)                                                                                       │
│                                                                                                                                          │
│ /home/xuankai/code/4k4d/easyvolcap/scripts/main.py:272 in main                                                                           │
│                                                                                                                                          │
│ ❱ 272 │   else: globals()[args.type](cfg)  # invoke this (call callable_from_cfg -> call_from_cfg)                                       │
│                                                                                                                                          │
│ /home/xuankai/code/4k4d/easyvolcap/engine/registry.py:56 in inner                                                                        │
│                                                                                                                                          │
│ ❱  56 │   │   return call_from_cfg(func, cfg)                                                                                            │
│                                                                                                                                          │
│ /home/xuankai/code/4k4d/easyvolcap/engine/registry.py:47 in call_from_cfg                                                                │
│                                                                                                                                          │
│ ❱  47 │   return func(**call_args)                                                                                                       │
│                                                                                                                                          │
│ /home/xuankai/code/4k4d/easyvolcap/scripts/main.py:181 in test                                                                           │
│                                                                                                                                          │
│ ❱ 181 │   launcher(**kwargs, runner_function=runner.test, runner_object=runner)                                                          │
│                                                                                                                                          │
│ /home/xuankai/code/4k4d/easyvolcap/scripts/main.py:52 in launcher                                                                        │
│                                                                                                                                          │
│ ❱  52 │   runner_function()                                                                                                              │
│                                                                                                                                          │
│ /home/xuankai/code/4k4d/easyvolcap/runners/volumetric_video_runner.py:275 in test                                                        │
│                                                                                                                                          │
│ ❱ 275 │   │   self.test_epoch(epoch)                                                                                                     │
│                                                                                                                                          │
│ /home/xuankai/code/4k4d/easyvolcap/runners/volumetric_video_runner.py:428 in test_epoch                                                  │
│                                                                                                                                          │
│ ❱ 428 │   │   for _ in test_generator: pass  # the actual calling                                                                        │
│                                                                                                                                          │
│ /home/xuankai/code/4k4d/easyvolcap/runners/volumetric_video_runner.py:439 in test_generator                                              │
│                                                                                                                                          │
│ ❱ 439 │   │   │   │   output: dotdict = self.model(batch)                                                                                │
│                                                                                                                                          │
│ /home/xuankai/anaconda3/envs/4k4d/lib/python3.9/site-packages/torch/nn/modules/module.py:1501 in _call_impl                              │
│                                                                                                                                          │
│ ❱ 1501 │   │   │   return forward_call(*args, **kwargs)                                                                                  │
│                                                                                                                                          │
│ /home/xuankai/code/4k4d/easyvolcap/models/volumetric_video_model.py:245 in forward                                                       │
│                                                                                                                                          │
│ ❱ 245 │   │   output = rendering_function(*input, batch=batch)                                                                           │
│                                                                                                                                          │
│ /home/xuankai/code/4k4d/easyvolcap/models/volumetric_video_model.py:104 in render_rays                                                   │
│                                                                                                                                          │
│ ❱ 104 │   │   xyz, dir, t, dist = self.sampler.sample(ray_o, ray_d, near, far, t, batch)  # B, P, S                                      │
│                                                                                                                                          │
│ /home/xuankai/code/4k4d/easyvolcap/utils/net_utils.py:95 in sample                                                                       │
│                                                                                                                                          │
│ ❱  95 │   │   │   self.forward(batch)                                                                                                    │
│                                                                                                                                          │
│ /home/xuankai/code/4k4d/easyvolcap/models/samplers/super_charged_r4dv.py:514 in forward                                                  │
│                                                                                                                                          │
│ ❱ 514 │   │   rgb, acc, dpt = self.render_points(xyz, rgb, rad, occ, batch)  # almost always use render_cudagl                           │
│                                                                                                                                          │
│ /home/xuankai/code/4k4d/easyvolcap/models/samplers/point_planes_sampler.py:410 in render_points                                          │
│                                                                                                                                          │
│ ❱ 410 │   │   │   if self.use_cudagl: return self.render_cudagl(*args, **kwargs)                                                         │
│                                                                                                                                          │
│ /home/xuankai/code/4k4d/easyvolcap/models/samplers/point_planes_sampler.py:517 in render_cudagl                                          │
│                                                                                                                                          │
│ ❱ 517 │   │   from easyvolcap.utils.gl_utils import HardwareRendering                                                                    │
│                                                                                                                                          │
│ /home/xuankai/code/4k4d/easyvolcap/utils/gl_utils.py:9 in <module>                                                                       │
│                                                                                                                                          │
│ ❱    9 import glm                                                                                                                        │
│                                                                                                                                          │
│ /home/xuankai/anaconda3/envs/4k4d/lib/python3.9/site-packages/glm/__init__.py:1 in <module>                                              │
│                                                                                                                                          │
│ ❱ 1 from ._glm import *                                                                                                                  │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/xuankai/anaconda3/envs/4k4d/lib/python3.9/site-packages/glm/_glm.so)
2024-04-06 14:54:35.272045 easyvolcap.runners.volumetric_video_runner ->      0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0/3  0:00:02 < -:--:--   ?  it/s v…
                           test_generator:                                                                                                                   
*** /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/xuankai/anaconda3/envs/4k4d/lib/python3.9/site-packages/glm/_glm.so)
> /home/xuankai/anaconda3/envs/4k4d/lib/python3.9/site-packages/glm/__init__.py(1)<module>()
----> 1 from ._glm import *
      2 __version__ = version()

(Pdbr) exit

I checked the GLIBC versions of the two servers and found that the GLIBC versions of the two servers were the same:
image

image

Can you give me any advice? Thank you so much for all your help!

@dendenxu
Copy link
Member

dendenxu commented Apr 6, 2024

Hi, looks like the environment on the 4090 machines is corrupted.
I would recommend creating a new conda environment and run pip install -e . from there (installation of essential packages shouldn't take too long).
Then make sure tinycudann is installed and you should be good to go (pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch). Guide

@hhhddddddd
Copy link
Author

Thank you very much. My problem has been solved.
I didn't install tinycudann correctly before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants