Skip to content

Commit f6c977f

Browse files
committed
infra: use default-branch marker controller for frozen V121
1 parent c7b143d commit f6c977f

1 file changed

Lines changed: 16 additions & 15 deletions

File tree

.github/workflows/trace-ace-transcript-cache-seed.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ on:
44
branches: [main]
55
paths:
66
- '.github/workflows/trace-ace-transcript-cache-seed.yml'
7+
- 'competitions/trace_the_ace/V121_TRIGGER.txt'
78
workflow_dispatch:
89
permissions:
910
contents: write
1011
actions: read
1112
concurrency:
1213
group: trace-ace-v121-frozen-relaunch
13-
cancel-in-progress: false
14+
cancel-in-progress: true
1415
env:
1516
TRANSCRIPT_KEY: trace-ace-transcripts-v1-603547640
1617
TRANSCRIPT_SHA: e685b85b04694e130c25b17d09cdd1892fbda5e9fa685e98b2300114b915aa2d
@@ -82,13 +83,8 @@ jobs:
8283
compression-level: 6
8384
embed:
8485
needs: prepare
85-
strategy:
86-
fail-fast: false
87-
max-parallel: 4
88-
matrix:
89-
shard: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
9086
runs-on: ubuntu-24.04
91-
timeout-minutes: 25
87+
timeout-minutes: 120
9288
steps:
9389
- uses: actions/checkout@v4
9490
with:
@@ -103,16 +99,22 @@ jobs:
10399
with:
104100
name: v121-prepared-relaunch
105101
path: v121_prepared
106-
- name: Embed exact frozen V121 texts
102+
- name: Embed all 16 exact frozen shards sequentially
107103
run: |
104+
set -euo pipefail
108105
cd competitions/trace_the_ace
109-
python v121_staged_transport.py embed --dir ../../v121_prepared \
110-
--shard ${{ matrix.shard }} --shards 16 \
111-
--out ../../v121_embeddings_shard_${{ matrix.shard }}.npz
106+
for shard in $(seq 0 15); do
107+
echo "===== FROZEN V121 SHARD $shard / 15 ====="
108+
python v121_staged_transport.py embed --dir ../../v121_prepared \
109+
--shard "$shard" --shards 16 \
110+
--out "../../v121_embeddings_shard_${shard}.npz"
111+
done
112+
cd ../..
113+
test "$(find . -maxdepth 1 -name 'v121_embeddings_shard_*.npz' | wc -l)" -eq 16
112114
- uses: actions/upload-artifact@v4
113115
with:
114-
name: v121-relaunch-embeddings-${{ matrix.shard }}
115-
path: v121_embeddings_shard_${{ matrix.shard }}.npz
116+
name: v121-relaunch-embeddings-all
117+
path: v121_embeddings_shard_*.npz
116118
retention-days: 2
117119
compression-level: 0
118120
evaluate:
@@ -135,9 +137,8 @@ jobs:
135137
path: v121_prepared
136138
- uses: actions/download-artifact@v4
137139
with:
138-
pattern: v121-relaunch-embeddings-*
140+
name: v121-relaunch-embeddings-all
139141
path: v121_embedding_shards
140-
merge-multiple: false
141142
- name: Evaluate frozen V121 precommit
142143
run: |
143144
cd competitions/trace_the_ace

0 commit comments

Comments
 (0)