{"id":217,"date":"2022-08-30T10:40:20","date_gmt":"2022-08-30T01:40:20","guid":{"rendered":"https:\/\/sheltie-garage.xyz\/tech\/?p=217"},"modified":"2022-08-30T11:00:17","modified_gmt":"2022-08-30T02:00:17","slug":"intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99","status":"publish","type":"post","link":"https:\/\/sheltie-garage.xyz\/tech\/2022\/08\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\/","title":{"rendered":"Intel Mac\u3067Stable diffusion\u3092\u52d5\u304b\u3059"},"content":{"rendered":"\n<p>\u8a71\u984c\u306e\u304a\u7d75\u304b\u304dAI\u300cStable Diffusion\u300d\u3092Intel Mac\u3067\u52d5\u304b\u3057\u307e\u3059\u3002<br>\u3059\u3067\u306b\u5b9f\u8df5\u3055\u308c\u3066\u3044\u308b\u65b9\u304c\u3044\u3089\u3057\u305f\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002<br><a href=\"https:\/\/yaritakunai.hatenablog.com\/entry\/stable-diffusion-mps\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/yaritakunai.hatenablog.com\/entry\/stable-diffusion-mps<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Intel Mac\u3067\u52d5\u304b\u3059\u3068\u304d\u306e\u554f\u984c\u70b9<\/h2>\n\n\n\n<p>Stable Diffusion\u3067\u3059\u304c\u3001\u516c\u5f0f\u306e\u5c0e\u5165\u624b\u9806\u3067\u306fCuda\u3092\u5229\u7528\u3059\u308b\u8a2d\u5b9a\u3068\u306a\u3063\u3066\u304a\u308a\u3001Ver 11.3\u304c\u8981\u6c42\u3055\u308c\u307e\u3059\u3002<br>\u305f\u3060\u3001Mac\u7528\u306eCuda\u306fVer9\u3067\u958b\u767a\u304c\u7d42\u4e86\u3057\u3066\u304a\u308a\u3001\u74b0\u5883\u69cb\u7bc9\u304c\u884c\u306a\u3048\u307e\u305b\u3093\u3002<br>Mac\u7528Cuda\u306f\u958b\u767a\u7d42\u4e86\u3068\u516c\u5f0f\u3067\u767a\u8868\u3082\u3042\u308a\u307e\u3057\u305f\u3002<br><a href=\"https:\/\/applech2.com\/archives\/20200606-nvidia-cuda-end-of-support-macos.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/applech2.com\/archives\/20200606-nvidia-cuda-end-of-support-macos.html<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"510\" height=\"392\" src=\"https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-08-25-20.54.39.png\" alt=\"\" class=\"wp-image-218\" srcset=\"https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-08-25-20.54.39.png 510w, https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-08-25-20.54.39-300x231.png 300w\" sizes=\"auto, (max-width: 510px) 100vw, 510px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Cuda\u3092\u5229\u7528\u3057\u306a\u3044\u3088\u3046\u306b\u8a2d\u5b9a\u5909\u66f4\u3057\u3001Stable Diffusion\u306e\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b<\/h2>\n\n\n\n<p>\u74b0\u5883\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u901a\u308a<\/p>\n\n\n\n<p>\u30fbMacBook Pro 16inch 2019<br>\u30fbmacOS Monterey 12.5.1<br>\u30fbconda version : 4.10.3<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Gti\u304b\u3089\u30ea\u30dd\u30b8\u30c8\u30ea\u53d6\u5f97<\/h3>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u53d6\u5f97\u3057\u307e\u3059<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>git clone https:\/\/github.com\/CompVis\/stable-diffusion.git\ncd stable-diffusion<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Cuda\u3092\u5229\u7528\u3057\u306a\u3044\u3088\u3046\u306b\u5909\u66f4<\/h3>\n\n\n\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u307e\u3059<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>vi environment.yaml\n\n\u2193environment.yaml\u306e\u4e2d\u8eab\nname: ldm\nchannels:\n#  - pytorch\n  - pytorch-nightly\n  - defaults\ndependencies:\n  - python=3.8.5\n  - pip=20.3\n#  - cudatoolkit=11.3\n#  - pytorch=1.11.0\n#  - torchvision=0.12.0\n  - pytorch\n  - torchvision\n  - numpy=1.19.2\n  - pip:\n\n\u4ee5\u4e0b\u5909\u66f4\u306a\u3057<\/code><\/pre><\/div>\n\n\n\n<p>\u4eee\u60f3\u74b0\u5883\u4f5c\u6210<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u3001\u6709\u52b9\u5316\u3057\u307e\u3059<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>conda env create -f environment.yaml\nconda activate ldm\nmkdir -p models\/ldm\/stable-diffusion-v1<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u5b66\u7fd2\u30e2\u30c7\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b<\/h3>\n\n\n\n<p><a href=\"https:\/\/huggingface.co\/\" target=\"_blank\" rel=\"noreferrer noopener\">Hugging Face<\/a>\u3068\u3044\u3046\u30b5\u30a4\u30c8\u304b\u3089\u5b66\u7fd2\u30c7\u30fc\u30bf\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059(\u8981\u4f1a\u54e1\u767b\u9332)<br>\u4f1a\u54e1\u767b\u9332\u5f8c\u3001\u4ee5\u4e0b\u306eURL\u304b\u3089\u30e2\u30c7\u30eb\u30c7\u30fc\u30bf\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u5148\u307b\u3069\u4f5c\u6210\u3057\u305f\u300cstable-diffusion-v1\u300d\u30d5\u30a9\u30eb\u30c0\u306b\u4fdd\u5b58\u3057\u307e\u3059<br><a href=\"https:\/\/huggingface.co\/CompVis\/stable-diffusion-v-1-4-original\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/huggingface.co\/CompVis\/stable-diffusion-v-1-4-original<\/a><\/p>\n\n\n\n<p>\u4e0a\u8a18URL\u306b\u30a2\u30af\u30bb\u30b9\u5f8c\u3001\u30e9\u30a4\u30bb\u30f3\u30b9\u306b\u540c\u610f\u3057\u3001\u30e2\u30c7\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"817\" src=\"https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/20220829_001-1024x817.png\" alt=\"\" class=\"wp-image-219\" srcset=\"https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/20220829_001-1024x817.png 1024w, https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/20220829_001-300x239.png 300w, https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/20220829_001-768x613.png 768w, https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/20220829_001.png 1522w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5f8c\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u300cmodel.ckpt\u300d\u306b\u5909\u66f4\u3057\u307e\u3059<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"708\" height=\"366\" src=\"https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/20220829_002.png\" alt=\"\" class=\"wp-image-220\" srcset=\"https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/20220829_002.png 708w, https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/20220829_002-300x155.png 300w\" sizes=\"auto, (max-width: 708px) 100vw, 708px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3092\u5b9f\u884c\u3057\u3066\u307f\u308b<\/h3>\n\n\n\n<p>\u4ee5\u4e0b\u306epython\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001\u5b9f\u884c\u3057\u3066\u307f\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u306f\u300cstable-diffusion\u300d\u30d5\u30a9\u30eb\u30c0\u306e\u76f4\u4e0b\u306b\u4f5c\u6210\u3057\u307e\u3057\u305f<br>(\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u53c2\u8003\u8a18\u4e8b\u304b\u3089\u306e\u5f15\u7528\u306b\u306a\u308a\u307e\u3059)<\/p>\n\n\n\n<p><strong>pytorch_m1_macbook.py<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code># -*- coding: utf-8 -*-\nimport torch\nfrom torch.nn import CrossEntropyLoss\nfrom torch.optim import SGD\nfrom torch.utils.data import DataLoader\nfrom torchvision.datasets import CIFAR10\nfrom torchvision import transforms as tt\nfrom torchvision.models import resnet18\n\nimport os\nfrom argparse import ArgumentParser\nimport time\n\ndef main(device):\n    # ResNet\u306e\u30cf\u30a4\u30d1\u30fc\u30d1\u30e9\u30e1\u30fc\u30bf\n    n_epoch = 5            # \u30a8\u30dd\u30c3\u30af\u6570\n    batch_size = 512       # \u30df\u30cb\u30d0\u30c3\u30c1\u30b5\u30a4\u30ba\n    momentum = 0.9         # SGD\u306emomentum\n    lr = 0.01              # \u5b66\u7fd2\u7387\n    weight_decay = 0.00005 # weight decay\n\n    # \u8a13\u7df4\u30c7\u30fc\u30bf\u3068\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u3092\u7528\u610f\n    mean = (0.491, 0.482, 0.446)\n    std = (0.247, 0.243, 0.261)\n    train_transform = tt.Compose([\n        tt.RandomHorizontalFlip(p=0.5),\n        tt.RandomCrop(size=32, padding=4, padding_mode=&#39;reflect&#39;),\n        tt.ToTensor(),\n        tt.Normalize(mean=mean, std=std)\n    ])\n    test_transform = tt.Compose([tt.ToTensor(), tt.Normalize(mean, std)])\n    root = os.path.dirname(os.path.abspath(__file__))\n    train_set = CIFAR10(root=root, train=True,\n                        download=True, transform=train_transform)\n    train_loader = DataLoader(train_set, batch_size=batch_size,\n                              shuffle=True, num_workers=8)\n\n    # ResNet\u306e\u6e96\u5099\n    resnet = resnet18()\n    resnet.fc = torch.nn.Linear(resnet.fc.in_features, 10)\n\n    # \u8a13\u7df4\n    criterion = CrossEntropyLoss()\n    optimizer = SGD(resnet.parameters(), lr=lr,\n                    momentum=momentum, weight_decay=weight_decay)\n    train_start_time = time.time()\n    resnet.to(device)\n    resnet.train()\n    for epoch in range(1, n_epoch+1):\n        train_loss = 0.0\n        for inputs, labels in train_loader:\n            inputs = inputs.to(device)\n            optimizer.zero_grad()\n            outputs = resnet(inputs)\n            labels = labels.to(device)\n            loss = criterion(outputs, labels)\n            loss.backward()\n            train_loss += loss.item()\n            del loss  # \u30e1\u30e2\u30ea\u7bc0\u7d04\u306e\u305f\u3081\n            optimizer.step()\n        print(&#39;Epoch {} \/ {}: time = {}[s], loss = {:.2f}&#39;.format(\n            epoch, n_epoch, time.time() - train_start_time, train_loss))\n    print(&#39;Train time on {}: {:.2f}[s] (Train loss = {:.2f})&#39;.format(\n        device, time.time() - train_start_time, train_loss))\n\n    # \u8a55\u4fa1\n    test_set = CIFAR10(root=root, train=False, download=True,\n                       transform=test_transform)\n    test_loader = DataLoader(test_set, batch_size=batch_size,\n                             shuffle=False, num_workers=8)\n    test_loss = 0.0\n    test_start_time = time.time()\n    resnet.eval()\n    for inputs, labels in test_loader:\n        inputs = inputs.to(device)\n        outputs = resnet(inputs)\n        labels = labels.to(device)\n        loss = criterion(outputs, labels)\n        test_loss += loss.item()\n    print(&#39;Test time on {}: {:.2f}[s](Test loss = {:.2f})&#39;.format(\n        device, time.time() - test_start_time, test_loss))\n\n\nif __name__ == &#39;__main__&#39;:\n    parser = ArgumentParser()\n    parser.add_argument(&#39;--device&#39;, type=str, default=&#39;mps&#39;,\n                        choices=[&#39;cpu&#39;, &#39;mps&#39;])\n    args = parser.parse_args()\n    device = torch.device(args.device)\n    main(device)<\/code><\/pre><\/div>\n\n\n\n<p>CPU\u3001MPS\u3067\u305d\u308c\u5b9f\u884c\u3057\u305f\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>python pytorch_m1_macbook.py --device cpu\nDownloading https:\/\/www.cs.toronto.edu\/~kriz\/cifar-10-python.tar.gz to \/Users\/hamada\/Project\/MachineLarning\/stable-diffusion\/cifar-10-python.tar.gz\n100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 170498071\/170498071 [00:22&lt;00:00, 7461526.71it\/s]\nExtracting \/Users\/hamada\/Project\/MachineLarning\/stable-diffusion\/cifar-10-python.tar.gz to \/Users\/hamada\/Project\/MachineLarning\/stable-diffusion\nEpoch 1 \/ 5: time = 323.73796010017395[s], loss = 169.02\nEpoch 2 \/ 5: time = 628.1439380645752[s], loss = 135.66\nEpoch 3 \/ 5: time = 929.2913389205933[s], loss = 122.78\nEpoch 4 \/ 5: time = 1244.1902849674225[s], loss = 112.50\nEpoch 5 \/ 5: time = 1558.1003341674805[s], loss = 104.66\nTrain time on cpu: 1558.10[s] (Train loss = 104.66)\nFiles already downloaded and verified\nTest time on cpu: 64.05[s](Test loss = 20.15)<\/code><\/pre><\/div>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>python pytorch_m1_macbook.py --device mps\nFiles already downloaded and verified\nEpoch 1 \/ 5: time = 243.6470718383789[s], loss = 170.26\nEpoch 2 \/ 5: time = 408.21199798583984[s], loss = 137.86\nEpoch 3 \/ 5: time = 625.620924949646[s], loss = 123.72\nEpoch 4 \/ 5: time = 857.4977359771729[s], loss = 113.30\nEpoch 5 \/ 5: time = 1090.7507467269897[s], loss = 105.25\nTrain time on mps: 1090.75[s] (Train loss = 105.25)\nFiles already downloaded and verified\nTest time on mps: 64.08[s](Test loss = 20.00)<\/code><\/pre><\/div>\n\n\n\n<p>mps\u3092\u5229\u7528\u3057\u305f\u307b\u3046\u304c30%\u307b\u3069\u9ad8\u901f\u306b\u51e6\u7406\u3067\u304d\u308b\u3088\u3046\u3067\u3059<br>\u4e0a\u8a18\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b9f\u884c\u7d50\u679c\u3060\u3051\u898b\u308b\u3068mps\u304c\u5229\u7528\u3067\u304d\u305d\u3046\u3067\u3059\u304c\u3001\u5b9f\u969b\u306b\u30a4\u30e9\u30b9\u30c8\u751f\u6210\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u8d77\u52d5\u3059\u308b\u3068\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u51e6\u7406\u304c\u4e2d\u65ad\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002\u305d\u306e\u305f\u3081\u3001\u4ee5\u964d\u306e\u8a18\u4e8b\u3067\u306fcpu\u30e2\u30fc\u30c9\u3067\u52d5\u304b\u305b\u308b\u3088\u3046\u306b\u6539\u4fee\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Python\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4fee\u6b63<\/h3>\n\n\n\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u52d5\u4f5c\u3055\u305b\u308b\u306b\u3042\u305f\u308a\u3001Python\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u4fee\u6b63\u3092\u884c\u3044\u307e\u3059<\/p>\n\n\n\n<p><strong>scripts\/txt2img.py<\/strong><br>63\u884c\u76ee\u3042\u305f\u308a\u306emodel.cuda()\u306e\u90e8\u5206\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4fee\u6b63<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>    if len(u) &gt; 0 and verbose:\n        print(&quot;unexpected keys:&quot;)\n        print(u)\n\n    # model.cuda()\n    model.to(&#39;cpu&#39;)\n    model.eval()\n    return model<\/code><\/pre><\/div>\n\n\n\n<p>243\u884c\u76ee\u8fba\u308a\u306edevice = torch.device(&#8220;cuda&#8221;) if torch.cuda.is_available() else torch.device(&#8220;cpu&#8221;)\u306e\u90e8\u5206\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4fee\u6b63<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>    # device = torch.device(&quot;cuda&quot;) if torch.cuda.is_available() else torch.device(&quot;cpu&quot;)\n    device = torch.device(&quot;cpu&quot;)\n    model = model.to(device)<\/code><\/pre><\/div>\n\n\n\n<p>283\u884c\u76ee\u8fba\u308a\u306ewith precision_scope(&#8220;cuda&#8221;):\u306e\u90e8\u5206\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4fee\u6b63<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>    with torch.no_grad():\n        # with precision_scope(&quot;cuda&quot;):\n        with precision_scope(&quot;cpu&quot;):<\/code><\/pre><\/div>\n\n\n\n<p><strong>ldm\/models\/diffusion\/plms.py<\/strong><br>18\u884c\u76ee\u8fba\u308a\u306eif attr.device != torch.device(&#8220;cuda&#8221;):\u5468\u8fba\u3092\u4ee5\u4e0b\u306e\u901a\u308a\u4fee\u6b63<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>    def register_buffer(self, name, attr):\n        if type(attr) == torch.Tensor:\n            # if attr.device != torch.device(&quot;cuda&quot;):\n            #    attr = attr.to(torch.device(&quot;cuda&quot;))\n            if attr.device != torch.device(&quot;cpu&quot;):\n                attr = attr.to(torch.float32).to(torch.device(&quot;cpu&quot;)).contiguous()\n        setattr(self, name, attr)<\/code><\/pre><\/div>\n\n\n\n<p><strong>configs\/stable-diffusion\/v1-inference.yaml<\/strong><br>69\u884c\u76ee\u4ed8\u8fd1\u306e\u8a2d\u5b9a\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4fee\u6b63<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>    cond_stage_config:\n      target: ldm.modules.encoders.modules.FrozenCLIPEmbedder\n      params:\n        device: cpu<\/code><\/pre><\/div>\n\n\n\n<p><strong>ldm\/modules\/attention.py<\/strong><br>211\u884c\u76ee\u4ed8\u8fd1\u306edef _forward(self, x, context=None):\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4fee\u6b63<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>    def _forward(self, x, context=None):\n        x = x.contiguous()\n        x = self.attn1(self.norm1(x)) + x\n        x = self.attn2(self.norm2(x), context=context) + x\n        x = self.ff(self.norm3(x)) + x\n        return x<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u3044\u3088\u3044\u3088\u5b9f\u884c\u3057\u3066\u307f\u308b<\/h2>\n\n\n\n<p>\u4ee5\u4e0a\u306e\u5909\u66f4\u3067\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002<br>\u30c6\u30ad\u30b9\u30c8\u304b\u3089\u30a4\u30e1\u30fc\u30b8\u3092\u4f5c\u6210\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3057\u3001\u30a4\u30e9\u30b9\u30c8\u3092\u751f\u6210\u3057\u3066\u307f\u307e\u3057\u3087\u3046<br>(\u53c2\u8003\u30da\u30fc\u30b8\u3068\u540c\u3058\u3060\u3068\u9762\u767d\u304f\u306a\u3044\u306e\u3067\u300c\u4e00\u7dd2\u306b\u5bdd\u3066\u3044\u308b\u72ac\u3068\u732b\u300d\u3068\u3044\u3046\u984c\u76ee\u3067\u30a4\u30e9\u30b9\u30c8\u3092\u751f\u6210\u3057\u307e\u3057\u305f)<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>python scripts\/txt2img.py --prompt &quot;cat and dog sleeping together&quot; --plms --precision full<\/code><\/pre><\/div>\n\n\n\n<p>\u751f\u6210\u3055\u308c\u305f\u753b\u50cf\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30af\u30ed\u30fc\u30f3\u3057\u305f\u76f4\u4e0b\u306e\u30d5\u30a9\u30eb\u30c0\u914d\u4e0b\u306b\u51fa\u529b\u3055\u308c\u307e\u3059<br>outputs\/txt2img-samples\/<\/p>\n\n\n\n<p>\u30a4\u30e9\u30b9\u30c8\u304c\u751f\u6210\u3055\u308c\u308b\u307e\u30671\u6642\u959340\u5206\u307b\u3069\u304b\u304b\u308a\u307e\u3057\u305f\u3002\u751f\u6210\u3055\u308c\u305f\u753b\u50cf\u306f\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/grid-0000-1024x683.png\" alt=\"\" class=\"wp-image-230\" srcset=\"https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/grid-0000-1024x683.png 1024w, https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/grid-0000-300x200.png 300w, https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/grid-0000-768x512.png 768w, https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/grid-0000-1536x1025.png 1536w, https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/grid-0000.png 1544w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u3056\u3063\u3068\u898b\u305d\u308c\u3063\u307d\u3044\u753b\u50cf\u304c\u751f\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u3088\u304f\u898b\u308b\u3068\u5f62\u304c\u3044\u3073\u3064\u306a\u90e8\u5206\u304c\u3042\u3063\u305f\u308a\u3068\u3061\u3087\u3063\u3068\u6016\u3044\u30fb\u30fb\u30fb<br>\u305f\u3060\u3001\u3053\u306e\u30af\u30aa\u30ea\u30c6\u30a3\u306e\u753b\u50cf\u304c2\u6642\u9593\u4ee5\u5185\u3067\u751f\u6210\u3055\u308c\u308b\u3068\u3044\u3046\u306e\u306f\u3001\u3059\u3054\u3044\u3053\u3068\u306a\u306e\u3067\u306f\u3068\u601d\u3044\u307e\u3059<\/p>\n\n\n\n<p>\u540c\u3058\u3088\u3046\u306a\u30b5\u30fc\u30d3\u30b9\u3067\u300cmidjourney\u300d\u304c\u6709\u540d\u3067\u3059\u304c\u3001\u3042\u3061\u3089\u306f\u6570\u5206\u3067\u753b\u50cf\u304c\u751f\u6210\u3055\u308c\u308b\u306e\u3067\u304b\u306a\u308a\u5f37\u529b\u306a\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3067\u51e6\u7406\u3057\u3066\u308b\u3093\u3060\u308d\u3046\u306a\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ed6\u306b\u3082\u3001\u6700\u8fd1\u300c<a href=\"https:\/\/illustmimic.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">mimic<\/a>\u300d\u3068\u3044\u3046\u30a4\u30e9\u30b9\u30c8\u751f\u6210\u30b5\u30fc\u30d3\u30b9\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u304c\u3001\u3053\u3061\u3089\u306f\u8272\u3005\u7269\u8b70\u3092\u91b8\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<br>\u4eca\u5f8c\u3082\u30a4\u30e9\u30b9\u30c8AI\u306e\u9032\u5316\u306f\u7d9a\u304f\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u30af\u30ea\u30a8\u30a4\u30bf\u30fc\u3068AI\u304c\u3046\u307e\u304f\u5171\u5b58\u3067\u304d\u308b\u3088\u3046\u306a\u30b5\u30fc\u30d3\u30b9\u304c\u8a95\u751f\u3059\u308b\u3053\u3068\u3092\u9858\u3063\u3066\u3044\u307e\u3059\u3002<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4eca\u56de\u306f\u3053\u3053\u307e\u3067<\/h2>\n\n\n\n<p>\u3072\u3068\u307e\u305a\u7121\u4e8b\u306b\u30a4\u30e9\u30b9\u30c8\u751f\u6210\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3068\u3053\u308d\u3067\u3001\u4eca\u56de\u306f\u4e00\u65e6\u7d42\u4e86\u3002<br>\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a9\u30eb\u30c0\u306e\u4e2d\u306b\u3001img2img\u3084knn2img\u306a\u3069\u9762\u767d\u305d\u3046\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u6e96\u5099\u3055\u308c\u3066\u3044\u305f\u306e\u3067\u3001\u3053\u3061\u3089\u306f\u307e\u305f\u6642\u9593\u3092\u898b\u3064\u3051\u3066\u8a66\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30a8\u30e9\u30fc\u96c6<\/h2>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>Traceback (most recent call last):\n  File &quot;scripts\/txt2img.py&quot;, line 347, in &lt;module&gt;\n    main()\n  File &quot;scripts\/txt2img.py&quot;, line 285, in main\n    with precision_scope(&quot;mps&quot;):\n  File &quot;\/opt\/anaconda3\/envs\/ldm\/lib\/python3.8\/site-packages\/torch\/amp\/autocast_mode.py&quot;, line 199, in __init__\n    raise RuntimeError(&#39;User specified autocast device_type must be \\&#39;cuda\\&#39; or \\&#39;cpu\\&#39;&#39;)\nRuntimeError: User specified autocast device_type must be &#39;cuda&#39; or &#39;cpu&#39;<\/code><\/pre><\/div>\n\n\n\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u4fee\u6b63\u9593\u9055\u3044\u304c\u3042\u308a\u767a\u751f\u3002\u898b\u76f4\u3057\u3066\u89e3\u6d88<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>RuntimeError: Invalid buffer size: 3.00 GB<\/code><\/pre><\/div>\n\n\n\n<p>\u81ea\u5206\u306e\u74b0\u5883\u3067\u306fmps\u3092\u5229\u7528\u3059\u308b\u3068\u4e0a\u8a18\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<br>cpu\u3092\u5229\u7528\u3059\u308b\u30e2\u30fc\u30c9\u306b\u5909\u66f4\u3057\u3066\u89e3\u6c7a\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>RuntimeError: expected scalar type BFloat16 but found Float<\/code><\/pre><\/div>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u53c2\u8003<br><a href=\"https:\/\/zenn.dev\/isaka102\/scraps\/2a37006ed35248\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/zenn.dev\/isaka102\/scraps\/2a37006ed35248<\/a><\/p>\n\n\n\n<p>\u5f15\u6570\u306b\u300c&#8211;precision full\u300d\u3092\u8ffd\u52a0\u3057\u3066\u89e3\u6c7a<\/p>\n\n\n<div id=\"rinkerid231\" class=\"yyi-rinker-contents  yyi-rinker-postid-231 yyi-rinker-img-m yyi-rinker-catid-12 \">\n\t<div class=\"yyi-rinker-box\">\n\t\t<div class=\"yyi-rinker-image\">\n\t\t\t\t\t\t\t<a href=\"https:\/\/af.moshimo.com\/af\/c\/click?a_id=3394378&#038;p_id=54&#038;pc_id=54&#038;pl_id=616&#038;url=https%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2F%25E3%2582%25A4%25E3%2583%25A9%25E3%2582%25B9%25E3%2583%2588%2F%3Ff%3D1%26grp%3Dproduct\" rel=\"nofollow\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/thumbnail.image.rakuten.co.jp\/@0_mall\/book\/cabinet\/5942\/9784798625942_1_8.jpg?_ex=128x128\" width=\"128\" height=\"128\" class=\"yyi-rinker-main-img\" style=\"border: none;\"><\/a><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=3394378&amp;p_id=54&amp;pc_id=54&amp;pl_id=616\" width=\"1\" height=\"1\" style=\"border:none;\">\t\t\t\t\t<\/div>\n\t\t<div class=\"yyi-rinker-info\">\n\t\t\t<div class=\"yyi-rinker-title\">\n\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/af.moshimo.com\/af\/c\/click?a_id=3394378&#038;p_id=54&#038;pc_id=54&#038;pl_id=616&#038;url=https%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2F%25E3%2582%25A4%25E3%2583%25A9%25E3%2582%25B9%25E3%2583%2588%2F%3Ff%3D1%26grp%3Dproduct\" rel=\"nofollow\">\u300c\u30ad\u30e3\u30e9\u30af\u30bf\u30fc\u300d\u306e\u30c7\u30b6\u30a4\u30f3\uff06\u63cf\u304d\u65b9\u3000\u30ab\u30e9\u30d5\u30eb\u30dd\u30c3\u30d7\u3067\u9b45\u305b\u308b\u30a4\u30e9\u30b9\u30c8\u6280\u5de7 \uff08\u30db\u30d3\u30fc\u30b8\u30e3\u30d1\u30f3\u306e\u6280\u6cd5\u66f8\uff09 [ \u304f\u308b\u307f\u3064 ]<\/a><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=3394378&amp;p_id=54&amp;pc_id=54&amp;pl_id=616\" width=\"1\" height=\"1\" style=\"border:none;\">\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"yyi-rinker-detail\">\n\t\t\t\t\t\t\t<div class=\"credit-box\">created by&nbsp;<a href=\"https:\/\/oyakosodate.com\/rinker\/\" rel=\"nofollow noopener\" target=\"_blank\" >Rinker<\/a><\/div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"price-box\">\n\t\t\t\t\t\t\t<span title=\"\" class=\"price\">\u00a52,420<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price_at\">(2026\/04\/28 06:31:33\u6642\u70b9&nbsp;\u697d\u5929\u5e02\u5834\u8abf\u3079-<\/span><span title=\"\u3053\u306e\u30b5\u30a4\u30c8\u3067\u63b2\u8f09\u3055\u308c\u3066\u3044\u308b\u60c5\u5831\u306f\u5f53\u30b5\u30a4\u30c8\u306e\u4f5c\u6210\u8005\u306b\u3088\u308a\u904b\u55b6\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4fa1\u683c\u3001\u8ca9\u58f2\u53ef\u80fd\u60c5\u5831\u306f\u3001\u5909\u66f4\u3055\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u8cfc\u5165\u6642\u306b\u697d\u5929\u5e02\u5834\u5e97\u8217\uff08www.rakuten.co.jp\uff09\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u4fa1\u683c\u304c\u305d\u306e\u5546\u54c1\u306e\u8ca9\u58f2\u306b\u9069\u7528\u3055\u308c\u307e\u3059\u3002\">\u8a73\u7d30)<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<ul class=\"yyi-rinker-links\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                    <li class=\"amazonlink\">\n\t\t\t\t\t\t<a href=\"https:\/\/www.amazon.co.jp\/gp\/search?ie=UTF8&amp;keywords=%E3%82%A4%E3%83%A9%E3%82%B9%E3%83%88&amp;tag=monodon-22&amp;index=blended&amp;linkCode=ure&amp;creative=6339\" rel=\"nofollow\" class=\"yyi-rinker-link\">Amazon<\/a>\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"rakutenlink\">\n\t\t\t\t\t\t<a href=\"https:\/\/af.moshimo.com\/af\/c\/click?a_id=3394378&amp;p_id=54&amp;pc_id=54&amp;pl_id=616&amp;url=https%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2F%25E3%2582%25A4%25E3%2583%25A9%25E3%2582%25B9%25E3%2583%2588%2F%3Ff%3D1%26grp%3Dproduct\" rel=\"nofollow\" class=\"yyi-rinker-link\">\u697d\u5929\u5e02\u5834<\/a><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=3394378&amp;p_id=54&amp;pc_id=54&amp;pl_id=616\" width=\"1\" height=\"1\" style=\"border:none;\">\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"yahoolink\">\n\t\t\t\t\t\t<a href=\"https:\/\/af.moshimo.com\/af\/c\/click?a_id=3442618&amp;p_id=1225&amp;pc_id=1925&amp;pl_id=18502&amp;url=https%3A%2F%2Fshopping.yahoo.co.jp%2Fsearch%3Fp%3D%25E3%2582%25A4%25E3%2583%25A9%25E3%2582%25B9%25E3%2583%2588\" rel=\"nofollow\" class=\"yyi-rinker-link\">Yahoo\u30b7\u30e7\u30c3\u30d4\u30f3\u30b0<\/a><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=3442618&amp;p_id=1225&amp;pc_id=1925&amp;pl_id=18502\" width=\"1\" height=\"1\" style=\"border:none;\">\t\t\t\t\t<\/li>\n\t\t\t\t                \t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t<\/div>\n\t<\/div>\n<\/div>\n\n\n<div id=\"rinkerid232\" class=\"yyi-rinker-contents  yyi-rinker-postid-232 yyi-rinker-img-m yyi-rinker-catid-12 \">\n\t<div class=\"yyi-rinker-box\">\n\t\t<div class=\"yyi-rinker-image\">\n\t\t\t\t\t\t\t<a href=\"https:\/\/af.moshimo.com\/af\/c\/click?a_id=3394378&#038;p_id=54&#038;pc_id=54&#038;pl_id=616&#038;url=https%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2F%25E6%25A9%259F%25E6%25A2%25B0%25E5%25AD%25A6%25E7%25BF%2592%2F%3Ff%3D1%26grp%3Dproduct\" rel=\"nofollow\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/thumbnail.image.rakuten.co.jp\/@0_mall\/book\/cabinet\/0074\/9784295010074_1_2.jpg?_ex=128x128\" width=\"128\" height=\"128\" class=\"yyi-rinker-main-img\" style=\"border: none;\"><\/a><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=3394378&amp;p_id=54&amp;pc_id=54&amp;pl_id=616\" width=\"1\" height=\"1\" style=\"border:none;\">\t\t\t\t\t<\/div>\n\t\t<div class=\"yyi-rinker-info\">\n\t\t\t<div class=\"yyi-rinker-title\">\n\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/af.moshimo.com\/af\/c\/click?a_id=3394378&#038;p_id=54&#038;pc_id=54&#038;pl_id=616&#038;url=https%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2F%25E6%25A9%259F%25E6%25A2%25B0%25E5%25AD%25A6%25E7%25BF%2592%2F%3Ff%3D1%26grp%3Dproduct\" rel=\"nofollow\">\uff3b\u7b2c3\u7248\uff3dPython\u6a5f\u68b0\u5b66\u7fd2\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 \u9054\u4eba\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30c6\u30a3\u30b9\u30c8\u306b\u3088\u308b\u7406\u8ad6\u3068\u5b9f\u8df5 \uff08top gear\uff09 [ Sebastian Raschka;Vahid Mirjalili ]<\/a><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=3394378&amp;p_id=54&amp;pc_id=54&amp;pl_id=616\" width=\"1\" height=\"1\" style=\"border:none;\">\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"yyi-rinker-detail\">\n\t\t\t\t\t\t\t<div class=\"credit-box\">created by&nbsp;<a href=\"https:\/\/oyakosodate.com\/rinker\/\" rel=\"nofollow noopener\" target=\"_blank\" >Rinker<\/a><\/div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"price-box\">\n\t\t\t\t\t\t\t<span title=\"\" class=\"price\">\u00a54,400<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price_at\">(2026\/04\/28 06:31:34\u6642\u70b9&nbsp;\u697d\u5929\u5e02\u5834\u8abf\u3079-<\/span><span title=\"\u3053\u306e\u30b5\u30a4\u30c8\u3067\u63b2\u8f09\u3055\u308c\u3066\u3044\u308b\u60c5\u5831\u306f\u5f53\u30b5\u30a4\u30c8\u306e\u4f5c\u6210\u8005\u306b\u3088\u308a\u904b\u55b6\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4fa1\u683c\u3001\u8ca9\u58f2\u53ef\u80fd\u60c5\u5831\u306f\u3001\u5909\u66f4\u3055\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u8cfc\u5165\u6642\u306b\u697d\u5929\u5e02\u5834\u5e97\u8217\uff08www.rakuten.co.jp\uff09\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u4fa1\u683c\u304c\u305d\u306e\u5546\u54c1\u306e\u8ca9\u58f2\u306b\u9069\u7528\u3055\u308c\u307e\u3059\u3002\">\u8a73\u7d30)<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<ul class=\"yyi-rinker-links\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                    <li class=\"amazonlink\">\n\t\t\t\t\t\t<a href=\"https:\/\/www.amazon.co.jp\/gp\/search?ie=UTF8&amp;keywords=%E6%A9%9F%E6%A2%B0%E5%AD%A6%E7%BF%92&amp;tag=monodon-22&amp;index=blended&amp;linkCode=ure&amp;creative=6339\" rel=\"nofollow\" class=\"yyi-rinker-link\">Amazon<\/a>\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"rakutenlink\">\n\t\t\t\t\t\t<a href=\"https:\/\/af.moshimo.com\/af\/c\/click?a_id=3394378&amp;p_id=54&amp;pc_id=54&amp;pl_id=616&amp;url=https%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2F%25E6%25A9%259F%25E6%25A2%25B0%25E5%25AD%25A6%25E7%25BF%2592%2F%3Ff%3D1%26grp%3Dproduct\" rel=\"nofollow\" class=\"yyi-rinker-link\">\u697d\u5929\u5e02\u5834<\/a><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=3394378&amp;p_id=54&amp;pc_id=54&amp;pl_id=616\" width=\"1\" height=\"1\" style=\"border:none;\">\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"yahoolink\">\n\t\t\t\t\t\t<a href=\"https:\/\/af.moshimo.com\/af\/c\/click?a_id=3442618&amp;p_id=1225&amp;pc_id=1925&amp;pl_id=18502&amp;url=https%3A%2F%2Fshopping.yahoo.co.jp%2Fsearch%3Fp%3D%25E6%25A9%259F%25E6%25A2%25B0%25E5%25AD%25A6%25E7%25BF%2592\" rel=\"nofollow\" class=\"yyi-rinker-link\">Yahoo\u30b7\u30e7\u30c3\u30d4\u30f3\u30b0<\/a><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=3442618&amp;p_id=1225&amp;pc_id=1925&amp;pl_id=18502\" width=\"1\" height=\"1\" style=\"border:none;\">\t\t\t\t\t<\/li>\n\t\t\t\t                \t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t<\/div>\n\t<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u8a71\u984c\u306e\u304a\u7d75\u304b\u304dAI\u300cStable Diffusion\u300d\u3092Intel Mac\u3067\u52d5\u304b\u3057\u307e\u3059\u3002\u3059\u3067\u306b\u5b9f\u8df5\u3055\u308c\u3066\u3044\u308b\u65b9\u304c\u3044\u3089\u3057\u305f\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002https:\/\/yaritakunai.hatenab [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":230,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-217","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-12","entry","has-media"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Intel Mac\u3067Stable diffusion\u3092\u52d5\u304b\u3059 - Sheltie Garage Tech<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sheltie-garage.xyz\/tech\/2022\/08\/intel-mac\u3067stable-diffusion\u3092\u52d5\u304b\u3059\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Intel Mac\u3067Stable diffusion\u3092\u52d5\u304b\u3059 - Sheltie Garage Tech\" \/>\n<meta property=\"og:description\" content=\"\u8a71\u984c\u306e\u304a\u7d75\u304b\u304dAI\u300cStable Diffusion\u300d\u3092Intel Mac\u3067\u52d5\u304b\u3057\u307e\u3059\u3002\u3059\u3067\u306b\u5b9f\u8df5\u3055\u308c\u3066\u3044\u308b\u65b9\u304c\u3044\u3089\u3057\u305f\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002https:\/\/yaritakunai.hatenab [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sheltie-garage.xyz\/tech\/2022\/08\/intel-mac\u3067stable-diffusion\u3092\u52d5\u304b\u3059\/\" \/>\n<meta property=\"og:site_name\" content=\"Sheltie Garage Tech\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-30T01:40:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-30T02:00:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/grid-0000-1024x683.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"683\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"monodon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"monodon\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"21\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2022\\\/08\\\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2022\\\/08\\\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\\\/\"},\"author\":{\"name\":\"monodon\",\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/#\\\/schema\\\/person\\\/f67942d4a63ae93a823618fc5a09077f\"},\"headline\":\"Intel Mac\u3067Stable diffusion\u3092\u52d5\u304b\u3059\",\"datePublished\":\"2022-08-30T01:40:20+00:00\",\"dateModified\":\"2022-08-30T02:00:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2022\\\/08\\\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\\\/\"},\"wordCount\":148,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2022\\\/08\\\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/grid-0000.png\",\"articleSection\":[\"AI\u30fb\u6a5f\u68b0\u5b66\u7fd2\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2022\\\/08\\\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2022\\\/08\\\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\\\/\",\"url\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2022\\\/08\\\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\\\/\",\"name\":\"Intel Mac\u3067Stable diffusion\u3092\u52d5\u304b\u3059 - Sheltie Garage Tech\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2022\\\/08\\\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2022\\\/08\\\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/grid-0000.png\",\"datePublished\":\"2022-08-30T01:40:20+00:00\",\"dateModified\":\"2022-08-30T02:00:17+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/#\\\/schema\\\/person\\\/f67942d4a63ae93a823618fc5a09077f\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2022\\\/08\\\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\\\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2022\\\/08\\\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2022\\\/08\\\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\\\/#primaryimage\",\"url\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/grid-0000.png\",\"contentUrl\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/grid-0000.png\",\"width\":1544,\"height\":1030},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2022\\\/08\\\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Intel Mac\u3067Stable diffusion\u3092\u52d5\u304b\u3059\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/#website\",\"url\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/\",\"name\":\"Sheltie Garage Tech\",\"description\":\"\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u95a2\u9023\u306e\u8a71\u984c\u3092\u307e\u3068\u3081\u305f\u30d6\u30ed\u30b0\u3067\u3059\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/#\\\/schema\\\/person\\\/f67942d4a63ae93a823618fc5a09077f\",\"name\":\"monodon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/692645b6204688b4dd631c1af09e3f8290eef390d3a741e60c237b98263fb860?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/692645b6204688b4dd631c1af09e3f8290eef390d3a741e60c237b98263fb860?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/692645b6204688b4dd631c1af09e3f8290eef390d3a741e60c237b98263fb860?s=96&d=mm&r=g\",\"caption\":\"monodon\"},\"sameAs\":[\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\"],\"url\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/author\\\/monodon\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Intel Mac\u3067Stable diffusion\u3092\u52d5\u304b\u3059 - Sheltie Garage Tech","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sheltie-garage.xyz\/tech\/2022\/08\/intel-mac\u3067stable-diffusion\u3092\u52d5\u304b\u3059\/","og_locale":"ja_JP","og_type":"article","og_title":"Intel Mac\u3067Stable diffusion\u3092\u52d5\u304b\u3059 - Sheltie Garage Tech","og_description":"\u8a71\u984c\u306e\u304a\u7d75\u304b\u304dAI\u300cStable Diffusion\u300d\u3092Intel Mac\u3067\u52d5\u304b\u3057\u307e\u3059\u3002\u3059\u3067\u306b\u5b9f\u8df5\u3055\u308c\u3066\u3044\u308b\u65b9\u304c\u3044\u3089\u3057\u305f\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002https:\/\/yaritakunai.hatenab [&hellip;]","og_url":"https:\/\/sheltie-garage.xyz\/tech\/2022\/08\/intel-mac\u3067stable-diffusion\u3092\u52d5\u304b\u3059\/","og_site_name":"Sheltie Garage Tech","article_published_time":"2022-08-30T01:40:20+00:00","article_modified_time":"2022-08-30T02:00:17+00:00","og_image":[{"width":1024,"height":683,"url":"https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/grid-0000-1024x683.png","type":"image\/png"}],"author":"monodon","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"monodon","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"21\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sheltie-garage.xyz\/tech\/2022\/08\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\/#article","isPartOf":{"@id":"https:\/\/sheltie-garage.xyz\/tech\/2022\/08\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\/"},"author":{"name":"monodon","@id":"https:\/\/sheltie-garage.xyz\/tech\/#\/schema\/person\/f67942d4a63ae93a823618fc5a09077f"},"headline":"Intel Mac\u3067Stable diffusion\u3092\u52d5\u304b\u3059","datePublished":"2022-08-30T01:40:20+00:00","dateModified":"2022-08-30T02:00:17+00:00","mainEntityOfPage":{"@id":"https:\/\/sheltie-garage.xyz\/tech\/2022\/08\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\/"},"wordCount":148,"commentCount":0,"image":{"@id":"https:\/\/sheltie-garage.xyz\/tech\/2022\/08\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\/#primaryimage"},"thumbnailUrl":"https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/grid-0000.png","articleSection":["AI\u30fb\u6a5f\u68b0\u5b66\u7fd2"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/sheltie-garage.xyz\/tech\/2022\/08\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/sheltie-garage.xyz\/tech\/2022\/08\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\/","url":"https:\/\/sheltie-garage.xyz\/tech\/2022\/08\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\/","name":"Intel Mac\u3067Stable diffusion\u3092\u52d5\u304b\u3059 - Sheltie Garage Tech","isPartOf":{"@id":"https:\/\/sheltie-garage.xyz\/tech\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sheltie-garage.xyz\/tech\/2022\/08\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\/#primaryimage"},"image":{"@id":"https:\/\/sheltie-garage.xyz\/tech\/2022\/08\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\/#primaryimage"},"thumbnailUrl":"https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/grid-0000.png","datePublished":"2022-08-30T01:40:20+00:00","dateModified":"2022-08-30T02:00:17+00:00","author":{"@id":"https:\/\/sheltie-garage.xyz\/tech\/#\/schema\/person\/f67942d4a63ae93a823618fc5a09077f"},"breadcrumb":{"@id":"https:\/\/sheltie-garage.xyz\/tech\/2022\/08\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sheltie-garage.xyz\/tech\/2022\/08\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/sheltie-garage.xyz\/tech\/2022\/08\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\/#primaryimage","url":"https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/grid-0000.png","contentUrl":"https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2022\/08\/grid-0000.png","width":1544,"height":1030},{"@type":"BreadcrumbList","@id":"https:\/\/sheltie-garage.xyz\/tech\/2022\/08\/intel-mac%e3%81%a7stable-diffusion%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/sheltie-garage.xyz\/tech\/"},{"@type":"ListItem","position":2,"name":"Intel Mac\u3067Stable diffusion\u3092\u52d5\u304b\u3059"}]},{"@type":"WebSite","@id":"https:\/\/sheltie-garage.xyz\/tech\/#website","url":"https:\/\/sheltie-garage.xyz\/tech\/","name":"Sheltie Garage Tech","description":"\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u95a2\u9023\u306e\u8a71\u984c\u3092\u307e\u3068\u3081\u305f\u30d6\u30ed\u30b0\u3067\u3059","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sheltie-garage.xyz\/tech\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/sheltie-garage.xyz\/tech\/#\/schema\/person\/f67942d4a63ae93a823618fc5a09077f","name":"monodon","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/692645b6204688b4dd631c1af09e3f8290eef390d3a741e60c237b98263fb860?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/692645b6204688b4dd631c1af09e3f8290eef390d3a741e60c237b98263fb860?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/692645b6204688b4dd631c1af09e3f8290eef390d3a741e60c237b98263fb860?s=96&d=mm&r=g","caption":"monodon"},"sameAs":["https:\/\/sheltie-garage.xyz\/tech"],"url":"https:\/\/sheltie-garage.xyz\/tech\/author\/monodon\/"}]}},"_links":{"self":[{"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/posts\/217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/comments?post=217"}],"version-history":[{"count":6,"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/posts\/217\/revisions"}],"predecessor-version":[{"id":235,"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/posts\/217\/revisions\/235"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/media\/230"}],"wp:attachment":[{"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/media?parent=217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/categories?post=217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/tags?post=217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}