Instructions to use anilsuthar2004/qwen-bot 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 anilsuthar2004/qwen-bot 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 anilsuthar2004/qwen-bot # Run inference directly in the terminal: llama cli -hf anilsuthar2004/qwen-bot
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf anilsuthar2004/qwen-bot # Run inference directly in the terminal: llama cli -hf anilsuthar2004/qwen-bot
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 anilsuthar2004/qwen-bot # Run inference directly in the terminal: ./build/bin/llama cli -hf anilsuthar2004/qwen-bot
Use Docker
docker model run hf.co/anilsuthar2004/qwen-bot
- Llama new
- LM Studio
- Jan
- Ollama
How to use anilsuthar2004/qwen-bot with Ollama:
ollama run hf.co/anilsuthar2004/qwen-bot
- Unsloth Desktop
- Docker Model Runner
How to use anilsuthar2004/qwen-bot with Docker Model Runner:
docker model run hf.co/anilsuthar2004/qwen-bot
- Lemonade
How to use anilsuthar2004/qwen-bot with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull anilsuthar2004/qwen-bot
Run and chat with the model
lemonade run user.qwen-bot-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
|
Download llama.cpp/docs/backend/BLIS.md from anilsuthar2004/qwen-bot: direct link, hf CLI and curl.
- Browser
- Download file 1.66 kB
-
https://huggingface.co/anilsuthar2004/qwen-bot/resolve/main/llama.cpp/docs/backend/BLIS.md
- Command line
-
hf download hf://anilsuthar2004/qwen-bot/llama.cpp/docs/backend/BLIS.md
-
curl -L -o BLIS.md https://huggingface.co/anilsuthar2004/qwen-bot/resolve/main/llama.cpp/docs/backend/BLIS.md
1.66 kB
| BLIS Installation Manual | |
| ------------------------ | |
| BLIS is a portable software framework for high-performance BLAS-like dense linear algebra libraries. It has received awards and recognition, including the 2023 James H. Wilkinson Prize for Numerical Software and the 2020 SIAM Activity Group on Supercomputing Best Paper Prize. BLIS provides a new BLAS-like API and a compatibility layer for traditional BLAS routine calls. It offers features such as object-based API, typed API, BLAS and CBLAS compatibility layers. | |
| Project URL: https://github.com/flame/blis | |
| ### Prepare: | |
| Compile BLIS: | |
| ```bash | |
| git clone https://github.com/flame/blis | |
| cd blis | |
| ./configure --enable-cblas -t openmp,pthreads auto | |
| # will install to /usr/local/ by default. | |
| make -j | |
| ``` | |
| Install BLIS: | |
| ```bash | |
| sudo make install | |
| ``` | |
| We recommend using openmp since it's easier to modify the cores being used. | |
| ### llama.cpp compilation | |
| CMake: | |
| ```bash | |
| mkdir build | |
| cd build | |
| cmake -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=FLAME .. | |
| make -j | |
| ``` | |
| ### llama.cpp execution | |
| According to the BLIS documentation, we could set the following | |
| environment variables to modify the behavior of openmp: | |
| ```bash | |
| export GOMP_CPU_AFFINITY="0-19" | |
| export BLIS_NUM_THREADS=14 | |
| ``` | |
| And then run the binaries as normal. | |
| ### Intel specific issue | |
| Some might get the error message saying that `libimf.so` cannot be found. | |
| Please follow this [stackoverflow page](https://stackoverflow.com/questions/70687930/intel-oneapi-2022-libimf-so-no-such-file-or-directory-during-openmpi-compila). | |
| ### Reference: | |
| 1. https://github.com/flame/blis#getting-started | |
| 2. https://github.com/flame/blis/blob/master/docs/Multithreading.md | |