mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-02 22:23:42 +08:00
81da8ac9f4
date: 2024-06-11T01:36:39 master commit: f8cb04e4a8b032b72a909f68b808a50936184bee
23 lines
741 B
Bash
23 lines
741 B
Bash
#!/bin/bash
|
|
export LOGOPS=/tmp/ops
|
|
rm $LOGOPS
|
|
|
|
# generate many kernels
|
|
PYTHONPATH="." OPT=2 GPU=1 python3 test/external/external_test_opt.py
|
|
PYTHONPATH="." OPT=3 GPU=1 python3 test/external/external_test_opt.py
|
|
GPU=1 IMAGE=1 python3 test/test_ops.py
|
|
FORWARD_ONLY=1 GPU=1 IMAGE=2 python test/test_ops.py
|
|
STEPS=3 python3 examples/hlb_cifar10.py
|
|
WINO=1 STEPS=3 python3 examples/hlb_cifar10.py
|
|
python3 examples/stable_diffusion.py --noshow
|
|
python3 examples/llama.py --prompt "hello" --count 5
|
|
python3 examples/gpt2.py --count 5
|
|
python3 examples/mlperf/model_spec.py
|
|
python3 examples/yolov8.py ./test/models/efficientnet/Chicken.jpg
|
|
openpilot/go.sh
|
|
BIG=1 MPS=1 pytest test/
|
|
|
|
# sort and uniq
|
|
sort -u /tmp/ops > /tmp/sops
|
|
ls -lh /tmp/ops /tmp/sops
|