Looks like this isn't implemented yet - found when testing comfyui
comfy/samplers.py:966: UserWarning: The operator 'aten::count_nonzero.dim_IntList' is not currently supported on the ocl backend. Please open an issue at for requesting support https://github.com/artyom-beilis/pytorch_dlprim/issues (Triggered internally at /home/artik/Projects/dlprim_build/pytorch_dlprim/src/tensor_ops.cpp:415.)
Looks like this isn't implemented yet - found when testing comfyui