Skip to content

Conversation

@jiito
Copy link

@jiito jiito commented Jan 7, 2026

Fixes #117

Changes

  1. include package data (prompts.toml and python eg files)
  2. Swap prompts toml and gpu spec strings for Taversables using importlib.resources.

I believe this is the most minimal change to get things working as _abs_path is load bearing here. Might be more clear if the src/kernelbench/* prefix was removed from paths in prompts.toml.

Verification

Installation locally in inspect_evals with:

uv pip install ../KernelBench --reinstall --no-deps

Eval runs ✅

Notes

I'm not too familiar with python package management so I used GPT + Opus to critique here. The changes are my own. Helpful to note that both suggested more changes to how the examples files are used with _abs_path but that change felt like a next iteration. Happy for critique / thoughts.

cc: @AffectionateCurry

@simonguozirui
Copy link
Collaborator

Thanks for taking a stab at it! We updated this in #105 (similar to your fix but with some more organization), hopefully that addresses the issue!

@jiito jiito closed this Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Include prompts.toml in wheel

2 participants