Install anls_star in a fresh venv with pip install -r requirements_dev.txt
Run a benchmark, e.g. python3 src/benchmark_vrdu_ad_buy.py gpt-4o simple
Output:
File ".../anls_star_metric/src/anls_star.py", line 16, in <module>
from . import key_scores_utils as ksu
ImportError: attempted relative import with no known parent package
Attempts to fix
Removing the problematic import (L16) and all lines where it's used fixes the issue. It is thus isolated to the key_scores_utils introduced in 0.0.11.
Steps to reproduce
anls_star
0.0.11 (commit 97cfec4)pip install -r requirements_dev.txt
python3 src/benchmark_vrdu_ad_buy.py gpt-4o simple
Output:
Attempts to fix
Removing the problematic import (L16) and all lines where it's used fixes the issue. It is thus isolated to the
key_scores_utils
introduced in 0.0.11.Additional information