Is vulkan supposed to be supported on the serverless endpoints? I don't know if I just set it up incorrectly or what, but running vulkaninfo in the container gives me the following error:
ERROR at /build/source/vulkaninfo/./vulkaninfo.h:573:vkCreateInstance failed with ERROR_INCOMPATIBLE_DRIVERERROR: [Loader Message] Code 0 : vkCreateInstance: Found no drivers!Cannot create Vulkan instance.This problem is often caused by a faulty installation of the Vulkan driver or attempting to use a GPU that does not support Vulkan.
ERROR at /build/source/vulkaninfo/./vulkaninfo.h:573:vkCreateInstance failed with ERROR_INCOMPATIBLE_DRIVERERROR: [Loader Message] Code 0 : vkCreateInstance: Found no drivers!Cannot create Vulkan instance.This problem is often caused by a faulty installation of the Vulkan driver or attempting to use a GPU that does not support Vulkan.
Solution
Ok so this was actually a skill issue on my part. I needed to add this environment variable to let vulkan-loader know where the nvidia driver ICD is and now it works: