char-fork/llama.cpp
git clone https://git.t4t.associates/char-fork/llama.cpp
28123a393
char/aliceai-t5-moe
1name : Update Operations Documentation 2 3on : 4push : 5paths : 6- '.github/workflows/update-ops-docs.yml' 7- 'docs/ops.md' 8- 'docs/ops/**' 9- 'scripts/create_ops_docs.py' 10pull_request : 11paths : 12- '.github/workflows/update-ops-docs.yml' 13- 'docs/ops.md' 14- 'docs/ops/**' 15- 'scripts/create_ops_docs.py' 16 17jobs : 18update-ops-docs : 19runs-on : [ self-hosted , fast , ARM64 ] 20 21steps : 22- name : Checkout repository 23uses : actions/checkout@v6 24 25- name : Set up Python 26uses : actions/setup-python@v6 27with : 28python-version : '3.x' 29 30- name : Generate operations documentation to temporary file 31run : | 32mkdir -p /tmp/ops_check 33./scripts/create_ops_docs.py /tmp/ops_check/ops.md 34 35- name : Check if docs/ops.md matches generated version 36run : | 37 if ! diff -q docs/ops.md /tmp/ops_check/ops.md; then 38 echo "Operations documentation (docs/ops.md) is not up to date with the backend CSV files." 39 echo "To fix: run ./scripts/create_ops_docs.py and commit the updated docs/ops.md along with your changes" 40 echo "Differences found:" 41 diff docs/ops.md /tmp/ops_check/ops.md || true 42 exit 1 43 fi 44 echo "Operations documentation is up to date."