Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Di Giacinto <[email protected]>
  • Loading branch information
mudler committed Oct 17, 2023
1 parent 0ce46c8 commit 60be47a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,9 @@ prepare-e2e:
docker build --build-arg BUILD_TYPE=cublas --build-arg CUDA_MAJOR_VERSION=11 --build-arg CUDA_MINOR_VERSION=7 --build-arg FFMPEG=true -t localai-tests .

run-e2e-image:
docker run -p 5390:8080 -e MODELS_PATH=/models -e THREADS=1 -e DEBUG=true -d --rm -v $(abspath ./tests/e2e-fixtures):/models --gpus all --name e2e-tests-$(RANDOM) localai-tests
cp -rfv $(abspath ./tests/e2e-fixtures)/gpu.yaml models/
ls -liah $(abspath ./models)
docker run -p 5390:8080 -e MODELS_PATH=/models -e THREADS=1 -e DEBUG=true -d --rm -v $(abspath ./models):/models --gpus all --name e2e-tests-$(RANDOM) localai-tests

test-e2e:
@echo 'Running e2e tests'
Expand Down
3 changes: 0 additions & 3 deletions tests/e2e-fixtures/gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ name: gpt-4
mmap: true
parameters:
model: ggllm-test-model.bin
#model: llama2-22b-daydreamer-v3.ggmlv3.q6_K.bin
#model: wizardlm-30b-uncensored.ggmlv3.q4_K_M.bin
#model: upstage-llama-2-70b-instruct-v2.ggmlv3.q2_K.bin
rope_freq_base: 10000
rope_freq_scale: 1
temperature: 0.2
Expand Down

0 comments on commit 60be47a

Please sign in to comment.