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.32' #53

Open
Meaw0415 opened this issue Oct 7, 2024 · 7 comments
Open

version `GLIBC_2.32' #53

Meaw0415 opened this issue Oct 7, 2024 · 7 comments

Comments

@Meaw0415
Copy link

Meaw0415 commented Oct 7, 2024

python train_3d.py -net sam2 -exp_name BTCV_MedSAM2 -sam_ckpt ./checkpoints/sam2_hiera_small.pt -sam_config sam2_hiera_s -image_size 1024 -val_freq 1 -prompt bbox -prompt_freq 2 -dataset btcv -data_path ./data/btcv

ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /mnt/iMVR/zhengf/Medical-SAM2/sam2_train/_C.so)

@DISAPPEARED13
Copy link

I've met the same questions like you do.
I check the closed issue and found https://github.com/MedicineToken/Medical-SAM2/issues/25, seems need to update our GLIBC version, but I have some questions,
will update GLIBC cause some new bugs for incompatibilities?
or could I just reduce the limitation of the GLIBC version?
I just want to limit the environment in this project and do no changes to the whole environment.

@DISAPPEARED13
Copy link

PS: when I run train_2d.py, this problem doesn't happened, but just for 3d. why? great thanks.

@cam-qf
Copy link

cam-qf commented Oct 28, 2024

PS: when I run train_2d.py, this problem doesn't happened, but just for 3d. why? great thanks.

Same as your situation, there is no problem when running train_2d.py, but no version "Glibc_2.32" occurs at 3D. After updating the Glibc version

Runtimeerror: CUDA ERROR: No Kernel Image is available for execution on the device

Compile with torch_use_cuda_dsa to enable device-size assereles.

Do you solve it?

@sahikabetul
Copy link

PS: when I run train_2d.py, this problem doesn't happened, but just for 3d. why? great thanks.

Same as your situation, there is no problem when running train_2d.py, but no version "Glibc_2.32" occurs at 3D. After updating the Glibc version

Runtimeerror: CUDA ERROR: No Kernel Image is available for execution on the device

Compile with torch_use_cuda_dsa to enable device-size assereles.

Do you solve it?

I have exactly same problem. I set up a Docker image with pytorch 2.4, ubuntu 22.04, cuda 12.1 and GLIB problem solved. And I am getting second error, too.

@cam-qf
Copy link

cam-qf commented Nov 7, 2024

PS: when I run train_2d.py, this problem doesn't happened, but just for 3d. why? great thanks.

Same as your situation, there is no problem when running train_2d.py, but no version "Glibc_2.32" occurs at 3D. After updating the Glibc version
Runtimeerror: CUDA ERROR: No Kernel Image is available for execution on the device
Compile with torch_use_cuda_dsa to enable device-size assereles.
Do you solve it?

I have exactly same problem. I set up a Docker image with pytorch 2.4, ubuntu 22.04, cuda 12.1 and GLIB problem solved. And I am getting second error, too.

May I ask what graphics card you are using?

@sahikabetul
Copy link

Hi,
My graphics card informations:

  • Model: NVIDIA A100-SXM4-80GB
  • Driver Version: 560.35.03
  • CUDA Version: 12.6
  • Memory: Each GPU has 80 GB of memory (81920 MiB)
  • Number of GPUs: 4

@DISAPPEARED13
Copy link

Hi, My graphics card informations:

  • Model: NVIDIA A100-SXM4-80GB
  • Driver Version: 560.35.03
  • CUDA Version: 12.6
  • Memory: Each GPU has 80 GB of memory (81920 MiB)
  • Number of GPUs: 4

Congrates for solving the problem!! May I ask that your GLIBC version? That's quite wired, seems some system installation conflicts with the project.

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

4 participants