/ concept-collection / shtns-webgpu
Sign in
concept-collection / shtns-webgpu

shtns-webgpu: fp32 spherical harmonic transforms on WebGPU

ci · #1 · push by owner · main · fe1c1af · .github/workflows/ci.yml ·
test 13s
Runner
Job test on ubuntu-latest
Checking out concept-collection/shtns-webgpu at fe1c1af0
Container started from catthehacker/ubuntu:act-latest
Cleaning up the job container
actions/checkout@v40s
▸ actions/checkout@v4
Using cofferdam's built-in checkout (actions/checkout@v4)
concept-collection/shtns-webgpu is already checked out at fe1c1af0 (cofferdam checks out before the job starts)
actions/setup-node@v47s
▸ actions/setup-node@v4
Using cached actions/setup-node@v4 (49933ea5288c)
Attempting to download 24...
(node:56) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Bad credentials
Falling back to download directly from Node
Acquiring 24.19.0 - x64 from https://nodejs.org/dist/v24.19.0/node-v24.19.0-linux-x64.tar.gz
Extracting ...
[command]/usr/bin/tar xz --strip 1 --warning=no-unknown-keyword --overwrite -C /cofferdam/temp/6825dbd2-39d6-40ae-8812-1c16501026e2 -f /cofferdam/temp/a4febfbb-ed5f-47bd-9876-59e0a046b325
Adding to the cache ...
Done
▾ Environment details
node: v24.19.0
npm: 11.17.0
yarn: 
WARNING: Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if Actions cache service is enabled or not.
Run npm ci3s
▸ Run npm ci

added 96 packages, and audited 97 packages in 1s

10 packages are looking for funding
  run `npm fund` for details

7 vulnerabilities (1 moderate, 6 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
npm warn allow-scripts 1 package has install scripts not yet covered by allowScripts:
npm warn allow-scripts   esbuild@0.21.5 (postinstall: node install.js)
npm warn allow-scripts
npm warn allow-scripts Run `npm approve-scripts --allow-scripts-pending` to review, or `npm approve-scripts <pkg>` to allow.
Run npm run test:node1s
▸ Run npm run test:node

> shtns-webgpu@0.1.0 test:node
> node scripts/test-node.ts

PASS  gauss: sum(w) == 2  (err=2.22e-16)
PASS  gauss: int x^2 == 2/3  (err=4.44e-16)
PASS  gauss: nodes decreasing
PASS  Y_0^0
PASS  Y_1^0
PASS  Y_2^0
PASS  Y_1^1 (CS phase)  (got -0.22257344192657688, want -0.22257344192657688)
PASS  Y_2^1
PASS  Y_2^2
PASS  orthonormality: max err < 1e-12  (worst=1.94e-15)
PASS  reference round trip rel L2 < 1e-12  (rel=4.93e-15)
PASS  constant field -> Q_00 = sqrt(4pi)  (got 3.5449077018110318)
PASS  constant field -> other coeffs ~ 0  (max=1.88e-15)

ALL NODE TESTS PASSED
Run npm run test:gpu2s
▸ Run npm run test:gpu

> shtns-webgpu@0.1.0 test:gpu
> vite build && node scripts/test-gpu.mjs

vite v5.4.21 building for production...
transforming...
✓ 14 modules transformed.
rendering chunks...
computing gzip size...
dist/test.html                      0.39 kB │ gzip: 0.26 kB
dist/index.html                     3.91 kB │ gzip: 1.49 kB
dist/assets/test-Bdv7Htxy.js        2.49 kB │ gzip: 1.24 kB
dist/assets/main-XE7Y5Jun.js        3.58 kB │ gzip: 1.78 kB
dist/assets/reference-BsKlWwb4.js  19.77 kB │ gzip: 6.67 kB
✓ built in 121ms
file:///cofferdam/workspace/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserLauncher.js:50
            throw new Error(`Browser was not found at the configured executablePath (${launchArgs.executablePath})`);
                  ^

Error: Browser was not found at the configured executablePath (/usr/bin/google-chrome)
    at ChromeLauncher.launch (file:///cofferdam/workspace/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserLauncher.js:50:19)
    at async file:///cofferdam/workspace/scripts/test-gpu.mjs:45:19

Node.js v24.19.0
Process completed with exit code 1.
moveopenescclose