-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblogBase.json
More file actions
1 lines (1 loc) · 30.4 KB
/
blogBase.json
File metadata and controls
1 lines (1 loc) · 30.4 KB
1
{"singlePage": ["link", "about"], "startSite": "08/26/2024", "filingNum": "", "onePageListNum": 15, "commentLabelColor": "#006b75", "yearColorList": ["#bc4c00", "#0969da", "#1f883d", "#A333D0"], "i18n": "CN", "themeMode": "manual", "dayTheme": "light", "nightTheme": "dark", "urlMode": "issue", "script": "<script src='https://maxchiron.github.io/Gmeek-plugins/GmeekTOC.js'></script><script src='https://maxchiron.github.io/Gmeek-plugins/lightbox.js'></script>", "style": "", "head": "", "indexScript": "", "indexStyle": "", "bottomText": "", "showPostSource": 1, "iconList": {"music": "M7.563 2.069A.75.75 0 0 1 8 2.75v10.5a.751.751 0 0 1-1.238.57L3.472 11H1.75A1.75 1.75 0 0 1 0 9.25v-2.5C0 5.784.784 5 1.75 5h1.723l3.289-2.82a.75.75 0 0 1 .801-.111ZM6.5 4.38 4.238 6.319a.748.748 0 0 1-.488.181h-2a.25.25 0 0 0-.25.25v2.5c0 .138.112.25.25.25h2c.179 0 .352.064.488.18L6.5 11.62Zm6.096-2.038a.75.75 0 0 1 1.06 0 8 8 0 0 1 0 11.314.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042 6.5 6.5 0 0 0 0-9.193.75.75 0 0 1 0-1.06Zm-1.06 2.121-.001.001a5 5 0 0 1 0 7.07.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734 3.5 3.5 0 0 0 0-4.95.75.75 0 1 1 1.061-1.061Z"}, "UTC": 8, "rssSplit": "sentence", "exlink": {"music": "https://maxchiron.github.io/Gmemp"}, "needComment": 1, "allHead": "<script src='https://maxchiron.github.io/Gmeek-plugins/GmeekVercount.js'></script>", "title": "MaxChiron Blog", "subTitle": "\u6c6a\u5468\u8c26\u8fd8\u8bb0\u5f97\u90a3\u5e74\u7b2c\u4e00\u6b21\u8bfb\u521b\u4e16\u7eaa\uff1a\u795e\u8bf4\u8981\u6709\u5149\uff0c\u5149\u4fbf\u6709\u4e86\u3002", "avatarUrl": "https://avatars.githubusercontent.com/u/85681332", "GMEEK_VERSION": "last", "email": "maxchiron@duck.com", "postListJson": {"P1": {"htmlDir": "docs/post/1.html", "labels": ["bin"], "postTitle": "Hello, Gmeek.", "postUrl": "post/1.html", "postSourceUrl": "https://github.com/maxchiron/maxchiron.github.io/issues/1", "commentNum": 0, "wordCount": 122, "description": "# Hello Gmeek\r\n\r\n> I would die one day. \r\n> Hope my outputs may not.\r\n\r\nThis is the first post with Gmeek framework.\r\n\r\n\ud83d\ude00 \u3002", "top": 0, "createdAt": 1724659439, "style": "", "script": "<script src='https://maxchiron.github.io/Gmeek-plugins/GmeekTOC.js'></script><script src='https://maxchiron.github.io/Gmeek-plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/85681332", "createdDate": "2024-08-26", "dateLabelColor": "#bc4c00"}, "P2": {"htmlDir": "docs/post/2.html", "labels": ["story"], "postTitle": "Fancy\u548c\u5341\u4e00\u6708\u7684\u96e8", "postUrl": "post/2.html", "postSourceUrl": "https://github.com/maxchiron/maxchiron.github.io/issues/2", "commentNum": 0, "wordCount": 1253, "description": "`Gmeek-html<audio controls autoplay><source src='https://maxchiron.github.io/Gmeek-files/issue2/Tomoko_Aran\u4e9c\u862d\u77e5\u5b50-Midnight_Pretenders_Instrumental.m4a' type='audio/mp4'></audio>`\r\n\r\n> '\u6211\u6e05\u695a\u5730\u77e5\u9053\uff0c\u6211\u6240\u4ed8\u51fa\u7684\u4e00\u5207\u90fd\u5c06\u5316\u4f5c\u96e8\u6c34\uff0c\u6d88\u5931\u5728\u5979\u7684\u56de\u5fc6\u4e2d\u3002", "top": 0, "createdAt": 1724668220, "style": "", "script": "<script src='https://maxchiron.github.io/Gmeek-plugins/GmeekTOC.js'></script><script src='https://maxchiron.github.io/Gmeek-plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/85681332", "createdDate": "2024-08-26", "dateLabelColor": "#bc4c00"}, "P3": {"htmlDir": "docs/post/3.html", "labels": ["story"], "postTitle": "\u4ece\u579f\u513f\u8def\u5230\u98de\u971e\u5317\u8def", "postUrl": "post/3.html", "postSourceUrl": "https://github.com/maxchiron/maxchiron.github.io/issues/3", "commentNum": 0, "wordCount": 763, "description": "`Gmeek-html<audio controls autoplay><source src='https://maxchiron.github.io/Gmeek-files/issue3/Youngso_Kim-Like_a_Star.m4a' type='audio/mp4'></audio>`\r\n\r\n> \u867d\u7136\u65f6\u95f4\u53ea\u8fc7\u53bb\u4e86\u4e0d\u8db315\u4e2a\u5c0f\u65f6\uff0c\u4f46\u6211\u5df2\u7ecf\u5fd8\u8bb0\u4e86\u4ece\u579f\u513f\u8def\u5411\u4e1c\u8fdb\u5165\u98de\u971e\u5317\u8def\u65f6\u7684\u90a3\u7f15\u6668\u5149\u3002", "top": 0, "createdAt": 1724805736, "style": "", "script": "<script src='https://maxchiron.github.io/Gmeek-plugins/GmeekTOC.js'></script><script src='https://maxchiron.github.io/Gmeek-plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/85681332", "createdDate": "2024-08-28", "dateLabelColor": "#bc4c00"}, "P4": {"htmlDir": "docs/post/4.html", "labels": ["tech"], "postTitle": "\u6570\u636e\u5907\u4efd\u6807\u51c6\u6d41\u7a0b", "postUrl": "post/4.html", "postSourceUrl": "https://github.com/maxchiron/maxchiron.github.io/issues/4", "commentNum": 0, "wordCount": 1912, "description": "### Step1 \u590d\u5236\r\n\r\n> \u4f18\u5148rsync\uff0c\u6b21\u9009cp\r\n\r\n#### rsync\r\n\r\n`rsync -av --sparse \u6e90\u76ee\u5f55/ \u76ee\u6807\u76ee\u5f55/`\r\n\r\n##### rsync\u8fdc\u7a0b\r\n\r\n`rsync -av --sparse --progress user@remote-host:/path/to/source/directory/ /path/to/local/destination/\r\n`\r\n\r\n\u5982\u9700\u8981\u542f\u7528\u4f20\u8f93\u65f6\u538b\u7f29\uff0c\u5219\u5c06-av\u6539\u4e3a-avz \uff08\u5c40\u57df\u7f51\u4e0b\u548c\u672c\u5730\u4e0d\u9700\u8981\u538b\u7f29\uff09\u3002", "top": 0, "createdAt": 1731381970, "style": "", "script": "<script src='https://maxchiron.github.io/Gmeek-plugins/GmeekTOC.js'></script><script src='https://maxchiron.github.io/Gmeek-plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/85681332", "createdDate": "2024-11-12", "dateLabelColor": "#bc4c00"}, "P7": {"htmlDir": "docs/post/7.html", "labels": ["tech"], "postTitle": "nginx\u90e8\u7f72\u524d\u7aef\u9879\u76ee\u65f6\u7684\u6ce8\u610f\u4e8b\u9879\u548c\u6743\u9650\u7ba1\u7406", "postUrl": "post/7.html", "postSourceUrl": "https://github.com/maxchiron/maxchiron.github.io/issues/7", "commentNum": 0, "wordCount": 1106, "description": "## \u4fee\u6539 nginx.conf \u6587\u4ef6\r\n\r\n> /etc/nginx/conf.d/nginx.conf\r\n\r\n```\r\nserver {\r\n listen 5002; # \u76d1\u542c\u7684\u7aef\u53e3\uff08\u524d\u7aef\u901a\u8fc7\u8be5\u7aef\u53e3\u8bbf\u95ee\uff09\r\n root /home/ma/rag_school/dist; # \u8bbe\u7f6e\u9759\u6001\u6587\u4ef6\u7684\u6839\u76ee\u5f55\r\n index index.html index.htm; # \u9ed8\u8ba4\u6587\u4ef6\r\n\r\n location / {\r\n try_files $uri $uri/ =404; # \u5c1d\u8bd5\u67e5\u627e\u8bf7\u6c42\u7684\u6587\u4ef6\uff0c\u627e\u4e0d\u5230\u5219\u8fd4\u56de 404\r\n }\r\n\r\n # Optional: \u5904\u7406\u9519\u8bef\u9875\u9762\r\n error_page 404 /404.html;\r\n location = /404.html {\r\n internal;\r\n }\r\n location /api/ {\r\n proxy_pass http://ip:5001; # \u4ee3\u7406\u5230\u65b0\u7684\u540e\u7aef\u670d\u52a1\u5668\r\n proxy_set_header Host $host; # \u8bbe\u7f6e Host \u5934\r\n proxy_set_header X-Real-IP $remote_addr; # \u8bbe\u7f6e\u5ba2\u6237\u7aef\u771f\u5b9e IP\r\n proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # \u8f6c\u53d1\u5ba2\u6237\u7aef IP\r\n proxy_set_header X-Forwarded-Proto $scheme; # \u8f6c\u53d1\u534f\u8bae\r\n }\r\n}\r\n```\r\n\r\n## \u4fee\u6539\u6e90\u7801\u76ee\u5f55\u6743\u9650\uff01\r\n\r\n### 1. \u67e5\u770b nginx \u7684\u8eab\u4efd\r\n```bash\r\nps aux | grep nginx\r\n\r\n# www-data 2497744 0.0 0.3 24592 9644 ? S 00:00 0:00 nginx: worker process\r\n# www-data 2497745 0.0 0.3 24592 9740 ? S 00:00 0:00 nginx: worker process\r\n```\r\n\r\n**\u786e\u5b9a\u4e86\u8eab\u4efd\u662f www-data**\r\n\r\n\u7136\u540e\uff1a\r\n\r\n```bash\r\nsudo chown -R www-data:www-data /home/ma/rag_school/dist\r\nsudo chmod +x /home /home/ma /home/ma/rag_school\r\n```\u3002", "top": 0, "createdAt": 1733910283, "style": "", "script": "<script src='https://maxchiron.github.io/Gmeek-plugins/GmeekTOC.js'></script><script src='https://maxchiron.github.io/Gmeek-plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/85681332", "createdDate": "2024-12-11", "dateLabelColor": "#bc4c00"}, "P8": {"htmlDir": "docs/post/8.html", "labels": ["tech"], "postTitle": "linux\u5b89\u88c5\u914d\u7f6egcc", "postUrl": "post/8.html", "postSourceUrl": "https://github.com/maxchiron/maxchiron.github.io/issues/8", "commentNum": 0, "wordCount": 1071, "description": "## Ubuntu24.04 LTS \u9ed8\u8ba4\u4e3agcc14\uff0c\u82e5\u8981\u5b89\u88c5\u5e76\u4f7f\u7528gcc13\uff1a\r\n\r\n\u5b89\u88c5 GCC 13 \u5e76\u4fdd\u7559 GCC 14 \u53ef\u4ee5\u7ed9\u4f60\u7075\u6d3b\u6027\uff0c\u540c\u65f6\u786e\u4fdd\u4f60\u7684\u7cfb\u7edf\u7a33\u5b9a\u3002", "top": 0, "createdAt": 1735537153, "style": "", "script": "<script src='https://maxchiron.github.io/Gmeek-plugins/GmeekTOC.js'></script><script src='https://maxchiron.github.io/Gmeek-plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/85681332", "createdDate": "2024-12-30", "dateLabelColor": "#bc4c00"}, "P9": {"htmlDir": "docs/post/9.html", "labels": ["tech"], "postTitle": "Linux\u5b89\u88c5cmake\u6307\u5b9a\u7248\u672c", "postUrl": "post/9.html", "postSourceUrl": "https://github.com/maxchiron/maxchiron.github.io/issues/9", "commentNum": 0, "wordCount": 286, "description": "1. apt \u5378\u8f7d\u5f53\u524dcmake\r\n2. [https://cmake.org/files](https://cmake.org/files/) \u9009\u62e9\u7248\u672c\uff0c\u4e0b\u8f7d.sh\u81ea\u52a8\u5b89\u88c5\u811a\u672c\r\n3. \u5b89\u88c5\u65f6\u5e94\u7528 ` --prefix=/usr/local` \u6307\u5b9a\u5b89\u88c5\u4f4d\u7f6e\r\n4. \u5b89\u88c5\u65f6\u6309\u7167\u63d0\u793a\uff0c\u4f7f\u7528 `subdir` \uff0c\u4ece\u800c\u5c06cmake\u5b89\u88c5\u5728 `/usr/local/cmake-xxx/` \u4e0b\uff0c\u65b9\u4fbf\u533a\u5206\u7248\u672c\u548c\u5378\u8f7d\r\n5. \u5b89\u88c5\u63d0\u793a\u6dfb\u52a0\u73af\u5883\u53d8\u91cf\u3002", "top": 0, "createdAt": 1735784229, "style": "", "script": "<script src='https://maxchiron.github.io/Gmeek-plugins/GmeekTOC.js'></script><script src='https://maxchiron.github.io/Gmeek-plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/85681332", "createdDate": "2025-01-02", "dateLabelColor": "#0969da"}, "P10": {"htmlDir": "docs/post/10.html", "labels": ["tech", "todo"], "postTitle": "llama.cpp\u5b89\u88c5\uff08windows & linux\uff09with CUDA \u52a0\u901f", "postUrl": "post/10.html", "postSourceUrl": "https://github.com/maxchiron/maxchiron.github.io/issues/10", "commentNum": 0, "wordCount": 336, "description": "\r\n> \u5c06\u5e02\u9762\u4e0a\u51e0\u4e4e\u6240\u6709\u7684LLM\u90e8\u7f72\u65b9\u6848\u90fd\u6d4b\u8bd5\u4e86\u4e00\u904d\u4e4b\u540e\uff08ollama, lm-studio, vllm, huggingface, lmdeploy\uff09\uff0c\u53d1\u73b0\u53ea\u6709llama.cpp\u7684\u63a8\u7406\u901f\u5ea6\u7b26\u5408\u4f01\u4e1a\u8981\u6c42\u3002", "top": 0, "createdAt": 1735784754, "style": "", "script": "<script src='https://maxchiron.github.io/Gmeek-plugins/GmeekTOC.js'></script><script src='https://maxchiron.github.io/Gmeek-plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/85681332", "createdDate": "2025-01-02", "dateLabelColor": "#0969da"}, "P11": {"htmlDir": "docs/post/11.html", "labels": ["tech"], "postTitle": "Windows\u914d\u7f6eCUDA & CUDNN", "postUrl": "post/11.html", "postSourceUrl": "https://github.com/maxchiron/maxchiron.github.io/issues/11", "commentNum": 0, "wordCount": 6076, "description": "# CUDA\u4e0eCUDNN\u5728Windows\u4e0b\u7684\u5b89\u88c5\u4e0e\u914d\u7f6e\uff08\u8d85\u7ea7\u8be6\u7ec6\u7248\uff09\r\n\r\n\u672c\u6587\u94fe\u63a5\uff1a[https://blog.csdn.net/YYDS\\_WV/article/details/137825313](https://blog.csdn.net/YYDS_WV/article/details/137825313)\r\n\r\n- - -\r\n\r\n\u535a\u4e3b\u6700\u8fd1\u5728\u5b66\u4e60\u6df1\u5ea6\u795e\u7ecf\u7f51\u7edc\u6a21\u578b\u65f6\uff0c\u7528CPU\u8dd1\u7684\u901f\u5ea6\u592a\u4f4e\u4e8e\u662f\u60f3\u7740\u4f7f\u7528GPU\uff0c\u4f7f\u7528GPU\u5c31\u79bb\u4e0d\u5f00CUDA\u4ee5\u53caCUDNN\u7684\u4e0b\u8f7d\uff0c\u535a\u4e3b\u82b1\u4e86\u4e24\u5929\u65f6\u95f4\u770b\u4e86\u8bb8\u591a\u535a\u5ba2\uff0c\u8d70\u4e86\u4e00\u4e9b\u5f2f\u8def\u6700\u7ec8\u6210\u529f\u5b89\u88c5\uff0c\u73b0\u5728\u5c06\u4ee5\u81ea\u5df1\u5b89\u88c5\u8fc7\u7a0b\u4e3a\u4f8b\uff0c\u5bf9CUDA\u548cCUDNN\u7684\u5b89\u88c5\u8fdb\u884c\u8be6\u7ec6\u4ecb\u7ecd\uff0c\u8ba9\u5927\u5bb6\u5c11\u6d6a\u8d39\u4e9b\u65f6\u95f4\r\n\r\n## \u4e00\u3001\u5b89\u88c5\u524d\u671f\u51c6\u5907\r\n\r\n### \uff081\uff09\u67e5\u770b\u7535\u8111\u652f\u6301CUDA\u7248\u672c\r\n\r\n#### 1\uff09\u65b9\u6cd5\u4e00\uff0c\u7ec8\u7aef\u67e5\u770b\r\n\r\n1.\u540c\u65f6\u70b9\u51fbwin+r\uff0c\u8f93\u5165cmd\u70b9\u51fb\u201c\u786e\u5b9a\u201d\uff0c\u8fdb\u5165\u7ec8\u7aef\u7a97\u53e3\uff0c\u8f93\u5165nvidia\\-smi[\u67e5\u770bCUDA\u7248\u672c](https://so.csdn.net/so/search?q=%E6%9F%A5%E7%9C%8BCUDA%E7%89%88%E6%9C%AC&spm=1001.2101.3001.7020)\r\n\r\n\r\n\r\n\u5982\u56fe\u6240\u793a\uff0c\u535a\u4e3b\u7684CUDA\u652f\u6301\u7248\u672c\u4e3a12.2\r\n\r\n\r\n\r\n#### 2\uff09\u65b9\u6cd5\u4e8c\uff0cNVIDIA\u63a7\u5236\u9762\u677f\u67e5\u770b\r\n\r\n1.\u6253\u5f00NVIDIA\u63a7\u5236\u9762\u677f\r\n\r\n\r\n\r\n2.\u6253\u5f00\u540e\u70b9\u51fb\u201c\u5e2e\u52a9\u201d\uff0c\u70b9\u51fb\u201c\u7cfb\u7edf\u4fe1\u606f\u201d\r\n\r\n\r\n\r\n3.\u6253\u5f00\u7cfb\u7edf\u4fe1\u606f\u540e\u70b9\u51fb\u201c\u7ec4\u4ef6\u201d\uff0c\u67e5\u770bNVIDIA CUDA\u652f\u6301\u7248\u672c\uff0c\u4e0b\u8f7d\u65f6\u9009\u62e9\u524d\u4e24\u4f4d\u5373\u53ef\uff0c\u6bd4\u5982\u8bf4\u535a\u4e3bCUDA 12.2.146 \u90a3\u4e48\u53ea\u8981\u4e0b\u8f7d CUDA 12.2.X \u5373\u53ef\u4f7f\u7528\r\n\r\n\r\n\r\n### \uff082\uff09\u6ce8\u518cNVIDIA\u8d26\u53f7\r\n\r\n1.\u8fdb\u5165NVIDIA\u5b98\u7f51\uff0c\u70b9\u51fb\u201c\u7acb\u5373\u52a0\u5165\u201d\u8fdb\u884c\u6ce8\u518c\r\n\r\n\r\n\r\n2.\u968f\u540e\u8f93\u5165\u81ea\u5df1\u7684\u90ae\u7bb1\u5b8c\u6210\u767b\u5f55\u5373\u53ef\r\n\r\n## \u4e8c\u3001CUDA\u7684\u5b89\u88c5\u4e0e\u914d\u7f6e\r\n\r\n### \uff081\uff09CUDA\u7684\u4e0b\u8f7d\r\n\r\n1.CUDA\u5b98\u7f51\u4e0b\u8f7d\u5730\u5740\uff1a[CUDA Toolkit Archive](https://developer.nvidia.com/cuda-toolkit-archive 'CUDA Toolkit Archive')\r\n\r\n2.\u9009\u62e9\u7535\u8111\u652f\u6301CUDA\u7248\u672c\u8fdb\u884c\u4e0b\u8f7d\uff0c\u56e0\u4e3a\u535a\u4e3b\u662f12.2.146,\u6240\u4ee5\u53ea\u8981\u662f CUDA Toolkit 12.2.X \u90fd\u53ef\u4ee5\u8fdb\u884c\u4e0b\u8f7d,\u535a\u4e3b\u5728\u8fd9\u91cc\u9009\u62e9\u7684\u662f CUDA Toolkit 12.2.1\r\n\r\n\r\n\r\n3.\u70b9\u51fb\u540e\u7b49\u5f85\u4e00\u4f1a\u5373\u53ef\u8fdb\u884c\u4e0b\u8f7d\uff0c\u56e0\u4e3a\u535a\u4e3b\u662fWindows\u64cd\u4f5c\u7cfb\u7edf\u6240\u4ee5\u9009\u62e9\u201cWindows\u201d\uff0c\u9009\u62e9\u672c\u5730\u4e0b\u8f7d\u201cexe(local)\u201d\uff0c\u6700\u540e\u201cDownload\u201d\u8fdb\u884c\u672c\u5730\u4e0b\u8f7d\r\n\r\n\r\n\r\n4.\u4e0b\u8f7d\u5b8c\u6210\u540e\u8fd0\u884cexe\u6587\u4ef6\u8fdb\u884c\u4e0b\u8f7d\r\n\r\n\r\n\r\n### \uff082\uff09CUDA\u7684\u5b89\u88c5\u4e0e\u914d\u7f6e\r\n\r\n1.**\u9009\u62e9CUDA\u4e0b\u8f7d\u8def\u5f84\uff1a**\u8fd9\u91cc\u535a\u4e3b\u5efa\u8bae\u6309\u7167\u6587\u4ef6\u63d0\u4f9b\u8def\u5f84\u4e0b\u8f7d\u5230C\u76d8\uff0c\u56e0\u4e3a\u535a\u4e3b\u7b2c\u4e00\u6b21\u4e0b\u8f7d\u65f6\u9009\u62e9\u662fD\u76d8\u7ed3\u679c\u5bfc\u81f4\u5b89\u88c5\u5931\u8d25\uff0c\u8fd9\u91cc\u6211\u4eec\u9009\u62e9C:\\\\User\\\\25896\\\\AppData\\\\Local\\\\Temp\\\\cuda\r\n\r\n\r\n\r\n2.**\u7cfb\u7edf\u68c0\u67e5\uff1a**\u9009\u62e9\u201c\u540c\u610f\u5e76\u7ee7\u7eed\u201d\r\n\r\n\r\n\r\n3.**\u8bb8\u53ef\u534f\u8bae\uff1a**\u9009\u62e9\u201c\u81ea\u5b9a\u4e49\u201d\uff0c\u7136\u540e\u70b9\u51fb\u201c\u4e0b\u4e00\u6b65\u201d\r\n\r\n\r\n\r\n4.**\u9009\u9879\uff0c\u81ea\u5b9a\u4e49\u5b89\u88c5\u9009\u9879\uff1a**CUDA\u5fc5\u9009\uff0c\u70b9\u51fb\u52a0\u53f7\uff0c\u5982\u679cOther components\u548cDriver components\u7684\u65b0\u7248\u672c\u6bd4\u5f53\u524d\u7248\u672c\u4f4e\u7684\u8bdd\u5c31\u4e0d\u7528\u52fe\u9009\uff0c\u5426\u5219\u4f1a\u5bfc\u81f4\u5b89\u88c5\u5931\u8d25\r\n\r\n\r\n\r\n\u8fd9\u91cc\u535a\u4e3bOther components\u548cDriver components\u7684\u5f53\u524d\u7248\u672c\u9ad8\u4e8e\u6216\u7b49\u4e8e\u65b0\u7248\u672c\u53f7\u6240\u4ee5\u4e0d\u52fe\u9009\uff0c\u7136\u540e\u70b9\u51fb\u201c\u4e0b\u4e00\u6b65\u201d\r\n\r\n\u6ce8\u610f\uff1a\u4e0d\u540c\u7248\u672c\u7684CUDA\u76f8\u5173\u7684\u5b89\u88c5\u9009\u62e9\u7684\u7ec4\u4ef6\u4e0d\u540c\uff0c\u5927\u5bb6\u6ce8\u610f\u7504\u522b\r\n\r\n5.**\u9009\u9879\uff0c\u81ea\u5b9a\u4e49\u5b89\u88c5\u4f4d\u7f6e\uff1a**\u53ef\u4ee5\u9009\u62e9 CUDA Development \u548cCUDA Documentation\u6587\u4ef6\u7684\u5b89\u88c5\u8def\u5f84\uff0c\u8fd9\u91cc\u535a\u4e3b\u4e5f\u662f\u9009\u62e9\u63d0\u4f9b\u7684\u8def\u5f84\uff0c\u8fd9\u91cc\u6211\u4eec\u9009\u62e9\u7684\u662fC:\\\\Program Files\\\\NVIDIA Computing Toolkit\\\\CUDA\\\\v12.2,\u968f\u540e\u70b9\u51fb\u201c\u4e0b\u4e00\u6b65\u201d\u8fdb\u884c\u5b89\u88c5\uff0c\u7b49\u5f85\u5b89\u88c5\u6210\u529f\r\n\r\n\r\n\r\n### \uff083\uff09\u68c0\u67e5CUDA\u662f\u5426\u5b89\u88c5\u6210\u529f\r\n\r\n\u5b89\u88c5\u6210\u529f\u540e\uff0c\u540c\u65f6\u70b9\u51fbwin+r\uff0c\u8f93\u5165cmd\u8fdb\u5165\u7ec8\u7aef\u7a97\u53e3\u8f93\u5165nvcc -V\uff08\u6ce8\u610f\u7528\u5927\u5199V\uff0c\u535a\u4e3b\u4f7f\u7528\u5c0f\u5199v\u65e0\u6cd5\u6210\u529f\u8fd0\u884c\uff09\uff0c\u82e5\u7ed3\u679c\u5982\u56fe\u6240\u793a\u5219\u8bc1\u660eCUDA\u5b89\u88c5\u6210\u529f\r\n\r\n\r\n\r\n### \uff084\uff09CUDA\u5b89\u88c5\u5931\u8d25\r\n\r\n\u82e5nvcc -V\u65e0\u6cd5\u8fd4\u56de\u7ed3\u679c\uff0c\u5219\u8868\u660eCUDA\u5b89\u88c5\u5931\u8d25\r\n\r\n#### 1\uff09\u65b9\u6cd5\u4e00\uff0c\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\r\n\r\n1.\u6211\u4eec\u6253\u5f00\u201c\u7f16\u8f91\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u201d\r\n\r\n\r\n\r\n2.\u70b9\u51fb\u201c\u73af\u5883\u53d8\u91cf\u201d\r\n\r\n\r\n\r\n3.\u67e5\u770b\u7cfb\u7edf\u53d8\u91cf\u4e2d\u662f\u5426\u6709\u53d8\u91cfCUDA\\_PATH\u548cCUDA\\_PATH\\_V12\\_2\uff08\u4e0d\u540c\u7248\u672cV\u540e\u6570\u5b57\u4e0d\u540c\uff09\uff0c\u5e76\u68c0\u67e5\u8def\u5f84\u662f\u5426\u6b63\u786e\r\n\r\n\r\n\r\n\u82e5\u6ca1\u6709\u5219\u6dfb\u52a0\u4e24\u53d8\u91cf\u5e76\u6dfb\u52a0\u6b63\u786e\u8def\u5f84\uff1b\u82e5\u9519\u8bef\u5219\u4fee\u6539\u6210\u6b63\u786e\u8def\u5f84\uff08\u8def\u5f84\u4e3a**\u9009\u9879\uff0c\u81ea\u5b9a\u4e49\u5b89\u88c5\u4f4d\u7f6e**\u65f6\u9009\u62e9\u7684\u8def\u5f84\uff09\r\n\r\n4.\u67e5\u770b\u7cfb\u7edf\u53d8\u91cf\u4e2d\u7684Path\u662f\u5426\u6709v12.2\\\\bin\uff0c\u82e5\u6ca1\u6709\u5219\u6dfb\u52a0\u6b63\u786e\u8def\u5f84\uff1b\u82e5\u9519\u8bef\u5219\u4fee\u6539\u6210\u6b63\u786e\u8def\u5f84\uff08\u8def\u5f84\u4e3a**\u9009\u9879\uff0c\u81ea\u5b9a\u4e49\u5b89\u88c5\u4f4d\u7f6e**\u65f6\u9009\u62e9\u7684\u8def\u5f84\uff09\r\n\r\n\r\n\r\n#### 2\uff09\u65b9\u6cd5\u4e8c\uff0c\u91cd\u88c5CUDA\r\n\r\n1.**\u5378\u8f7dCUDA\uff1a**\u6253\u5f00\u201c\u63a7\u5236\u9762\u677f\u201d\uff0c\u70b9\u51fb\u201c\u7a0b\u5e8f\u201d\uff0c\u70b9\u51fb\u201c\u7a0b\u5e8f\u548c\u529f\u80fd\u201d\r\n\r\n\r\n\r\n\r\n\r\n\u627e\u5230\u201cNVIDIA CUDA\u201d\u76f8\u5173\u7a0b\u5e8f\uff0c\u53f3\u51fb\u8fdb\u884c\u5378\u8f7d\r\n\r\n\r\n\r\n2.**\u5220\u9664\u7cfb\u7edf\u53d8\u91cf\uff1a**\u6253\u5f00\u201c\u7f16\u8f91\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u201d\uff0c\u70b9\u51fb\u201c\u73af\u5883\u53d8\u91cf\u201d\uff0c\u5220\u9664\u7cfb\u7edf\u53d8\u91cf\u4e2dCUDA\\_PATH\u548cCUDA\\_PATH\\_V12\\_2\uff0c\u4ee5\u53ca\u7cfb\u7edf\u53d8\u91cfPath\u4e2d\u540d\u4e3a\u201cNVIDIA GPU Computing Toolkit\u201d\u76f8\u5173\u53d8\u91cf\r\n\r\n\r\n\r\n\r\n\r\n3.**CUDA\u4e0b\u8f7d\uff1a**\u6309\u7167 \u201c\u4e8c\u3001CUDA\u7684\u5b89\u88c5\u4e0e\u914d\u7f6e\u201d\u00a0\u91cd\u65b0\u914d\u7f6e\uff0c\u535a\u4e3b\u5f53\u65f6\u56e0\u4e3a\u4e0bD\u76d8\u5bfc\u81f4CUDA\u5b89\u88c5\u5931\u8d25\uff0c\u6240\u4ee5\u8fdb\u884c\u5378\u8f7d\u91cd\u65b0\u4e0b\u8f7d\u5230C\u76d8\u624d\u6210\u529f\u5b89\u88c5CUDA\r\n\r\n## \u4e09\u3001CUDNN\u7684\u5b89\u88c5\u4e0e\u914d\u7f6e\r\n\r\n### \uff081\uff09CUDNN\u7684\u4e0b\u8f7d\r\n\r\n1.CUDNN\u5b98\u7f51\u4e0b\u8f7d\u5730\u5740\uff1a[CUDNN Archive](https://developer.nvidia.com/rdp/cudnn-archive 'CUDNN Archive')\r\n\r\n2.\u9009\u62e9CUDNN\u652f\u6301CUDA\u7248\u672c\u4e0b\u8f7d\uff0c\u535a\u4e3b\u4e0b\u8f7d\u7684CUDA\u7248\u672c\u4e3a12.2\u5728\u8fd9\u91cc\u9009\u62e9\u7684CUDNN\u7248\u672c\u4e3av8.9.3\r\n\r\n\r\n\r\n3.\u56e0\u4e3a\u535a\u4e3b\u662fWindows\u7cfb\u7edf\u6240\u4ee5\u9009\u62e9\u201cLocal Installer of Windows\u201d\u8fdb\u884c\u4e0b\u8f7d\r\n\r\n### \uff082\uff09CUDNN\u7684\u5b89\u88c5\u4e0e\u914d\u7f6e\r\n\r\n1.\u4e0b\u8f7d\u597dCUDNN\u7684\u538b\u7f29\u5305\u540e\u8fdb\u884c\u89e3\u538b\uff0c\u5f97\u5230\u5982\u56fe\u6240\u793a\u6587\u4ef6\r\n\r\n\r\n\r\n2.\u6253\u5f00\\\\NVIDIA Computing Toolkit\\\\CUDA\\\\v12.2\uff0c\u5c06CUDNN\u5bf9\u5e94bin\u3001lib\u3001include\u4e09\u4e2a\u6587\u4ef6\u4e0eCUDA\u5bf9\u5e94\u7684bin\u3001lib\u3001include\u8fdb\u884c\u5408\u5e76\uff0c\u5c06CUDNN\u5185\u6587\u4ef6\u5168\u90e8\u590d\u5236\u5230CUDA\u5bf9\u5e94\u6587\u4ef6\u5939\u5185\r\n\r\n\r\n\r\n\u5982\u56fe\u535a\u4e3b\u5c06CUDNN\\\\lib\\\\x64\u7684\u6587\u4ef6\u5168\u90e8\u590d\u5236\u5230CUDA\\\\v12.2\\\\lib\\\\x64\u4e2d\r\n\r\n3.\u6253\u5f00\u201c\u7f16\u8f91\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u201d\uff0c\u70b9\u51fb\u201c\u73af\u5883\u53d8\u91cf\u201d\uff0c\u70b9\u51fb\u201c\u7cfb\u7edf\u53d8\u91cf\u201d\u4e2dPath\u6dfb\u52a0C:\\\\Program Files\\\\NVIDIA Computing Toolkit\\\\CUDA\\\\v12.2\\\\lib\u548cv12.2\\\\libnvvp\u4ee5\u53cav12.2\\\\include\uff0c\u70b9\u51fb\u201c\u786e\u5b9a\u201d\u5b8c\u6210\u914d\u7f6e\r\n\r\n\r\n\r\n### \uff083\uff09\u68c0\u67e5CUDNN\u662f\u5426\u5b89\u88c5\u6210\u529f\r\n\r\n\u6253\u5f00C:\\\\Program Files\\\\NVIDIA Computing Toolkit\\\\CUDA\\\\v12.2\\\\extras\\\\demo\\_suite\uff0c\u67e5\u770b\u662f\u5426\u6709\u6587\u4ef6bandwidthTest.exe\u4ee5\u53cadeviceQuery.exe\uff0c\u82e5\u5b58\u5728\u5219\u5728\u8be5\u6587\u4ef6\u4e2d\u6253\u5f00cmd\u8fd0\u884c\u4e24.exe\u6587\u4ef6\r\n\r\n\r\n\r\n\u8fd0\u884cbandwidthTest.exe\u7ed3\u679c\r\n\r\n\r\n\r\n\u8fd0\u884cdeviceQuery.exe\u7ed3\u679c\r\n\r\n\r\n\r\n\u82e5\u90fd\u80fd\u6210\u529f\u8fd0\u884c\u5c31\u606d\u559c\u4f60CUDNN\u5b89\u88c5\u6210\u529f\u4e86\u3002", "top": 0, "createdAt": 1736234796, "style": "", "script": "<script src='https://maxchiron.github.io/Gmeek-plugins/GmeekTOC.js'></script><script src='https://maxchiron.github.io/Gmeek-plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/85681332", "createdDate": "2025-01-07", "dateLabelColor": "#0969da"}, "P12": {"htmlDir": "docs/post/12.html", "labels": ["tech"], "postTitle": "B\u7ad9\u89c6\u9891\u6279\u91cf\u4e0b\u8f7d", "postUrl": "post/12.html", "postSourceUrl": "https://github.com/maxchiron/maxchiron.github.io/issues/12", "commentNum": 0, "wordCount": 1026, "description": "\n> [https://www.bilibili.com/opus/927702172755296257](https://www.bilibili.com/opus/927702172755296257)\n\n## Step 1\n\n\u8fdb\u5165\u5f85\u4e0b\u8f7d\u9875\u9762\u3002", "top": 0, "createdAt": 1740014105, "style": "", "script": "<script src='https://maxchiron.github.io/Gmeek-plugins/GmeekTOC.js'></script><script src='https://maxchiron.github.io/Gmeek-plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/85681332", "createdDate": "2025-02-20", "dateLabelColor": "#0969da"}, "P13": {"htmlDir": "docs/post/13.html", "labels": ["tech", "note"], "postTitle": "bash\u547d\u4ee4", "postUrl": "post/13.html", "postSourceUrl": "https://github.com/maxchiron/maxchiron.github.io/issues/13", "commentNum": 0, "wordCount": 839, "description": "\n> \ud83d\ude00 \u90fd\u662f\u8dd1\u901a\u8fc7\u7684bash\u547d\u4ee4\u3002", "top": 0, "createdAt": 1740014450, "style": "", "script": "<script src='https://maxchiron.github.io/Gmeek-plugins/GmeekTOC.js'></script><script src='https://maxchiron.github.io/Gmeek-plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/85681332", "createdDate": "2025-02-20", "dateLabelColor": "#0969da"}, "P14": {"htmlDir": "docs/post/14.html", "labels": ["tech", "note"], "postTitle": "\u7b14\u8bb0\uff1amarp vscode", "postUrl": "post/14.html", "postSourceUrl": "https://github.com/maxchiron/maxchiron.github.io/issues/14", "commentNum": 0, "wordCount": 786, "description": "## \u521b\u5efa\u53cc\u680f\u9875\n\n\u58f0\u660e\uff1a\n```html\n<!-- two column style -->\n<style>\n.container{\n display: flex;\n}\n.col{\n flex: 1;\n}\n</style>\n```\n\n\u4f7f\u7528\uff1a\n```html\n<div class='container'>\n <div class='col'>\n Column 1 Content\n </div>\n <div class='col'>\n Column 2 Content\n </div>\n</div>\n```\n\n## \u8d85\u5c0f\u5b57\uff08\u811a\u6ce8\uff09\n\n```html\n<br><br><br><span style='font-size: 15px;'>\u8d85\u5c0f\u5b57\u5185\u5bb9</span>\n```\n\n## \u4e0a\u6807\uff08\u7d22\u5f15|\u5f15\u7528\uff09\n\n```html\n<sup>1</sup>\n```\n\n## \u5185\u5d4cmermaid\n\n```html\n<!-- mermaid.js -->\n<script src='https://unpkg.com/mermaid@10.5.0/dist/mermaid.js'></script>\n<script>mermaid.initialize({startOnLoad:true, theme:'forest'});</script>\n\n<pre class='mermaid'>\n %%{init: { 'theme': 'forest' }}%%\n graph LR\n A[\u8f93\u5165\u95ee\u9898] --> B(( LLM ))\n B --> C[\u56de\u7b54]\n D[\u8f93\u5165\u95ee\u9898] --> E(( R M ))\n E --> F[\u601d\u8003\u8fc7\u7a0b + \u56de\u7b54]\n</pre>\n```\u3002", "top": 0, "createdAt": 1740709445, "style": "", "script": "<script src='https://maxchiron.github.io/Gmeek-plugins/GmeekTOC.js'></script><script src='https://maxchiron.github.io/Gmeek-plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/85681332", "createdDate": "2025-02-28", "dateLabelColor": "#0969da"}, "P15": {"htmlDir": "docs/post/15.html", "labels": ["tech", "note"], "postTitle": "\u914d\u7f6efrp\u5185\u7f51\u7a7f\u900f", "postUrl": "post/15.html", "postSourceUrl": "https://github.com/maxchiron/maxchiron.github.io/issues/15", "commentNum": 0, "wordCount": 2285, "description": "## \u4e0b\u8f7dfrp\n\nhttps://github.com/fatedier/frp/releases\n\n## \u9632\u706b\u5899\u653e\u884c\n\n> \u5373\u4fbfufw\u672a\u542f\u7528\uff0ciptables\u548cnft\u4ecd\u6709\u53ef\u80fd\u8fdb\u884c\u4e86\u62e6\u622a\u3002", "top": 0, "createdAt": 1745023828, "style": "", "script": "<script src='https://maxchiron.github.io/Gmeek-plugins/GmeekTOC.js'></script><script src='https://maxchiron.github.io/Gmeek-plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/85681332", "createdDate": "2025-04-19", "dateLabelColor": "#0969da"}, "P16": {"htmlDir": "docs/post/16.html", "labels": ["note"], "postTitle": "yt-dlp\u4f7f\u7528\u7ecf\u9a8c", "postUrl": "post/16.html", "postSourceUrl": "https://github.com/maxchiron/maxchiron.github.io/issues/16", "commentNum": 0, "wordCount": 386, "description": "\u63d2\u4ef6\u5b89\u88c5\u4f4d\u7f6e plugin install location\nwindows: `C:\\Users\\Administrator\\.config\\yt-dlp\\plugins`\n\n\u4e0b\u8f7d\u5e76\u4fdd\u5b58\u65e5\u5fd7\uff1a\n`yt-dlp -ciwv -R infinite -t sleep --cookies ..\\yt-dlp_cookies.txt -o 'shorts/%(release_date)s-%(id)s-%(title)s.%(ext)s' --extractor-args 'youtubepot-bgutilhttp:base_url=http://127.0.0.1:4416' https://www.youtube.com/@cheerssports/shorts 2>&1 | Tee-Object -FilePath yt-dlp_log-shorts.log`\u3002", "top": 0, "createdAt": 1750747001, "style": "", "script": "<script src='https://maxchiron.github.io/Gmeek-plugins/GmeekTOC.js'></script><script src='https://maxchiron.github.io/Gmeek-plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/85681332", "createdDate": "2025-06-24", "dateLabelColor": "#0969da"}}, "singeListJson": {}, "labelColorDict": {"bible": "#7B8F6A", "bin": "#E9D8B8", "bug": "#d73a4a", "diary": "#D7C0D3", "documentation": "#0075ca", "duplicate": "#cfd3d7", "enhancement": "#a2eeef", "god": "#DBDA11", "good first issue": "#7057ff", "help wanted": "#008672", "invalid": "#e4e669", "note": "#006b75", "question": "#d876e3", "story": "#F9D0C4", "tech": "#4E9A65", "todo": "#4445D7", "wontfix": "#ffffff"}, "displayTitle": "MaxChiron Blog", "faviconUrl": "https://avatars.githubusercontent.com/u/85681332", "ogImage": "https://avatars.githubusercontent.com/u/85681332", "primerCSS": "<link href='https://mirrors.sustech.edu.cn/cdnjs/ajax/libs/Primer/21.0.7/primer.css' rel='stylesheet' />", "homeUrl": "https://maxchiron.github.io", "prevUrl": "disabled", "nextUrl": "disabled"}