Spaces:
Sleeping
Sleeping
update
Browse files
app.py
CHANGED
@@ -1,5 +1,18 @@
|
|
1 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
# pip install llama-cpp-python --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
|
|
|
|
|
3 |
import llama_cpp
|
4 |
import os
|
5 |
import json
|
|
|
1 |
+
# c2-standard-8 spot 9ct/h
|
2 |
+
# sudo apt-get install git git-lfs pip cmake podman
|
3 |
+
# git lfs install
|
4 |
+
#conda
|
5 |
+
# wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
|
6 |
+
# bash Miniconda3-latest-Linux-x86_64.sh
|
7 |
+
# conda create --name dev python=3.10
|
8 |
+
# conda activate dev
|
9 |
+
# conda create --name dev4 python=3.10
|
10 |
+
|
11 |
+
##########
|
12 |
+
# git clone https://huggingface.co/spaces/TobDeBer/Qwen-2-llamacpp
|
13 |
# pip install llama-cpp-python --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
|
14 |
+
# pip install huggingface_hub scikit-build-core llama-cpp-agent
|
15 |
+
#
|
16 |
import llama_cpp
|
17 |
import os
|
18 |
import json
|