ai

Pavel Filipenco 2026-02-13T14:08:29.714459Z

@blueberry how does one do conditional factory usage in diamond? I run my program locally on my pc which doesn't have an NVidia GPU and therefore no cuda, but on production it's supposed to be deployed with cuda. I want to write something like (with-diamond (if cuda-supported? cudnn-factory dnnl-factory) ...) but I don't know how to do it, are there functions in deep diamond for such checks?