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

sigmoid_focal_loss_forward_cuda_kernel not implemented for "Bfloat16" #3061

Open
2 tasks done
Fightinging1997 opened this issue Mar 19, 2024 · 1 comment
Open
2 tasks done

Comments

@Fightinging1997
Copy link

Prerequisite

Environment

python3.8. cuda11.1

Reproduces the problem - code sample

File "/training/env/xxx/lib/python3.8/site-packages/mmcv/ops/focal_loss.py", line 59, in forward
ext_module.sigmoid_focal_loss_forward(
RuntimeError: "sigmoid_focal_loss_forward_cuda_kernel" not implemented for 'BFloat16'

Reproduces the problem - command or script

File "/training/env/xxx/lib/python3.8/site-packages/mmcv/ops/focal_loss.py", line 59, in forward
ext_module.sigmoid_focal_loss_forward(
RuntimeError: "sigmoid_focal_loss_forward_cuda_kernel" not implemented for 'BFloat16'

Reproduces the problem - error message

File "/training/env/xxx/lib/python3.8/site-packages/mmcv/ops/focal_loss.py", line 59, in forward
ext_module.sigmoid_focal_loss_forward(
RuntimeError: "sigmoid_focal_loss_forward_cuda_kernel" not implemented for 'BFloat16'

Additional information

No response

@gerardmartin2
Copy link

Have you been able to solve it?

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