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

GLIBC_2.34 not found #384

Open
richardrl opened this issue Aug 2, 2024 · 1 comment
Open

GLIBC_2.34 not found #384

richardrl opened this issue Aug 2, 2024 · 1 comment

Comments

@richardrl
Copy link

richardrl commented Aug 2, 2024

  File "/data/scratch-oc40/pulkitag/rli14/hamer_diffusion_policy/workspace/train_diffusion_unet_image_workspace.py", line 80, in run
    from ffcv.loader import Loader, OrderOption
  File "/data/pulkitag/models/rli14/ffcv/ffcv/__init__.py", line 1, in <module>
    from .loader import Loader
  File "/data/pulkitag/models/rli14/ffcv/ffcv/loader/__init__.py", line 1, in <module>
    from .loader import Loader, OrderOption
  File "/data/pulkitag/models/rli14/ffcv/ffcv/loader/loader.py", line 14, in <module>
    from ffcv.fields.base import Field
  File "/data/pulkitag/models/rli14/ffcv/ffcv/fields/__init__.py", line 1, in <module>
    from .base import Field
  File "/data/pulkitag/models/rli14/ffcv/ffcv/fields/base.py", line 6, in <module>
    from ..pipeline.operation import Operation
  File "/data/pulkitag/models/rli14/ffcv/ffcv/pipeline/__init__.py", line 2, in <module>
    from .pipeline_spec import PipelineSpec
  File "/data/pulkitag/models/rli14/ffcv/ffcv/pipeline/pipeline_spec.py", line 5, in <module>
    from ..transforms.module import ModuleWrapper
  File "/data/pulkitag/models/rli14/ffcv/ffcv/transforms/__init__.py", line 5, in <module>
    from .random_resized_crop import RandomResizedCrop
  File "/data/pulkitag/models/rli14/ffcv/ffcv/transforms/random_resized_crop.py", line 5, in <module>
    from .utils import fast_crop
  File "/data/pulkitag/models/rli14/ffcv/ffcv/transforms/utils/fast_crop.py", line 4, in <module>
    from ...libffcv import ctypes_resize
  File "/data/pulkitag/models/rli14/ffcv/ffcv/libffcv.py", line 6, in <module>
    import ffcv._libffcv

ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /data/pulkitag/models/rli14/ffcv/ffcv/_libffcv.cpython-39-x86_64-linux-gnu.so)

I got this error today. It seems I already have libc6.

(/data/scratch-oc40/pulkitag/rli14/micromamba/ffcv_oct40) rli14@fitzroy:/data/scratch-oc40/pulkitag/rli14/hamer_diffusion_policy$ sudo apt install libc6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libc6 is already the newest version (2.31-0ubuntu9.16).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

Any clue on the fix?

@richardrl
Copy link
Author

I got this error because I was trying to use FFCV across different systems in a SLURM setup. It works if I run it on the original system...

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

1 participant