Skip to content

v0.7.0

Choose a tag to compare

@leetucker leetucker released this 30 Oct 16:50
· 26 commits to main since this release
  • device="cuda" runs GLMs without fixed effects on the GPU. Poisson,
    logit and probit with no fixed effects (feglm_stream, fepois_stream) did
    nothing on the GPU before: its solver exists only with two or more fixed
    effects. Now the rows are uploaded once and every IRLS step (the family's
    terms, the weighted cross-products) runs on the device, so later steps do
    not read the Parquet rows again. If the rows do not fit in the device's free
    memory the fit warns and uploads them again at each step. Estimates agree
    with the CPU's to rounding.
  • Benchmarks for OLS, IV and logit/probit with zero or one fixed effects
    against scikit-learn, polars-ols, polars-ds, statsmodels, linearmodels,
    glum, pyfixest and R. Also the same models on a GPU against cuML and
    CuPy. Results and discussion added to documentation. The benchmark
    extra now installs the comparison packages.