You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after that the install kept running until this error
/usr/local/cuda-12.2/include/crt/host_config.h:136:2: error: #error -- unsupported GNU version! gcc versions later than 12 are not supported! The nvcc flag '-allow-unsupported-compiler' can be used to override this version check; however, using an unsupported host compiler may cause compilation failure or incorrect run time execution. Use at your own risk.
136 | #error -- unsupported GNU version! gcc versions later than 12 are not supported! The nvcc flag '-allow-unsupported-compiler' can be used to override this version check; however, using an unsupported host compiler may cause compilation failure or incorrect run time execution. Use at your own risk.
| ^~~~~
In file included from /tmp/pip-build-env-uyr1owwh/overlay/lib64/python3.10/site-packages/torch/include/torch/csrc/Device.h:4,
from /tmp/pip-build-env-uyr1owwh/overlay/lib64/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/python.h:8,
from /tmp/pip-build-env-uyr1owwh/overlay/lib64/python3.10/site-packages/torch/include/torch/extension.h:9,
from sam2/csrc/connected_components.cu:12:
/tmp/pip-build-env-uyr1owwh/overlay/lib64/python3.10/site-packages/torch/include/torch/csrc/python_headers.h:12:10: fatal error: Python.h: No such file or directory
12 | #include <Python.h>
| ^~~~~~~~~~
compilation terminated.
Seems to be the case that my gcc version gcc.x86_64 13.3.1-1.fc39 is not supported. Sadly I cannot downgrade.
deffill_holes_in_mask_scores(mask, max_area):
# do nothing here since we don't have a CUDA kernel for connected componentsreturnmask
This workaround disables the optional video post-processing step (small hole filling on GPUs) in SAM 2 and should unblock you for video applications (without the post-processing step using this CUDA kernel, it should still work in most cases).
Hi,
this is a followup of issue #112 as I am not able to reopen the issue as not being a repo collaborator (see https://stackoverflow.com/questions/21333654/how-to-re-open-an-issue-in-github)
Did follow your advice. Some other libs were not found. tried the same fix :
after that the install kept running until this error
Seems to be the case that my gcc version
gcc.x86_64 13.3.1-1.fc39
is not supported. Sadly I cannot downgrade.any idea when / if gcc 13 will be supported so that I am able to run SAM 2 on Fedora?
Best Regards
Heiko
The text was updated successfully, but these errors were encountered: