File size: 857 Bytes
127f174
aaae9c0
127f174
bba0c2d
c76d43e
 
 
fa09834
c76d43e
 
500a402
 
33f2266
c76d43e
127f174
500a402
127f174
 
 
500a402
 
 
 
c76d43e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM ghcr.io/ggml-org/llama.cpp:full

WORKDIR /app

# প্রয়োজনীয় প্যাকেজ ইনস্টল
RUN apt update && apt install -y python3-pip
RUN pip install -U huggingface_hub

# Hugging Face থেকে মডেল ডাউনলোড
RUN python3 -c 'from huggingface_hub import hf_hub_download; \
    repo="LiquidAI/LFM2-24B-A2B-GGUF"; \
    hf_hub_download(repo_id=repo, filename="LFM2-24B-A2B-Q4_K_M.gguf", local_dir="/app");'

# সার্ভার কনফিগারেশন (Thinking মোড ডিজেবল করা হয়েছে)
ENTRYPOINT ["/app/llama-server"]
CMD ["-m", "/app/LFM2-24B-A2B-Q4_K_M.gguf", \
     "--host", "0.0.0.0", \
     "--port", "7860", \
     "-t", "2", \
     "--cache-type-k", "f16", \
     "--cache-type-v", "f16", \
     "-c", "50000", \
     "-n", "4096", \
     "--jinja"]