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/scripts/snapdragon/sdk.py from anilsuthar2004/qwen-bot: direct link, hf CLI and curl.
- Browser
- Download file 2.14 kB
-
https://huggingface.co/anilsuthar2004/qwen-bot/resolve/main/llama.cpp/scripts/snapdragon/sdk.py
- Command line
-
hf download hf://anilsuthar2004/qwen-bot/llama.cpp/scripts/snapdragon/sdk.py
-
curl -L -o sdk.py https://huggingface.co/anilsuthar2004/qwen-bot/resolve/main/llama.cpp/scripts/snapdragon/sdk.py
2.14 kB
| import os | |
| from pathlib import Path | |
| SDK_CONFIGS = ( | |
| { | |
| "name": "Hexagon SDK", | |
| "repo": "snapdragon-toolchain/hexagon-sdk", | |
| "default_version": "6.6.0.0", | |
| "parent_dir": "Hexagon_SDK", | |
| "archive_prefix": "hexagon-sdk-v", | |
| "markers": ("hexagon_sdk.json",), | |
| }, | |
| { | |
| "name": "OpenCL SDK", | |
| "repo": "snapdragon-toolchain/opencl-sdk", | |
| "default_version": "2.3.2", | |
| "parent_dir": "OpenCL_SDK", | |
| "archive_prefix": "adreno-opencl-sdk-v", | |
| "markers": ("include/CL", "lib/OpenCL.lib"), | |
| }, | |
| ) | |
| def is_valid_sdk(config, target_dir): | |
| return target_dir.is_dir() and all((target_dir / marker).exists() for marker in config["markers"]) | |
| def get_hexagon_tools_dir(hexagon_dir): | |
| tools_parent = hexagon_dir / "tools" / "HEXAGON_Tools" | |
| if not tools_parent.is_dir(): | |
| raise RuntimeError(f"Expected Hexagon tools directory in {tools_parent}") | |
| tools_dirs = [path for path in tools_parent.iterdir() if path.is_dir()] | |
| if len(tools_dirs) != 1: | |
| raise RuntimeError(f"Expected one Hexagon tools directory in {tools_parent}") | |
| return tools_dirs[0] | |
| def validate_windows_sdks(): | |
| hexagon_config, opencl_config = SDK_CONFIGS | |
| hexagon_dir = os.environ.get("HEXAGON_SDK_ROOT") | |
| tools_dir = os.environ.get("HEXAGON_TOOLS_ROOT") | |
| opencl_dir = os.environ.get("OPENCL_SDK_ROOT") | |
| missing = [] | |
| expected_tools_dir = None | |
| if not hexagon_dir or not is_valid_sdk(hexagon_config, Path(hexagon_dir)): | |
| missing.append("HEXAGON_SDK_ROOT") | |
| else: | |
| try: | |
| expected_tools_dir = get_hexagon_tools_dir(Path(hexagon_dir)) | |
| except RuntimeError: | |
| pass | |
| if not tools_dir or not expected_tools_dir or Path(tools_dir) != expected_tools_dir: | |
| missing.append("HEXAGON_TOOLS_ROOT") | |
| if not opencl_dir or not is_valid_sdk(opencl_config, Path(opencl_dir)): | |
| missing.append("OPENCL_SDK_ROOT") | |
| if missing: | |
| raise RuntimeError( | |
| f"Missing or invalid Windows SDK paths: {', '.join(missing)}. " | |
| "Run scripts/snapdragon/setup-sdk.py first." | |
| ) | |