• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

desihub / redrock / 10116507681
36%
main: 42%

Build:
Build:
LAST BUILD BRANCH: downgrade-rr-columns
DEFAULT BRANCH: main
Ran 26 Jul 2024 07:20PM UTC
Jobs 1
Files 22
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Jul 2024 06:50PM UTC coverage: 36.055% (-2.5%) from 38.513%
10116507681

push

github

craigwarner-ufastro
Implemented a CuPy based GPU version of scipy.optimize.lsq_linear's BVLS
algorithm.  This is in the optimize folder and will be submitted to CuPy
for inclusion at which point it will be removed from Redrock.

zscan has been updated to use this GPU based version instead of our NNLS
trick of adding negative legendre terms and using NNLS to emulate BVLS;
although that trick is preserved via self._solver_method =
"bvls_via_nnls" in archetypes.py where Archetype files are allowed to
specify their preferred solver method (pca, nnls, bvls, or
bvls_via_nnls).

This branch is forked from the branch legendre_nnls_merge_with_main,
which was ready to merge with main and had addressed conflicts that had
arisen during parallel developement by myself and Abhijeet.

zfind is modified slightly to add a timing print statement for the time
spent in each solver method.

Timing Results:
With 4 GPUs and 4 CPUs, BVLS on GPU takes ~17s resulting in a fine
redshift scan time of 72s compared to the NNLS trick taking ~14s for a
fine redshift scan time of 76s (the reason the fitting is faster but the
overall time is slower is due to other operations performed on larger
arrays with the added negative legendre terms).  This compares to using
scipy's CPU-based BVLS, which takes ~63s to do the fitting and 119s for
the fine redshift scan.

18 of 320 new or added lines in 6 files covered. (5.63%)

2 existing lines in 1 file now uncovered.

1400 of 3883 relevant lines covered (36.05%)

0.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10116507681.1 26 Jul 2024 07:20PM UTC 0
36.05
GitHub Action Run
Source Files on build 10116507681
Detailed source file information is not available for this build.
  • Back to Repo
  • 382f6c03 on github
  • Prev Build on legendre_nnls_merge_with_main (#9181830310)
  • Next Build on gpu_bvls (#10116752738)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc