Describe the bug
Calling pt.GridSearch with jobs > 1 currently results in a SIGSEGV. Including multiple JDK versions: 17, 21 and 26.
To Reproduce
Any search with jobs > 1 results in the error. Setting backend='ray' prints out an output, but the process still dies unexpectedly.
import pyterrier as pt
dataset = pt.get_dataset("vaswani")
BM25 = pt.terrier.Retriever(dataset.get_index(), wmodel="BM25", controls={"bm25.b" : 0.75})
pt.GridSearch(
BM25,
{BM25: {"bm25.b" : [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1 ],
}},
dataset.get_topics().head(5),
dataset.get_qrels(),
jobs=2,
)
Expected behavior
Grid search results with optimal parameters
Documentation and Issues
Additional context
Log file of the JVM crash is below, not sure if relevant.
hs_err_pid54708.log
Describe the bug
Calling
pt.GridSearchwithjobs> 1 currently results in a SIGSEGV. Including multiple JDK versions: 17, 21 and 26.To Reproduce
Any search with jobs > 1 results in the error. Setting
backend='ray'prints out an output, but the process still dies unexpectedly.Expected behavior
Grid search results with optimal parameters
Documentation and Issues
Additional context
Log file of the JVM crash is below, not sure if relevant.
hs_err_pid54708.log