{"id":12276,"date":"2023-08-07T07:33:28","date_gmt":"2023-08-06T23:33:28","guid":{"rendered":"https:\/\/fick707.com\/?p=12276"},"modified":"2023-08-07T07:33:28","modified_gmt":"2023-08-06T23:33:28","slug":"statble-diffusion-running-with-amd-gpus","status":"publish","type":"post","link":"https:\/\/fick707.com\/?p=12276","title":{"rendered":"Statble diffusion Running with AMD GPUS"},"content":{"rendered":"<p>For many AMD GPUs, you\u00a0<strong>must<\/strong>\u00a0add\u00a0<code>--precision full --no-half<\/code>\u00a0or\u00a0<code>--upcast-sampling<\/code>\u00a0arguments to avoid NaN errors or crashing. If\u00a0<code>--upcast-sampling<\/code>\u00a0works as a fix with your card, you should have 2x speed (fp16) compared to running in full precision.<\/p>\n<ul>\n<li>Some cards like the Radeon RX 6000 Series and the RX 500 Series will already run fp16 perfectly fine (noted\u00a0<a href=\"https:\/\/github.com\/AUTOMATIC1111\/stable-diffusion-webui\/issues\/5468\">here<\/a>.)<\/li>\n<li>If your card is unable to run SD with the latest pytorch+rocm core package, you can try installing previous versions, by following a more manual installation guide below.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>For many AMD GPUs, you\u00a0must\u00a0add\u00a0&#8211;precision full &#8211; &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[22],"series":[],"class_list":["post-12276","post","type-post","status-publish","format-standard","hentry","category-programmers","tag-sd"],"_links":{"self":[{"href":"https:\/\/fick707.com\/index.php?rest_route=\/wp\/v2\/posts\/12276"}],"collection":[{"href":"https:\/\/fick707.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fick707.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fick707.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fick707.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12276"}],"version-history":[{"count":1,"href":"https:\/\/fick707.com\/index.php?rest_route=\/wp\/v2\/posts\/12276\/revisions"}],"predecessor-version":[{"id":12277,"href":"https:\/\/fick707.com\/index.php?rest_route=\/wp\/v2\/posts\/12276\/revisions\/12277"}],"wp:attachment":[{"href":"https:\/\/fick707.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fick707.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fick707.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12276"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/fick707.com\/index.php?rest_route=%2Fwp%2Fv2%2Fseries&post=12276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}