{"id":26770844,"url":"https://github.com/tomosatop/sd_webui_raspberrypi4","last_synced_at":"2026-04-29T21:33:10.424Z","repository":{"id":173302261,"uuid":"650530188","full_name":"tomosatoP/SD_WebUI_RaspberryPi4","owner":"tomosatoP","description":"Raspberry Pi 4 で AUTOMATIC1111 を動かす","archived":false,"fork":false,"pushed_at":"2023-08-09T05:16:01.000Z","size":217,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-08-09T06:12:40.141Z","etag":null,"topics":["automatic1111","pytorch","raspberry-pi-4","stable-diffusion","webui"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomosatoP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-07T09:06:48.000Z","updated_at":"2023-08-09T06:12:45.620Z","dependencies_parsed_at":"2023-08-09T06:12:44.637Z","dependency_job_id":null,"html_url":"https://github.com/tomosatoP/SD_WebUI_RaspberryPi4","commit_stats":null,"previous_names":["tomosatop/automatic1111_on_raspberrypi4","tomosatop/sd_webui_raspberrypi4"],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomosatoP%2FSD_WebUI_RaspberryPi4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomosatoP%2FSD_WebUI_RaspberryPi4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomosatoP%2FSD_WebUI_RaspberryPi4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomosatoP%2FSD_WebUI_RaspberryPi4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomosatoP","download_url":"https://codeload.github.com/tomosatoP/SD_WebUI_RaspberryPi4/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246112663,"owners_count":20725301,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automatic1111","pytorch","raspberry-pi-4","stable-diffusion","webui"],"created_at":"2025-03-28T23:16:59.493Z","updated_at":"2026-04-29T21:33:10.351Z","avatar_url":"https://github.com/tomosatoP.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AUTOMATIC1111 with RaspberryPi4\nRaspberry Pi 4 で AUTOMATIC1111 を動かす\n\n### ハードウェア\n- Raspberry Pi 4B 8GB\n- microSD Card 64GB\n### ソフトウェア\n- Raspberry Pi OS 64bit Lite\n### スクリーンショット\n![htop](image/htom.png)\u003cbr\u003e\nCPUの4コアがフル活躍\u003cbr\u003e\n![ssh](image/ssh.png)\u003cbr\u003e\nちゃんと動いてる\u003cbr\u003e\n![webui](image/webui.png)\u003cbr\u003e\n50分もかかった。\n\n## [AUTOMATIC1111/stable-diffusion-webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui)\n\n### memory 確保\nCPUのみで実行するには最低でもメモリが16GB以上必要らしい。\n~~~diff\n~ $ sudo nano /etc/dphys-swapfile\n~~~\n~~~diff\n- CONF_SWAPSIZE=100\n+ CONF_SWAPSIZE=8192\n- #CONF_MAXSWAP=2048\n+ CONF_MAXSWAP=8192\n~~~\n~~~sh\n~ $ sudo systemctl restart dphys-swapfile\n# モニタリング\n~ $ htop\n~~~\n### Install on Linux without GPU\n\nuser name: user\u003cbr\u003e\nhost name: host\n~~~sh\nuser@host:~ $ sudo apt install wget git python3 python3-venv python3-pip libgl1-mesa-dev\nuser@host:~ $ sudo -H python3 -m pip install -U pip\nuser@host:~ $ git clone -b master https://github.com/AUTOMATIC1111/stable-diffusion-webui.git WebSD\nuser@host:~/WebSD $ python3 -m venv venv --upgrade-deps\nuser@host:~/WebSD $ . venv/bin/activate\n# Pytorch のインストール（最新版になってる！）\n(venv) user@host:~/WebSD $ pip install -U torch torchvision torchaudio\n# その他のモジュールをアップデート\n(venv) user@host:~/WebSD $ pip install -U psutil\n(venv) user@host:~/WebSD $ pip install git+https://github.com/ethanfurman/aenum.git\n# 設定: GPU無し, インストール済みのPytorch使用, xformers無し, accelerate無し\n(venv) user@host:~/WebSD $ nano webui-user.sh\n~~~\n[webui-user.sh](src/webui-user.sh)\n~~~sh\n# install and run\nuser@host:~/WebSD $ bash webui.sh\n~~~\n\u003e http://host:7860\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomosatop%2Fsd_webui_raspberrypi4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomosatop%2Fsd_webui_raspberrypi4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomosatop%2Fsd_webui_raspberrypi4/lists"}