Instructions to use patdev/k3-a40-bootstrap with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use patdev/k3-a40-bootstrap with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf patdev/k3-a40-bootstrap:BF16 # Run inference directly in the terminal: llama cli -hf patdev/k3-a40-bootstrap:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf patdev/k3-a40-bootstrap:BF16 # Run inference directly in the terminal: llama cli -hf patdev/k3-a40-bootstrap:BF16
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf patdev/k3-a40-bootstrap:BF16 # Run inference directly in the terminal: ./llama-cli -hf patdev/k3-a40-bootstrap:BF16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf patdev/k3-a40-bootstrap:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf patdev/k3-a40-bootstrap:BF16
Use Docker
docker model run hf.co/patdev/k3-a40-bootstrap:BF16
- LM Studio
- Jan
- Ollama
How to use patdev/k3-a40-bootstrap with Ollama:
ollama run hf.co/patdev/k3-a40-bootstrap:BF16
- Unsloth Desktop
- Docker Model Runner
How to use patdev/k3-a40-bootstrap with Docker Model Runner:
docker model run hf.co/patdev/k3-a40-bootstrap:BF16
- Lemonade
How to use patdev/k3-a40-bootstrap with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull patdev/k3-a40-bootstrap:BF16
Run and chat with the model
lemonade run user.k3-a40-bootstrap-BF16
List all available models
lemonade list
- Atomic Chat
sondes de diagnostic Flash-Next
Browse files- cmd/qc5h8c8qaa9z81.sh +5 -14
cmd/qc5h8c8qaa9z81.sh
CHANGED
|
@@ -1,15 +1,6 @@
|
|
| 1 |
set -u
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
echo "chien.py : $RECU octets (attendu $ATTENDU)"
|
| 8 |
-
[ "$RECU" = "$ATTENDU" ] || { echo "TELECHARGEMENT INCOMPLET"; exit 1; }
|
| 9 |
-
cd /travail
|
| 10 |
-
setsid nohup python3 -u chien.py < /dev/null >> /travail/chien.log 2>&1 &
|
| 11 |
-
sleep 8
|
| 12 |
-
echo "--- processus python3 recents ---"
|
| 13 |
-
ps -eo pid,etimes,args --no-headers | awk "\$2 < 60" | grep -a "chien" | grep -av awk | head -3
|
| 14 |
-
echo "--- chien.log ---"
|
| 15 |
-
tail -4 /travail/chien.log 2>/dev/null || echo " vide"
|
|
|
|
| 1 |
set -u
|
| 2 |
+
echo "=== journal du chien de garde ==="
|
| 3 |
+
tail -20 /travail/chien.log 2>/dev/null || echo " absent"
|
| 4 |
+
echo
|
| 5 |
+
echo "=== le chien tourne-t-il encore ? ==="
|
| 6 |
+
ps -eo pid,etimes,args --no-headers | grep -a "chien.py" | grep -av grep | head -3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|