Skip to content

LLAMA Guard: Improve latency tracking #106

@rkritika1508

Description

@rkritika1508

Is your feature request related to a problem?
The LLAMA Guard validator is experiencing high latency. This slows down the validation process and hampers our ability to quickly diagnose input anomalies.

Describe the solution you'd like

  • Implement latency tracking for each input in the LLAMA Guard validator
  • Create a mechanism to log and report on latency anomalies
  • Provide metrics for performance evaluation
Original issue

Describe the bug
A clear and concise description of what the bug is.
The LLAMA Guard validator is taking a lot of time. We want to examine each input and diagnose if there are any anomalies when it comes to latency.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions