Instructions to use ActionPower/elli-nipa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ActionPower/elli-nipa with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf ActionPower/elli-nipa # Run inference directly in the terminal: llama cli -hf ActionPower/elli-nipa
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ActionPower/elli-nipa # Run inference directly in the terminal: llama cli -hf ActionPower/elli-nipa
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf ActionPower/elli-nipa # Run inference directly in the terminal: ./build/bin/llama cli -hf ActionPower/elli-nipa
Use Docker
docker model run hf.co/ActionPower/elli-nipa
- Llama new
- LM Studio
- Jan
- vLLM
How to use ActionPower/elli-nipa with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ActionPower/elli-nipa" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ActionPower/elli-nipa", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ActionPower/elli-nipa
- Ollama
How to use ActionPower/elli-nipa with Ollama:
ollama run hf.co/ActionPower/elli-nipa
- Unsloth Desktop
- Docker Model Runner
How to use ActionPower/elli-nipa with Docker Model Runner:
docker model run hf.co/ActionPower/elli-nipa
- Lemonade
How to use ActionPower/elli-nipa with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ActionPower/elli-nipa
Run and chat with the model
lemonade run user.elli-nipa-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
File size: 2,311 Bytes
6485c4c | 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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | diff --git a/src/models/qwen3.cpp b/src/models/qwen3.cpp
index d271b555e..024b043a6 100644
--- a/src/models/qwen3.cpp
+++ b/src/models/qwen3.cpp
@@ -173,12 +173,17 @@ llama_model_qwen3::graph::graph(const llama_model & model, const llm_graph_param
LLM_NORM_RMS, il);
cb(cur, "ffn_norm", il);
- if (model.layers[il].ffn_gate_norm_in) {
+ if (model.layers[il].ffn_gate_norm_in ||
+ model.layers[il].ffn_up_norm_in ||
+ model.layers[il].ffn_down_norm_in) {
// BitNet per-projection norms for MLP
- ggml_tensor * gate_inp = build_norm(cur,
- model.layers[il].ffn_gate_norm_in, NULL,
- LLM_NORM_RMS, il);
- cb(gate_inp, "ffn_gate_norm_in", il);
+ ggml_tensor * gate_inp = cur;
+ if (model.layers[il].ffn_gate_norm_in) {
+ gate_inp = build_norm(cur,
+ model.layers[il].ffn_gate_norm_in, NULL,
+ LLM_NORM_RMS, il);
+ cb(gate_inp, "ffn_gate_norm_in", il);
+ }
ggml_tensor * up_inp = cur;
if (model.layers[il].ffn_up_norm_in) {
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index 780df3266..55cbc2b54 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -21,10 +21,10 @@ else()
add_subdirectory(completion)
add_subdirectory(perplexity)
add_subdirectory(quantize)
+ add_subdirectory(server)
+ add_subdirectory(cli)
if (LLAMA_BUILD_SERVER)
add_subdirectory(ui)
- add_subdirectory(cli)
- add_subdirectory(server)
endif()
add_subdirectory(tokenize)
add_subdirectory(parser)
diff --git a/tools/server/CMakeLists.txt b/tools/server/CMakeLists.txt
index b5c40884f..fb1f7220b 100644
--- a/tools/server/CMakeLists.txt
+++ b/tools/server/CMakeLists.txt
@@ -33,6 +33,7 @@ target_link_libraries(${TARGET} PUBLIC llama-common mtmd ${CMAKE_THREAD_LIBS_INI
# llama-server-impl: server logic, reusable by app
+if (LLAMA_BUILD_SERVER)
set(TARGET llama-server-impl)
add_library(${TARGET}
@@ -61,3 +62,4 @@ install(TARGETS ${TARGET} RUNTIME)
target_link_libraries(${TARGET} PRIVATE llama-server-impl)
target_compile_features(${TARGET} PRIVATE cxx_std_17)
+endif()
|