Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/dd-wip-shards.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: DD WIP node shards (work in progress, not a certificate)

'on':
workflow_dispatch:

permissions:
contents: read

jobs:
shards:
runs-on: ubuntu-latest
timeout-minutes: 330
strategy:
fail-fast: false
matrix:
shard: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
name: shard ${{ matrix.shard }}/12
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
with:
python-version: '3.11.16'
- name: Node values of the cells with index = shard (mod 12)
env:
PYTHONDONTWRITEBYTECODE: '1'
shell: bash
run: |
set -euo pipefail
nproc
cd frontiers/dd_model_d_enclosure_20261013/wip_20261013T0245Z/dd
python -B -S ddgauss.py eval cells_full.json "$RUNNER_TEMP/nodes_${{ matrix.shard }}.json" 4 ${{ matrix.shard }}/12 2>&1 | tail -n 40
- name: Retain the shard
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: dd-wip-nodes-${{ matrix.shard }}-${{ github.run_id }}-${{ github.run_attempt }}
path: ${{ runner.temp }}/nodes_${{ matrix.shard }}.json
if-no-files-found: error
Loading
Loading