Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.
Python cliconsumer-gpudpofine-tuningggufhuggingfacellmllmopslocal-ailocal-llmloralow-vrammachine-learningollamapeftpythonpytorchqlorasfttransformers
ci(codeql): scan the package, not the tests; bound the job at 10 min (#1877)
Alpamys Makazhan648c78dc1a2d
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.ymlindex f2193446..cd6df752 100644--- a/.github/workflows/codeql.yml+++ b/.github/workflows/codeql.yml@@ -32,6 +32,15 @@# `security-extended` (more results, more false positives), add# queries: security-extended# to the `with:` of the init step. Triage the default suite's alerts first.+#+# WHAT IT SCANS. The package, the scripts and the benchmarks; `tests/` is left+# out (`paths-ignore` below). The first scan (2026-10-13) returned 12 alerts,+# 11 of them under `tests/`: assertions on expected URL constants+# (`"huggingface.co" in url`) read as incomplete sanitizers, and a deliberately+# pathological pattern that a guard test feeds to the guard read as a ReDoS.+# Test code never meets untrusted input, so those alerts cost a triage and+# protect nothing. Widen the scope again only together with a triage of what+# it adds.name: CodeQLon:@@ -53,10 +62,10 @@ jobs:analyze:name: analyze (python)runs-on: ubuntu-latest- # An upper bound chosen before the first run, not a measurement. After the- # first successful run, set it to about twice its duration (the method in- # the "Bound every job explicitly" block of ci.yml).- timeout-minutes: 45+ # About three times the first run: 3 min 13 s on 2026-10-13 (run+ # 38414920987, `build-mode: none`, 43 rules), the method in the "Bound every+ # job explicitly" block of ci.yml. Raise it only after a longer measured run.+ timeout-minutes: 10permissions:contents: read# Upload the results to code scanning.@@ -75,6 +84,10 @@ jobs:with:languages: pythonbuild-mode: none+ # Inline configuration; see "WHAT IT SCANS" above.+ config: |+ paths-ignore:+ - tests- name: Analyzeuses: github/codeql-action/analyze@v4with: