Spaces:
Build error
Build error
Download llamacpp_python/Makefile from jaothan/podman_llamacpp_python: direct link, hf CLI and curl.
- Browser
- Download file 964 Bytes
-
https://huggingface.co/spaces/jaothan/podman_llamacpp_python/resolve/main/llamacpp_python/Makefile
- Command line
-
hf download hf://spaces/jaothan/podman_llamacpp_python/llamacpp_python/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/jaothan/podman_llamacpp_python/resolve/main/llamacpp_python/Makefile
964 Bytes
| APP := llamacpp_python | |
| PORT ?= 8001 | |
| CHAT_FORMAT ?= | |
| include ../common/Makefile.common | |
| IMAGE_NAME ?= $(REGISTRY_ORG)/$(COMPONENT)/$(APP):latest | |
| IMAGE := $(REGISTRY)/$(IMAGE_NAME) | |
| CUDA_IMAGE := $(REGISTRY)/$(REGISTRY_ORG)/$(COMPONENT)/$(APP)_cuda:latest | |
| VULKAN_IMAGE := $(REGISTRY)/$(REGISTRY_ORG)/$(COMPONENT)/$(APP)_vulkan:latest | |
| MODELS_PATH := /locallm/models | |
| MODEL_NAME ?= granite-7b-lab-Q4_K_M.gguf | |
| .Phony: all | |
| all: build download-model-granite run | |
| build-cuda: | |
| "${CONTAINER_TOOL}" build --squash-all -t $(CUDA_IMAGE) . -f cuda/Containerfile | |
| build-vulkan-amd64: | |
| "${CONTAINER_TOOL}" build --squash-all -t $(VULKAN_IMAGE) . -f vulkan/amd64/Containerfile | |
| build-vulkan-arm64: | |
| "${CONTAINER_TOOL}" build --squash-all -t $(VULKAN_IMAGE) . -f vulkan/arm64/Containerfile | |
| download-model-granite: | |
| cd ../../models/ && \ | |
| make download-model-granite | |