{"id":2242,"date":"2025-08-23T17:00:48","date_gmt":"2025-08-23T08:00:48","guid":{"rendered":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/?p=2242"},"modified":"2025-09-12T16:16:55","modified_gmt":"2025-09-12T07:16:55","slug":"%e3%83%ad%e3%83%bc%e3%82%ab%e3%83%abllm%e3%82%92evo-x2%e3%81%a7%e3%83%9b%e3%82%b9%e3%83%88%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%be%e3%81%a8%e3%82%81","status":"publish","type":"post","link":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/?p=2242","title":{"rendered":"\u30ed\u30fc\u30ab\u30ebLLM\u3092EVO X2\u3067\u30db\u30b9\u30c8\u3059\u308b\u65b9\u6cd5\u307e\u3068\u3081"},"content":{"rendered":"\n<p>\u6700\u8fd1\u8cb7\u3063\u305fEVO X2\u3067\u30ed\u30fc\u30ab\u30ebLLM\u3092\u52d5\u304b\u305d\u3046\u3068\u8272\u3005\u8a66\u3057\u3066\u307f\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ollama<\/li>\n\n\n\n<li>LM Studio<\/li>\n\n\n\n<li>llama.cpp<\/li>\n<\/ul>\n\n\n\n<p>\u306a\u3069\u304c\u3088\u304f\u805e\u304f\u624b\u6bb5\u3067\u3057\u3087\u3046\u304b\u3002NVIDIA\u88fd\u306eGPU\u3067\u3042\u308c\u3070\u4e0a\u8a18\u306e\u3069\u308c\u3067\u3082\u5b89\u5b9a\u3057\u3066\u52d5\u304f\u3068\u601d\u3044\u307e\u3059\u3002<br>\u3057\u304b\u3057EVO X2\u306fAMD\u88fd\u306eGPU\u306a\u305f\u3081\u5fae\u5999\u306b\u5b89\u5b9a\u3057\u307e\u305b\u3093\u3002\u7279\u306brocm\u3068\u3044\u3046NVIDIA\u3067\u3044\u3046\u3068\u3053\u308d\u306eCUDA\u76f8\u5f53\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u307e\u3060ryzen ai max+ 395\u306eGPU\u306b\u306f\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u3088\u3046\u3067\u3001\u3046\u307e\u304f\u8a8d\u8b58\u3055\u308c\u306a\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7d50\u8ad6: llama-cpp\u306ellama-server\u304c\u5b89\u5b9a<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>GPU\u30a2\u30af\u30bb\u30b9\u306e\u65b9\u6cd5\u306f\uff12\u7a2e\u985e\u3042\u308b\n<ul class=\"wp-block-list\">\n<li>rocm\u306f\u307e\u3060\u5b89\u5b9a\u3057\u3066\u3044\u308b\u3068\u3044\u3048\u306a\u3044<\/li>\n\n\n\n<li>vulkan\u306f\u5b89\u5b9a\u3057\u3066\u3044\u308b<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>ollama\u306erocm\u3067\u8272\u3005\u52d5\u304b\u305d\u3046\u3068\u3059\u308b\u3068\u5b89\u5b9a\u3057\u306a\u3044<\/li>\n\n\n\n<li>LM Studio\u306f\u5b89\u5b9a\u3057\u3066\u52d5\u4f5c\u3059\u308b\u304cGUI\u3092\u8d77\u52d5\u3057\u3066\u3044\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u5916\u90e8\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3055\u305b\u305f\u308a\u3059\u308b\u5834\u5408\u306b\u306f\u4e0d\u4fbf\u3002waypipe\u306a\u3069\u3092\u4f7f\u3063\u3066\u3082\u826f\u3044\u304c\u81ea\u5206\u306e\u6c42\u3081\u3066\u3044\u308b\u3082\u306e\u3068\u306f\u5c11\u3057\u9055\u3046<\/li>\n\n\n\n<li>llama.cpp\u306ellama-server\u306evulkan\u3092\u4f7f\u3046\u3088\u3046\u306b\u30d3\u30eb\u30c9\u3057\u305f\u3082\u306e\u304c\u5b89\u5b9a\u3057\u3066\u3044\u308b<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u74b0\u5883<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u8a08\u7b97\u6a5f EVO X2\n<ul class=\"wp-block-list\">\n<li>\u30e1\u30e2\u30ea128GB\u30e2\u30c7\u30eb<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>OS Ubuntu 24.04<\/li>\n<\/ul>\n\n\n\n<p>\u3061\u306a\u307f\u306b\u3001Ubuntu 25.10\u306a\u3069\u3092\u5165\u308c\u308b\u3068amd\u306egpu\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u5931\u6557\u3057\u305f\u308a\u3059\u308b\u306e\u3067\u3001Ubuntu 24.04\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">rocm\u304bvulkan\u304b<\/h2>\n\n\n\n<p>\u73fe\u5728GPGPU\u3092\u5b9f\u73fe\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066\u3001AMD\u306eGPU\u7528\u306erocm\u3068\u3044\u3046\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3001vulkan\u3068\u3044\u3046\u6c4e\u7528\u306eGPU\u5411\u3051\u306eAPI\u3092\u5229\u7528\u3059\u308b\uff12\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>rocm\u306e\u65b9\u304cAMD\u304c\u81ea\u8eab\u306eGPU\u5411\u3051\u306b\u63d0\u4f9b\u3057\u3066\u3044\u308b\u3082\u306e\u306a\u306e\u3067\u6027\u80fd\u306a\u3069\u3082\u671f\u5f85\u3067\u304d\u307e\u3059\u304c\u3001\u307e\u3060ryzen ai max+ 395\u306b\u306f\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>vulkan\u306f\u6c4e\u7528\u306eAPI\u306e\u305f\u3081\u3001GPU\u304c\u4f7f\u3048\u308b\u30de\u30b7\u30f3\u3067\u3042\u308c\u3070\u591a\u304f\u306e\u30de\u30b7\u30f3\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002Intel\u306eArc\u306a\u3069\u3067\u306f\u3053\u3061\u3089\u3092\u4f7f\u3063\u305f\u308a\u3057\u3066\u3044\u308b\u3089\u3057\u3044\u3067\u3059\u3002(\u624b\u6301\u3061\u306e\u30de\u30b7\u30f3\u306bArc\u304c\u8f09\u3063\u3066\u3044\u308b\u3082\u306e\u304c\u306a\u3044\u306e\u3067\u672a\u691c\u8a3c\u3067\u3059)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">ollama\u3067\u8a66\u3057\u3066\u307f\u308b<\/h2>\n\n\n\n<p>ollama\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306adocker-compose\u3092\u4f7f\u3063\u3066\u52d5\u4f5c\u3055\u305b\u3066\u69d8\u5b50\u3092\u898b\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u306f\u3001rocm\u3092\u4f7f\u3063\u3066ollama\u3092\u52d5\u304b\u3059\u3082\u306e\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>services:\n  ollama:\n    image: ollama\/ollama:rocm\n    container_name: ollama\n    volumes:\n      - ollama:\/root\/.ollama\n    ports:\n      - \"11434:11434\"\n    restart: always\n    environment:\n      - HSA_OVERRIDE_GFX_VERSION=11.5.1\n    devices:\n      - \"\/dev\/kfd:\/dev\/kfd\"\n      - \"\/dev\/dri:\/dev\/dri\"\n\nvolumes:\n  ollama:<\/code><\/pre>\n\n\n\n<p>\u4e0a\u8a18\u306e\u8a2d\u5b9a\u3067\u8d77\u52d5\u3057\u3066\u304f\u308c\u307e\u3057\u305f\u304c\u3001VRAM\u306e\u30b5\u30a4\u30ba\u304c\u9069\u5207\u306b\u306a\u3063\u305f\u308a\u306a\u3089\u306a\u304b\u3063\u305f\u308a\u3001\u52d5\u3044\u3066\u3044\u305f\u3068\u601d\u3063\u305f\u3089GPU\u306e\u6271\u3044\u304c\u9069\u5207\u3067\u306a\u3044\u7b87\u6240\u3067\u30b7\u30b9\u30c6\u30e0\u3054\u3068\u505c\u6b62\u3057\u3066\u3057\u307e\u3063\u305f\u308a\u3001\u5b89\u5b9a\u3057\u3066\u52d5\u4f5c\u3057\u3066\u304f\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u3042\u305f\u308a\u306f\u3001rocm6\u7cfb\u3067\u306f\u307e\u3060ryzen ai max+ 395\u306e\u5bfe\u5fdc\u304c\u306a\u3044\u305f\u3081\u767a\u751f\u3057\u3066\u3044\u308b\u554f\u984c\u3060\u3068\u601d\u308f\u308c\u307e\u3059\u3002rocm\u306e\u30d0\u30fc\u30b8\u30e7\u30f37\u304c\u305d\u308d\u305d\u308d\u51fa\u308b\u3068\u601d\u3046\u306e\u3067\u3001ryzen ai max+ 395\u306b\u6b63\u5f0f\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u671f\u5f85\u3057\u305f\u3044\u3067\u3059\u306d\u3002<\/p>\n\n\n\n<p>ollama\u306fvulkan\u30b5\u30dd\u30fc\u30c8\u306b\u3064\u3044\u3066\u3042\u307e\u308a\u7a4d\u6975\u7684\u3067\u306f\u306a\u3044\u3089\u3057\u304f\u5b58\u5728\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">LM Studio\u3067\u8a66\u3057\u3066\u307f\u308b<\/h2>\n\n\n\n<p>LM Studio\u306fGUI\u304c\u4ed8\u3044\u3066\u3044\u308b\u30ed\u30fc\u30ab\u30ebLLM\u3092\u52d5\u4f5c\u3055\u305b\u308b\u3088\u3046\u306a\u30a2\u30d7\u30ea\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br>\u3053\u308c\u306bopenai\u4e92\u63db\u306e\u30b5\u30fc\u30d0\u3092\u7a3c\u50cd\u3055\u305b\u308b\u6a5f\u80fd\u304c\u3042\u308a\u305d\u308c\u3092\u52d5\u304b\u3059\u3053\u3068\u3067\u691c\u8a3c\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u73fe\u72b6\u3067\u306f<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>vulkan\u4e92\u63db\u306eGPU\u3068\u3057\u3066\u52d5\u4f5c<\/li>\n\n\n\n<li>rocm\u3068\u3057\u3066\u306fGPU\u304c\u8a8d\u8b58\u3055\u308c\u306a\u3044<\/li>\n<\/ul>\n\n\n\n<p>\u3068\u3044\u3046\u3088\u3046\u306a\u72b6\u6cc1\u306b\u306a\u308b\u3088\u3046\u3067\u3001LM Studio\u4e0a\u3060\u3068vulkan\u3092\u4f7f\u3063\u3066\u52d5\u4f5c\u691c\u8a3c\u3092\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u7d50\u679c\u3068\u3057\u3066\u306f\u5b89\u5b9a\u3057\u3066\u52d5\u4f5c\u3057\u3001\u5e38\u7528\u3067\u304d\u305d\u3046\u306a\u96f0\u56f2\u6c17\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u30b5\u30fc\u30d0\u3060\u3051\u5e38\u306b\u8d77\u52d5\u3067\u304d\u308b\u3068\u30b5\u30fc\u30d0\u3067\u5e38\u6642\u8d77\u52d5\u3057\u3066\u3044\u308b\u3088\u3046\u306a\u5f62\u3067\u5b85\u5185\u306bLLM\u30b5\u30fc\u30d0\u3092\u63d0\u4f9b\u3067\u304d\u3066\u3046\u308c\u3057\u3044\u3068\u601d\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u305d\u3046\u3044\u3046\u3053\u3068\u306f\u3067\u304d\u306a\u3044\u3088\u3046\u3067\u3059\u3002LM Studio\u306f\u8d77\u52d5\u3059\u308b\u305f\u3081\u306b\u3069\u3046\u3057\u3066\u3082GUI\u304c\u5fc5\u8981\u306a\u3088\u3046\u3067\u3059\u3002cli\u30c4\u30fc\u30eb\u3082\u3064\u3044\u3066\u304f\u308b\u306e\u3067\u3059\u304c\u3053\u308c\u306fGUI\u3067\u8d77\u52d5\u3057\u3066\u3044\u308bLM Studio\u3092\u64cd\u4f5c\u3059\u308b\u3068\u3044\u3046\u5f62\u306e\u30e2\u30ce\u306e\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">llama.cpp\u306ellama-server<\/h2>\n\n\n\n<p>\u6700\u5f8c\u306bllama.cpp\u3092\u8a66\u3059\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u524d\u80052\u3064\u306eollama\u3068LM Studio\u3082\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3057\u3066\u3053\u306ellama.cpp\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u5f62\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u6a5f\u80fd\u7684\u306b\u306f\u6700\u3082\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u306a\u3082\u306e\u3068\u306a\u3063\u3066\u3044\u3066\u30e2\u30c7\u30eb\u306e\u7ba1\u7406\u6a5f\u80fd\u306a\u3069\u4fbf\u5229\u306a\u6a5f\u80fd\u306f\u5168\u7136\u306a\u3044\u3082\u306e\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u624b\u52d5\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u306a\u3069\u3092\u884c\u3063\u3066\u74b0\u5883\u3092\u4f5c\u3063\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u306f llama.cpp \u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30af\u30ed\u30fc\u30f3\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ git clone  https:\/\/github.com\/ggml-org\/llama.cpp.git<\/code><\/pre>\n\n\n\n<p>\u305d\u3057\u3066\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u307e\u3059<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo apt install libvulkan-dev glslc cmake build-essential libcurlpp-dev\n$ cd llama.cpp\n$ mkdir build-vulkan\n$ cmake -B build-vulkan -DGGML_VULKAN=ON\n$ cmake --build build-vulkan --config Release -j<\/code><\/pre>\n\n\n\n<p>build-vulkan \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u6210\u679c\u7269\u304c\u51fa\u6765\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ ls -l build-vulkan\n\u5408\u8a08 324K\ndrwxrwxr-x 34 sakura sakura   4096  8\u6708 14 13:02 CMakeFiles\/\ndrwxrwxr-x  2 sakura sakura   4096  8\u6708 14 13:00 Release\/\ndrwxrwxr-x  3 sakura sakura   4096  8\u6708 14 13:00 Testing\/\ndrwxrwxr-x  2 sakura sakura   4096  8\u6708 14 13:02 bin\/\ndrwxrwxr-x  3 sakura sakura   4096  8\u6708 14 13:02 common\/\ndrwxrwxr-x 23 sakura sakura   4096  8\u6708 14 13:00 examples\/\ndrwxrwxr-x  4 sakura sakura   4096  8\u6708 14 13:00 ggml\/\ndrwxrwxr-x  4 sakura sakura   4096  8\u6708 14 13:00 pocs\/\ndrwxrwxr-x  3 sakura sakura   4096  8\u6708 14 13:00 src\/\ndrwxrwxr-x  3 sakura sakura   4096  8\u6708 14 13:00 tests\/\ndrwxrwxr-x 17 sakura sakura   4096  8\u6708 14 13:00 tools\/\n-rw-rw-r--  1 sakura sakura  33951  8\u6708 14 13:00 CMakeCache.txt\n-rw-rw-r--  1 sakura sakura    445  8\u6708 14 13:00 CTestTestfile.cmake\n-rw-r--r--  1 sakura sakura   2562  8\u6708 14 13:00 DartConfiguration.tcl\n-rw-rw-r--  1 sakura sakura  64249  8\u6708 14 13:00 Makefile\n-rw-rw-r--  1 sakura sakura   5471  8\u6708 14 13:00 cmake_install.cmake\n-rw-rw-r--  1 sakura sakura 154741  8\u6708 14 13:00 compile_commands.json\n-rw-rw-r--  1 sakura sakura   1765  8\u6708 14 13:00 llama-config.cmake\n-rw-r--r--  1 sakura sakura   2771  8\u6708 14 13:00 llama-version.cmake\n-rw-rw-r--  1 sakura sakura    246  8\u6708 14 13:00 llama.pc\n<\/code><\/pre>\n\n\n\n<p>bin\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e0b\u306b\u3001\u8272\u3005\u30d0\u30a4\u30ca\u30ea\u304c\u4f5c\u3089\u308c\u3066\u3044\u3066 llama-server \u3082\u305d\u306e\u4e2d\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3055\u3063\u305d\u304f\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ cd llama.cpp\u3092clone\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\n$ .\/build-vulkan\/bin\/llama-server -hf unsloth\/gpt-oss-20b-GGUF \\\n  --ctx-size 1000000 \\\n  --jinja \\\n  --cpu-moe \\\n  --n-gpu-layers 999 \\\n  -fa --host 0.0.0.0 --api-key dummy<\/code><\/pre>\n\n\n\n<p>\u3053\u308c\u3067\u3001vulkan\u5bfe\u5fdc\u306ellama-server\u304c\u8d77\u52d5\u3057\u307e\u3059\u3002\u4f7f\u3046\u30e2\u30c7\u30eb\u306f\u6700\u8fd1\u516c\u958b\u3055\u308c\u305f gpt-oss\u306e20b\u306e\u30e2\u30c7\u30eb\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>http:\/\/localhost:8080\/ \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u7c21\u6613\u306a\u30c1\u30e3\u30c3\u30c8\u306eUI\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/wp-content\/uploads\/2025\/08\/image.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"517\" src=\"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/wp-content\/uploads\/2025\/08\/image-1024x517.png\" alt=\"\" class=\"wp-image-2244\" srcset=\"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/wp-content\/uploads\/2025\/08\/image-1024x517.png 1024w, https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/wp-content\/uploads\/2025\/08\/image-300x152.png 300w, https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/wp-content\/uploads\/2025\/08\/image-768x388.png 768w, https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/wp-content\/uploads\/2025\/08\/image-660x333.png 660w, https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/wp-content\/uploads\/2025\/08\/image.png 1261w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>\u554f\u984c\u306a\u304f\u52d5\u3044\u3066\u304f\u308c\u305d\u3046\u3067\u3059\u3002\u307e\u305f\u3001cline\u3084\u307b\u304b\u306e\u30b7\u30b9\u30c6\u30e0\u3068\u5408\u308f\u305b\u3066\u52d5\u4f5c\u3055\u305b\u3066\u307f\u305f\u3068\u3053\u308d\u5b89\u5b9a\u3057\u3066\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<p>rocm\u3092\u4f7f\u3063\u305f\u3082\u306e\u3082\u3042\u308b\u3088\u3046\u306a\u306e\u3067\u3059\u304c\u3001ollama\u3084LM Studio\u306e\u72b6\u6cc1\u3092\u9451\u307f\u308b\u306brocm\u306e\u74b0\u5883\u3067\u5b89\u5b9a\u3059\u308b\u3068\u601d\u3048\u306a\u304b\u3063\u305f\u306e\u3067\u691c\u8a3c\u306f\u3057\u306a\u3044\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002rocm\u306e7\u304c\u51fa\u305f\u3089\u691c\u8a3c\u3057\u3066\u307f\u3088\u3046\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6700\u5f8c\u306bsystemd\u306e\u30e6\u30cb\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u5e38\u6642\u8d77\u52d5\u3055\u305b\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3059\u3002 <br>\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092 <code>~\/.config\/systemd\/user\/llama-server.service<\/code> \u3068\u3044\u3046\u540d\u524d\u3067\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;Unit]\nDescription=LLama-Server (unsloth\/gpt-oss-20b-GGUF)\nAfter=network.target\n\n&#91;Service]\nWorkingDirectory=&lt;llama.cpp\u3092\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea&gt;\nExecStart=&lt;llama-server\u306e\u30d0\u30a4\u30ca\u30ea\u306e\u30d5\u30eb\u30d1\u30b9&gt; -hf unsloth\/gpt-oss-20b-GGUF --ctx-size 1000000 --jinja --cpu-moe --n-gpu-layers 999  -fa --host 0.0.0.0 --api-key dummy\n\n\n# \u518d\u8d77\u52d5\u306e\u8a2d\u5b9a\nRestart=always\nRestartSec=5\nStartLimitInterval=60\nStartLimitBurst=5\n\n&#91;Install]\nWantedBy=multi-user.target<\/code><\/pre>\n\n\n\n<p>\u305d\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u5e38\u6642\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl --user daemon-reload\nsystemctl --user enable llama-server.service\nsystemctl --user start llama-server.service\nsystemctl --user status llama-server.service<\/code><\/pre>\n\n\n\n<p>\u8d77\u52d5\u3057\u3066\u304f\u308c\u306a\u3044\u3088\u3046\u306a\u3089\u3001 <code>journal --user -u llama-server<\/code> \u306a\u3069\u3067\u30ed\u30b0\u3092\u898b\u3066\u8a2d\u5b9a\u3092\u8abf\u6574\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>EVO X2(\u3068\u3044\u3046\u3088\u308a\u3001ryzen ai max+ 395)\u3067\u3001\u30ed\u30fc\u30ab\u30ebLLM\u3092\u52d5\u4f5c\u3055\u305b\u308b\u74b0\u5883\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u5b9a\u756a\u3063\u307d\u3044ollama\u3068LM Studio\u3067\u306f\u5b89\u5b9a\u3057\u306a\u304b\u3063\u305f\u308a\u3001\u81ea\u5206\u306e\u7528\u9014\u306b\u306f\u5408\u308f\u306a\u304b\u3063\u305f\u306e\u3067\u6700\u7d42\u7684\u306bllama.cpp\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u74b0\u5883\u69cb\u7bc9\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>rocm\u306e7\u304c\u516c\u958b\u3055\u308c\u305f\u3089\u72b6\u6cc1\u304c\u5909\u308f\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u305d\u308c\u307e\u3067\u306e\u3064\u306a\u304e\u306e\u74b0\u5883\u3068\u3057\u3066\u306f\u60aa\u304f\u306a\u3044\u74b0\u5883\u304b\u306a\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2025\/08\/24 \u8ffd\u8a18<\/h2>\n\n\n\n<p>gpt-oss-20b \u306e\u5834\u5408\u3060\u3068\u3001cpu-moe\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u4e0d\u8981\u3067\u3001\u8272\u3005\u8a66\u884c\u932f\u8aa4\u3057\u305f\u7d50\u679c\u3001\u4ee5\u4e0b\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u65b9\u304c\u9ad8\u901f\u3067\u52d5\u4f5c\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ExecStart=&lt;llama-server\u306e\u30d1\u30b9&gt; \\\n          -hf unsloth\/gpt-oss-20b-GGUF \\\n          --jinja \\\n          --n-gpu-layers 999 \\\n          -c 262144 \\\n          -fa \\\n          --host 0.0.0.0 \\\n          --api-key dummy<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u8a2d\u5b9a\u3060\u3068<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>llama-server&#91;7220]: prompt eval time =     259.17 ms \/    70 tokens (    3.70 ms per token,   270.09 tokens per second)\nllama-server&#91;7220]:        eval time =    5324.22 ms \/   372 tokens (   14.31 ms per token,    69.87 tokens per second)\nllama-server&#91;7220]:       total time =    5583.39 ms \/   442 tokens<\/code><\/pre>\n\n\n\n<p>\u3053\u308c\u304f\u3089\u3044\u306e\u751f\u6210\u901f\u5ea6\u304c\u51fa\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u8cb7\u3063\u305fEVO X2\u3067\u30ed\u30fc\u30ab\u30ebLLM\u3092\u52d5\u304b\u305d\u3046\u3068\u8272\u3005\u8a66\u3057\u3066\u307f\u3066\u3044\u307e\u3057\u305f\u3002 \u306a\u3069\u304c\u3088\u304f\u805e\u304f\u624b\u6bb5\u3067\u3057\u3087\u3046\u304b\u3002NVIDIA\u88fd\u306eGPU\u3067\u3042\u308c\u3070\u4e0a\u8a18\u306e\u3069\u308c\u3067\u3082\u5b89\u5b9a\u3057\u3066\u52d5\u304f\u3068\u601d\u3044\u307e\u3059\u3002\u3057\u304b\u3057EVO X2\u306fAMD\u88fd\u306eGPU\u306a\u305f\u3081\u5fae\u5999\u2026 <span class=\"read-more\"><a href=\"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/?p=2242\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":2244,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-2242","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/wp-content\/uploads\/2025\/08\/image.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4wwqG-Aa","_links":{"self":[{"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=\/wp\/v2\/posts\/2242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2242"}],"version-history":[{"count":7,"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=\/wp\/v2\/posts\/2242\/revisions"}],"predecessor-version":[{"id":2254,"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=\/wp\/v2\/posts\/2242\/revisions\/2254"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=\/wp\/v2\/media\/2244"}],"wp:attachment":[{"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/light-of-moe.ddo.jp\/~sakura\/diary\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}