llama-stack-mirror/llama_stack/providers/inline/safety/prompt_guard
Michael Dawson f316dffe80 feat: add cpu/cuda config for prompt guard
Previously prompt guard was hard coded to require cuda which
prevented it from being used on an instance without a cuda
support.

This PR allows prompt guard to be configured to use either cpu
or cuda.

Signed-off-by: Michael Dawson <mdawson@devrus.com>
2025-05-16 14:26:44 -04:00
..
__init__.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
config.py feat: add cpu/cuda config for prompt guard 2025-05-16 14:26:44 -04:00
prompt_guard.py feat: add cpu/cuda config for prompt guard 2025-05-16 14:26:44 -04:00