mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-06-10 06:56:13 +08:00
* start work on target * add test * update actions to use DEV * update docs * update readmes * tests need that too * update example * update tests (comments) * fix that test * ruff * mypy * oops * remove getenvs * don't add Target yet * and the test * lint * and docs * more stuff * assert * few more fixes * test assert
18 lines
549 B
Bash
Executable File
18 lines
549 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
export PAGE_SIZE=1
|
|
export PYTHONPATH=.
|
|
export LOGOPS=/tmp/ops
|
|
export CAPTURE_PROCESS_REPLAY=1
|
|
rm "$LOGOPS" 2>/dev/null || true
|
|
test/external/process_replay/reset.py
|
|
|
|
CI=1 python3 -m pytest -n=auto test/backend/test_ops.py test/backend/test_nn.py test/unit/test_winograd.py test/null/test_real_world.py --durations=20
|
|
DEV=CL 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/ |