Skip to content

Add error logging for llm generated code for things that may go wrong before the code is compiled #74

@PaliC

Description

@PaliC

For things like https://github.com/meta-pytorch/BackendBench/blob/main/BackendBench/llm_client.py, https://github.com/meta-pytorch/BackendBench/blob/main/BackendBench/backends/kernel_agent.py, https://github.com/meta-pytorch/BackendBench/blob/main/BackendBench/backends/llm_relay.py, and https://github.com/meta-pytorch/BackendBench/blob/main/BackendBench/backends/llm.py.

Errors could occur due to things like rate limits, bad formatting, running out of money, etc. Rather than things which we'd normally catch such as the code not compiling or being full of errors. As a developer it's useful to know in which cases the llm / agent is making really silly mistakes to the point that we can't even read the code. We should add another class of errors to capture these types of mistakes and surface them in test scenarios where they happen!

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