Skip to content

Commit 3451dbd

Browse files
committed
commit TRL backend, stop by killing process
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
1 parent 7b8afc9 commit 3451dbd

12 files changed

Lines changed: 1173 additions & 15 deletions

File tree

backend/python/trl/Makefile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Version of llama.cpp to fetch convert_hf_to_gguf.py from (for GGUF export)
2+
LLAMA_CPP_CONVERT_VERSION ?= master
3+
4+
.PHONY: trl
5+
trl:
6+
LLAMA_CPP_CONVERT_VERSION=$(LLAMA_CPP_CONVERT_VERSION) bash install.sh
7+
8+
.PHONY: run
9+
run: trl
10+
@echo "Running trl..."
11+
bash run.sh
12+
@echo "trl run."
13+
14+
.PHONY: test
15+
test: trl
16+
@echo "Testing trl..."
17+
bash test.sh
18+
@echo "trl tested."
19+
20+
.PHONY: protogen-clean
21+
protogen-clean:
22+
$(RM) backend_pb2_grpc.py backend_pb2.py
23+
24+
.PHONY: clean
25+
clean: protogen-clean
26+
rm -rf venv __pycache__

0 commit comments

Comments
 (0)