text-generation-webui Python製 主ã«ãªã¼ãã³ãªè¨èªã¢ãã«åã stable-diffusion-web-uiã¨åãç«ã¡ä½ç½®ãç®æãã¦ããããã æ®éã«ChatGPTã£ã½ãã¤ããã¨ããããã¯ããªã¼ãã³ã½ã¼ã¹ã®è¨èªã¢ãã«ãè²ã 試ããããç´°ãããã©ã¡ã¼ã¿è¨å®ãããããã¬ã¼ãã³ã°ãããããå°ãå°é家åãã«æãããUIç¨æãããã¿ãããªæãã«è¿ãã¨æãã ãªã®ã§ãä»åã®ç®çã¨ã¯ã¡ãã£ã¨ç«ã¡ä½ç½®ãéãã¨ã¯æãã¤ã¤ããä»ã¾ã§è§¦ã£ã¦ããªãã£ãã®ããã£ã¦ãããã触ã£ã¦ã¿ãã ã¤ã³ã¹ãã¼ã« Windows/Linux/macOS/WSLåãã«ã¯ã³ã¯ãªãã¯ã§ãã¼ã«ã«ã§å®è¡ã§ããã¤ã³ã¹ãã¼ã©ãç¨æããã¦ããã®ã ãã©ãä¸ãè¦ã¦ãã¨condaã¨ã使ã£ã¦ãã¿ãããå人çã«ã¯condaãã°ãã¼ãã«ã«ã¤ã³ã¹ãã¼ã«ãããã¨ã«èºèºããã¨ããããã£ã¦ãä»ã®æ¹æ³ã¯ãªãããªã¼ã¨ããã£ã¦ããDockerã§ã§
text-generation-webui ãã¤ãã®npakaããã®å¾è¿½ãè¨äºã§ããnpakaãããç´ ã®Windowsã§ã»ããã¢ãããã¦ããã®ã«å¯¾ãã¦ãLinux + Dockerã§ã»ããã¢ãããã¾ãã ã»ããã¢ããæ¹æ³ Linux(Ubuntu22.04)åæã§ããWindows(WSL2ï¼ã§ãåãæ°ããã¾ããMacã¯åãããªãã§ãï¼ã ãããï¼ã Dockerã»ããã¢ãã Dockerã®ã¤ã³ã¹ãã¼ã«ã¯ã以ä¸è¨äºåç §ãã ããï¼éã«çç¥ï¼ ã»ããã¢ãã git lfsãã»ããã¢ãããã¾ãã
次ã ã¨çºè¡¨ããããªã¼ãã³ãªæ¥æ¬èªå¤§è¦æ¨¡ã¢ãã« ã©ããªã£ã¦ããã®ï¼ï¼ã¨ããæãã§ãããã æããnpakaããã¯ããã£ããGoogle Colabã§åããã¦ããã£ãããã¾ãã ãã ãGoogle Colabã ã¨æ¯åã¢ãã«ã®ãã¦ã³ãã¼ãã大å¤ãªã®ã§ããã¼ã«ã«ã§Docker使ã£ã¦æ軽ã«åãããã¨ãããªãã¨ãããã¨ã§ãã£ã¦ã¿ã¾ããã 以ä¸GitHubã®ãªãã¸ããªã«Dockerfileã¨ãµã³ãã«ããã°ã©ã ãããã¦ãã¾ãããã£ããã£ã½ããã¨ãã§ããããã«ãã¦ãã¾ãã ä¸è¨ã§ããµã¤ãã¼ã¨ã¼ã¸ã§ã³ãã¨ãªã³ãã®LLMã両æ¹åãã¾ãã 使ç¨ç°å¢ åæã¨ãªãç°å¢ã§ãã使ç¨ãã¦ããPCã®ã¹ããã¯ã¯ä»¥ä¸ã§ãã é ç® å 容
Dockerã§GPUå¦ç¿ç°å¢æ§ç¯ èæ¯ ãã£ã¼ãã©ã¼ãã³ã°ã§ãã¼ã«ã«PCã®GPUã使ã£ãå¦ç¿ç°å¢ãæ§ç¯ããçµé¨ã®ãã人ã¯ãä¸åº¦ã¯NVIDIAã®ãã©ã¤ããCUDAå¨ãã§ããã£ãçµé¨ãããã®ã§ã¯ãªãã§ããããï¼ãããªããããã¦ãã¦ï¼æªæç« ï¼ï¼ãã¾ã¨ããQiitaè¨äºï¼TensorFlowã§GPUå¦ç¿ãããããã«CUDAå¨ãã§ã¯ã¾ã£ãã¨ãã®å¯¾å¦æ³ï¼ã«ããªãã¨NVIDIAã®ä¸ã®äºº(@ksasaki ããï¼ãããDockerã使ãã°â¦äººé¡ã¯å¹¸ãã«ãªããï¼è¶ æ訳ï¼ãã¨ã®ã³ã¡ã³ããããã ãã¾ããï¼ åã³åãã§ãNVIDIAã®ãã©ã¤ããã¢ãããã¼ãããã¨ãããããã«ã¯æé®ã¨åããèµ·åããªãLinuxãã·ã³ãâ¦ããããã®NVIDIAã¨ã®æ¦ãã¯å§ã¾ã£ãã°ããã ï¼ï¼æ¦ã£ã¦ã¾ããï¼ Dockerã§GPUå¦ç¿ç°å¢æ§ç¯ããã¡ãªãã ãã¾ãæ§ç¯ã§ããã°ã¨ããåæã§ã以ä¸ã®ãããªã¡ãªãããããã¾ãã æ§ã ãªãã¬ã¼ã ã¯ã¼ã¯
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}