mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-19 15:23:47 +08:00
33d5cfc393
date: 2025-12-18T23:23:16 master commit: 3cdee7b54718ee14bd85befd6c5bad3d699c5479
17 lines
499 B
Bash
Executable File
17 lines
499 B
Bash
Executable File
#!/bin/bash
|
|
export PAGE_SIZE=1
|
|
export PYTHONPATH=.
|
|
export LOGOPS=/tmp/ops
|
|
export CAPTURE_PROCESS_REPLAY=1
|
|
rm $LOGOPS
|
|
test/external/process_replay/reset.py
|
|
|
|
CI=1 python3 -m pytest -n=auto test/test_ops.py test/test_nn.py test/test_winograd.py test/models/test_real_world.py --durations=20
|
|
CL=1 python3 -m pytest test/test_tiny.py
|
|
|
|
# extract, sort and uniq
|
|
extra/optimization/extract_dataset.py
|
|
sort -u /tmp/ops > /tmp/sops
|
|
ls -lh /tmp/ops /tmp/sops
|
|
gzip -k /tmp/sops
|
|
# mv /tmp/sops.gz extra/datasets/ |