LoginSignup
0
1

Stable Diffusion XL1.0 Foocus 4770K+GT1030

Posted at

2023/08/18 作業記録

Stable Diffusion Web UI AUTO1111(SD1111)
Stable Diffusion XL 1.0 (以降、SDXL1.0)
Fooocus(Fooocus_win64_1-1-10 以降、Foocus)

Fooocus の利点

必要なプログラムをハードウェアを確認後、調整しているらしい

python コードサンプル
gpu_check.py

import torch

if torch.cuda.is_available():
  num_gpus = torch.cuda.device_count()
  for i in range(num_gpus):
    print(f"GPU {i}: {torch.cuda.get_device_name(i)}")
else:
  print("GPU is not available")

Dell Optiplex 3020 A20

CPU:intel Core i7 4770K
MEM:16GB PC3-12800
VGA:nVidia GT 1030 DDR4 2GiB
※ディスクアクセスが頻繁なため、1GiB ほどの
ディスクキャッシュを別途設定しています。
IODATA アイ・オー・データ マッハドライブ

生成時間

  • SD1111 512 x 512 8分弱
  • SDXL 1.0 途中でキャンセル N/A
  • Foocus 1時間15分

Fooocus での画像生成

画像は相も変わらず。
プロンプトの中に薔薇の名前「royal highness」(ロイヤルハイネス)を入れての生成です。

出力ログ

2023-08-17_22-33-19_2373.png

Prompt: 1girl, Caucasian.upright immovable,full body,like the royal highness,(smile:1.2)thin shoulder white strap and white camisole.(realistic, real life:1.2),(masterpiece:1.2),20-years-old,standing,(shaped face:1.1),brun eyes,simple silver piassings,(simple necklace:0.7),RAW, stunning portrait of an intelligent young beautiful woman. The final product should be a masterpiece that captures the essence and beauty of a woman. sharp focus, sharp focus, 8k UHD, DSLR, high quality,white background

Negative Prompt: nsfw, naked, wet skin,illustration,manga,anime,Charatoon,black woman,hispanic woman

Style: sai-3d-model, Performance: Quality

Resolution: (1024, 1024), Sharpness: 2

Base Model: sd_xl_base_1.0_0.9vae.safetensors, Refiner Model: sd_xl_refiner_1.0_0.9vae.safetensors

Seed: 587929771, LoRA [sd_xl_offset_example-lora_1.0.safetensors] weight: 0.5

生成された画像(CPUモードではないため、GT1030でないと同じ画像になりません)
2023-08-17_22-33-19_2373.png

追記

当該環境では SDAUTO1111 も実行可能ですが、
リフューザーの導入、SDXL Styles の導入まで行うと
かなりハードな重さになります。

相当強引な環境のため、のっぴきならない状況でないかぎり
お勧めできない環境なのであくまでネタとして個人記録を残します。

tags: 20230818 SDXL GT1030
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1