{"id":426168,"date":"2024-07-13T03:00:08","date_gmt":"2024-07-13T03:00:08","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=426168"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=426168","title":{"rendered":"<span>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c ComfyUI \u043d\u0430 GPU AMD Radeon \u0432 Docker<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/8a1\/337\/07d\/8a133707da47aa993639a15af8ecdb97.jpg\" alt=\"https:\/\/vk.com\/video4072868_456239383\" title=\"https:\/\/vk.com\/video4072868_456239383\" width=\"1280\" height=\"719\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/8a1\/337\/07d\/8a133707da47aa993639a15af8ecdb97.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption><a href=\"https:\/\/vk.com\/video4072868_456239383\" rel=\"noopener noreferrer nofollow\">https:\/\/vk.com\/video4072868_456239383<\/a><\/figcaption><\/div>\n<\/figure>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e\u0431 \u043e\u043f\u044b\u0442\u0435 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0440\u0442\u044b Radeon \u043e\u0442 AMD. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0432\u043e\u0437\u044c\u043c\u0451\u043c ComfyUI \u0438 \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u043c \u0435\u0433\u043e \u0432 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440. \u0410 \u0432 \u043a\u043e\u043d\u0446\u0435, \u0434\u043b\u044f \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b, \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432\u0438\u0434\u0435\u043e \u0432 \u0441\u0442\u0438\u043b\u0435 \u0430\u043d\u0438\u043c\u0435.<\/p>\n<p>\u0412\u0441\u0451 \u043d\u0438\u0436\u0435\u0438\u0437\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0435 \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u043d\u0430 AMD Radeon RX 7900 XTX.<\/p>\n<h2>ROCm \u043e\u0442 AMD<\/h2>\n<p>\u0412 \u043e\u043a\u0442\u044f\u0431\u0440\u0435 2023 \u0433\u043e\u0434\u0430 AMD \u0437\u0430\u043d\u044f\u043b\u0430\u0441\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 <a href=\"https:\/\/pytorch.org\/blog\/amd-extends-support-for-pt-ml\/\" rel=\"noopener noreferrer nofollow\">PyTorch<\/a> \u0434\u043b\u044f \u0441\u0432\u043e\u0438\u0445 <a href=\"https:\/\/rocm.docs.amd.com\/projects\/install-on-linux\/en\/latest\/reference\/system-requirements.html\" rel=\"noopener noreferrer nofollow\">\u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0440\u0442<\/a>. \u041f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 ROCm \u043e\u0442 AMD \u2014 \u044d\u0442\u043e \u0430\u043d\u0430\u043b\u043e\u0433 CUDA \u043e\u0442 Nvidia, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u0435 \u043c\u0430\u0441\u0441\u043e\u0432\u044b\u0445 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439. \u041f\u043b\u044e\u0441\u043e\u043c AMD \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u043e, \u0447\u0442\u043e \u043a\u043e\u0434 ROCm \u043e\u0442\u043a\u0440\u044b\u0442 \u0438 \u0438\u0445 \u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0440\u0442\u044b, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0434\u0435\u0448\u0435\u0432\u043b\u0435, \u0447\u0435\u043c \u0443 Nvidia. \u041d\u043e \u043a \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0430\u043c AMD \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043d\u0435\u0441\u0442\u0438 \u0442\u043e, \u0447\u0442\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0445 \u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0440\u0442\u044b Radeon, \u043c\u0435\u043d\u044c\u0448\u0435, \u0447\u0435\u043c GeForce, \u0447\u0442\u043e \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u044f\u043c \u043f\u043e\u0438\u0441\u043a\u0430 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u044e\u0449\u0438\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c.<\/p>\n<p>\u0414\u043b\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0442\u044b \u043a \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0443 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c ROCm. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u0431\u043e\u0440 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0434\u043b\u044f Ubuntu \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0441\u0442\u043e\u044f\u0442\u044c \u0438\u0437 git, make, docker \u0438 ROCm. \u041e\u0421 \u0438 \u043f\u0435\u0440\u0432\u044b\u0435 \u0442\u0440\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0432\u0441\u0435\u043c \u0445\u043e\u0440\u043e\u0448\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b, \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c \u0438\u0445 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0437\u0434\u0435\u0441\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u043c, \u0430 ROCm \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u043e\u00a0<a href=\"https:\/\/rocm.docs.amd.com\/projects\/install-on-linux\/en\/latest\/tutorial\/quick-start.html\" rel=\"noopener noreferrer nofollow\">\u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438<\/a>.<\/p>\n<details class=\"spoiler\">\n<summary>\u041a\u0440\u0430\u0442\u043a\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 ROCm<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"bash\">sudo apt update sudo apt install \"linux-headers-$(uname -r)\" \"linux-modules-extra-$(uname -r)\" sudo usermod -a -G render,video $LOGNAME wget https:\/\/repo.radeon.com\/amdgpu-install\/6.1.2\/ubuntu\/jammy\/amdgpu-install_6.1.60102-1_all.deb sudo apt install .\/amdgpu-install_6.1.60102-1_all.deb  # \u041f\u0440\u0438 \u043e\u0448\u0438\u0431\u043a\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c: sudo chown -Rv _apt:root \/var\/cache\/apt\/archives\/partial\/ sudo chmod -Rv 700 \/var\/cache\/apt\/archives\/partial\/  sudo apt update sudo apt install amdgpu-dkms rocm<\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<h2>\u041a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u044f<\/h2>\n<p>\u0414\u043b\u044f \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u0438 <a href=\"https:\/\/rocm.docs.amd.com\/projects\/install-on-linux\/en\/develop\/how-to\/3rd-party\/pytorch-install.html#using-the-pytorch-upstream-docker-file\" rel=\"noopener noreferrer nofollow\">AMD \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435 \u043e\u0431\u0440\u0430\u0437\u044b<\/a> \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 <a href=\"https:\/\/github.com\/pytorch\/pytorch\/blob\/main\/.ci\/docker\/build.sh\" rel=\"noopener noreferrer nofollow\">build.sh<\/a>. \u042d\u0442\u043e\u0442 \u0444\u0430\u0439\u043b \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u043e\u0431\u0440\u0430\u0437\u044b \u0438\u0437 <a href=\"https:\/\/github.com\/pytorch\/pytorch\/blob\/main\/.ci\/docker\/ubuntu-rocm\/Dockerfile\" rel=\"noopener noreferrer nofollow\">Dockerfile<\/a> \u043f\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u044b\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c. \u0421\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u043e\u0431\u0440\u0430\u0437 \u0441\u043b\u0443\u0436\u0438\u0442 \u043e\u0441\u043d\u043e\u0432\u043e\u0439 \u0434\u043b\u044f \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0432 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u043b\u044e\u0431\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/p>\n<p>\u0412\u044b\u0431\u0440\u0430\u0432 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0430\u043c\u044b\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044e \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0432\u0435\u0436\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u0439, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u044b\u0439 \u0438 \u043b\u0435\u0433\u043a\u043e \u0447\u0438\u0442\u0430\u0435\u043c\u044b\u0439 \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043e\u0431\u0440\u0430\u0437.<\/p>\n<details class=\"spoiler\">\n<summary>\u041a\u043e\u0434 \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u0430<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"bash\"># https:\/\/github.com\/ROCm\/ROCm-docker\/blob\/master\/dev\/Dockerfile-ubuntu-22.04-complete # https:\/\/github.com\/microsoft\/onnxruntime\/blob\/main\/tools\/ci_build\/github\/pai\/rocm-ci-pipeline-env.Dockerfile FROM ubuntu:22.04  ARG ROCM_VERSION=6.1.3 ARG AMDGPU_VERSION=${ROCM_VERSION} ARG APT_PREF='Package: *\\nPin: release o=repo.radeon.com\\nPin-Priority: 600' RUN echo \"$APT_PREF\" > \/etc\/apt\/preferences.d\/rocm-pin-600  ENV DEBIAN_FRONTEND noninteractive  RUN apt-get update &amp;&amp; apt-get install -y \\     libopenblas-dev \\     ninja-build \\     build-essential \\     pkg-config \\     curl \\     wget \\     git \\     make  RUN curl -sL https:\/\/repo.radeon.com\/rocm\/rocm.gpg.key | apt-key add - &amp;&amp; \\     printf \"deb [arch=amd64] https:\/\/repo.radeon.com\/rocm\/apt\/$ROCM_VERSION\/ jammy main\" | tee \/etc\/apt\/sources.list.d\/rocm.list &amp;&amp; \\     printf \"deb [arch=amd64] https:\/\/repo.radeon.com\/amdgpu\/$AMDGPU_VERSION\/ubuntu jammy main\" | tee \/etc\/apt\/sources.list.d\/amdgpu.list RUN apt-get update &amp;&amp; apt-get install -y \\     rocm-dev \\     rocm-libs  ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1 # Install Conda ENV PATH \/opt\/miniconda\/bin:${PATH} RUN wget --quiet https:\/\/repo.anaconda.com\/miniconda\/Miniconda3-latest-Linux-x86_64.sh -O ~\/miniconda.sh --no-check-certificate &amp;&amp; \/bin\/bash ~\/miniconda.sh -b -p \/opt\/miniconda &amp;&amp; \\     conda init bash &amp;&amp; \\     conda config --set auto_activate_base false &amp;&amp; \\     conda update --all &amp;&amp; \\     rm ~\/miniconda.sh &amp;&amp; conda clean -ya ENV PYTHON_VERSION=3.11 RUN conda install python=${PYTHON_VERSION} pip  # https:\/\/github.com\/comfyanonymous\/ComfyUI\/issues\/3698 ENV TORCH_BLAS_PREFER_HIPBLASLT=0 RUN pip install --pre torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/nightly\/rocm6.1  RUN pip install transformers \\     peft \\     sentencepiece \\     scipy \\     protobuf --extra-index-url https:\/\/download.pytorch.org\/whl\/nightly\/rocm6.1  # https:\/\/github.com\/agrocylo\/bitsandbytes-rocm # or # https:\/\/github.com\/arlo-phoenix\/bitsandbytes-rocm-5.6 ENV PYTORCH_ROCM_ARCH=gfx900,gfx906,gfx908,gfx90a,gfx1030,gfx1100,gfx1101,gfx940,gfx941,gfx942 ENV BITSANDBYTES_VERSION=62353b0200b8557026c176e74ac48b84b953a854 RUN git clone https:\/\/github.com\/arlo-phoenix\/bitsandbytes-rocm-5.6 \/bitsandbytes &amp;&amp; \\     cd \/bitsandbytes &amp;&amp; \\     git checkout ${BITSANDBYTES_VERSION} &amp;&amp; \\     make hip ROCM_TARGET=${PYTORCH_ROCM_ARCH} ROCM_HOME=\/opt\/rocm\/ &amp;&amp; \\     pip install . --extra-index-url https:\/\/download.pytorch.org\/whl\/nightly\/rocm6.1<\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>\u041d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u0430, ComfyUI \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"bash\">FROM hardandheavy\/transformers-rocm:2.1.0  EXPOSE 80  # To upgrade to the higher version, you need to wait for the problem to be resolved # https:\/\/github.com\/abetlen\/llama-cpp-python\/issues\/1481 ENV LLAMA_CPP_PYTHON_VERSION=0.2.56 ENV DAMDGPU_TARGETS=gfx900;gfx906;gfx908;gfx90a;gfx1030;gfx1100;gfx1101;gfx940;gfx941;gfx942 RUN CMAKE_ARGS=\"-DLLAMA_HIPBLAS=ON -DCMAKE_C_COMPILER=\/opt\/rocm\/llvm\/bin\/clang -DCMAKE_CXX_COMPILER=\/opt\/rocm\/llvm\/bin\/clang++ -DAMDGPU_TARGETS=${DAMDGPU_TARGETS}\" pip install llama-cpp-python==${LLAMA_CPP_PYTHON_VERSION}  WORKDIR \/app COPY .\/docker\/Makefile .\/Makefile  CMD make run<\/code><\/pre>\n<ul>\n<li>\n<p>\u041f\u0435\u0440\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u043e\u0439 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043e\u0431\u0440\u0430\u0437 <a href=\"https:\/\/github.com\/HardAndHeavy\/transformers-rocm-docker\/blob\/main\/Dockerfile\" rel=\"noopener noreferrer nofollow\">hardandheavy\/transformers-rocm<\/a>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0443\u0436\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u0441\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 <a href=\"https:\/\/github.com\/comfyanonymous\/ComfyUI#amd-gpus-linux-only\" rel=\"noopener noreferrer nofollow\">\u043f\u0430\u043a\u0435\u0442\u044b \u0434\u043b\u044f ComfyUI<\/a>;<\/p>\n<\/li>\n<li>\n<p>\u0421 5 \u043f\u043e 9 \u0441\u0442\u0440\u043e\u043a\u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f llama-cpp-python (\u0441\u0442\u0440\u043e\u043a\u0438 \u0441 5 \u043f\u043e 6). \u042d\u0442\u043e\u0442 \u043f\u0430\u043a\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439 ComfyUI;<\/p>\n<\/li>\n<li>\n<p>12-\u0439 \u0441\u0442\u0440\u043e\u043a\u043e\u0439 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043d\u0430\u0431\u043e\u0440 \u043a\u043e\u043c\u0430\u043d\u0434 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 ComfyUI.<\/p>\n<\/li>\n<\/ul>\n<p>\u041a\u043e\u0434 Makefile \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0447\u0438\u0442\u0430\u0442\u044c \u0441 14-\u0439 \u0441\u0442\u0440\u043e\u043a\u0438. \u0412\u043d\u0430\u0447\u0430\u043b\u0435 \u0438\u0434\u0451\u0442 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f: \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 ComfyUI. \u0410 \u0437\u0430\u0442\u0435\u043c \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438 \u0435\u0451 \u0437\u0430\u043f\u0443\u0441\u043a.<\/p>\n<pre><code class=\"bash\">COMFYUI_CHECK_SEED_FILE = \/check\/comfyui-check-seed-file MANAGER_CHECK_SEED_FILE = \/check\/manager-check-seed-file  init: if [ ! -f $(COMFYUI_CHECK_SEED_FILE) ]; then \\ git clone https:\/\/github.com\/comfyanonymous\/ComfyUI \/comfyui &amp;&amp; \\ cd \/comfyui &amp;&amp; \\ pip install -r requirements.txt &amp;&amp; \\ touch $(COMFYUI_CHECK_SEED_FILE); fi if [ ! -f $(MANAGER_CHECK_SEED_FILE) ]; then \\ git clone https:\/\/github.com\/ltdrdata\/ComfyUI-Manager \/comfyui\/custom_nodes\/ComfyUI-Manager &amp;&amp; \\ touch $(MANAGER_CHECK_SEED_FILE); fi  run: init cd \/comfyui &amp;&amp; \\ python main.py --listen 0.0.0.0 --port 80<\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<h2>\u0417\u0430\u043f\u0443\u0441\u043a ComfyUI<\/h2>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0441\u0431\u043e\u0440\u043a\u0438 ComfyUI, \u0437\u0430\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043c\u043e\u0436\u043d\u043e \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u044c \u0442\u0440\u0435\u043c\u044f \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438:<\/p>\n<pre><code class=\"bash\">git clone https:\/\/github.com\/HardAndHeavy\/comfyui-rocm-docker cd comfyui-rocm-docker make run<\/code><\/pre>\n<p>\u041f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442\u044c \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438. \u041a\u043e\u0433\u0434\u0430 \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0441\u044f, ComfyUI \u0441\u0442\u0430\u043d\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443\u00a0<a href=\"http:\/\/localhost\/\" rel=\"noopener noreferrer nofollow\">http:\/\/localhost<\/a>.<\/p>\n<h2>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0430\u043d\u0438\u043c\u0435<\/h2>\n<p>\u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0430\u043d\u0438\u043c\u0435 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0432\u0438\u0434\u0435\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u0441\u0442\u0430\u0442\u044c\u0451\u0439 <a href=\"https:\/\/civitai.com\/articles\/5906\/guide-unsampling-for-animatediffhotshot-an-inner-reflections-guide\" rel=\"noopener noreferrer nofollow\">Unsampling for AnimateDiff\/Hotshot &#8212; An Inner-Reflections Guide<\/a> \u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u043c \u043e\u0442 <a href=\"https:\/\/civitai.com\/user\/Catz\" rel=\"noopener noreferrer nofollow\">Catz<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0438\u043b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b. \u0410 \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0447\u0442\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438 \u0442\u0435\u043a\u0441\u0442 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043d \u043a\u0430\u043a \u043a\u0440\u0430\u0442\u043a\u0438\u0439 \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u0435\u0439 \u043f\u043e\u0434 \u043d\u0430\u0448 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u043e\u0431\u0440\u0430\u0437.<\/p>\n<p>\u0424\u0430\u0439\u043b\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a, \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u0438\u0434\u0435\u043e \u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043f\u043e <a href=\"https:\/\/disk.yandex.ru\/d\/_aaqyzji6VDILQ\" rel=\"noopener noreferrer nofollow\">\u0441\u0441\u044b\u043b\u043a\u0435<\/a>.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u044f \u0432 ComfyUI, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0436\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u00abLoad\u00bb \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 anime.json. \u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0430\u044f \u0441\u0432\u044f\u0437\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u0443\u0437\u043b\u043e\u0432. \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0437\u043b\u044b \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u044b \u043a\u0440\u0430\u0441\u043d\u044b\u043c \u0446\u0432\u0435\u0442\u043e\u043c, \u0442\u0430\u043a \u043a\u0430\u043a \u0434\u043b\u044f \u043d\u0438\u0445 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f. \u0427\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u043e, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0436\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u00abManager\u00bb, \u0437\u0430\u0442\u0435\u043c \u2014 \u00abInstall Missing Custom Nodes\u00bb \u0438, \u043e\u0442\u043c\u0435\u0442\u0438\u0432 \u0432\u0441\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f, \u043d\u0430\u0436\u0430\u0442\u044c \u00abInstall\u00bb. \u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c\u0441\u044f, \u0434\u043b\u044f \u0447\u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0436\u0430\u0442\u044c \u00abRestart\u00bb. \u0410 \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u043d\u0430\u0436\u0430\u0432 \u00abF5\u00bb.<\/p>\n<p>\u0412\u0430\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e ComfyUI \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u0430 \u043c\u043e\u0436\u0435\u0442 \u0443\u0441\u0442\u0430\u0440\u0435\u0442\u044c, \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u0431\u0443\u0434\u0443\u0442 \u043d\u0435\u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u043c\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c ComfyUI, \u043d\u0430\u0436\u0430\u0432 \u043a\u043d\u043e\u043f\u043a\u0443 \u00abManager\u00bb, \u0430 \u0437\u0430\u0442\u0435\u043c \u00abUpdate ComfyUI\u00bb.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0434 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u0434\u043b\u044f \u0443\u0437\u043b\u043e\u0432 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0443 data, \u0442\u0430\u043a \u043a\u0430\u043a \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b\u0441\u044f \u043e\u0442 \u0438\u043c\u0435\u043d\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f root. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443\u00a0<code>sudo chmod -R 777 .\/data<\/code>.<\/p>\n<p>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b:<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/civitai.com\/models\/118406?modelVersionId=265012\" rel=\"noopener noreferrer nofollow\">counterfeitxl_v25.safetensors<\/a> \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 .\/data\/comfyui\/models\/checkpoints;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/huggingface.co\/stabilityai\/sdxl-vae\/blob\/main\/sdxl_vae.safetensors\" rel=\"noopener noreferrer nofollow\">sdxl_vae.safetensors<\/a> \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 .\/data\/comfyui\/models\/vae;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/huggingface.co\/hotshotco\/Hotshot-XL\/blob\/main\/hsxl_temporal_layers.safetensors\" rel=\"noopener noreferrer nofollow\">hsxl_temporal_layers.safetensors<\/a> \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 .\/data\/comfyui\/custom_nodes\/ComfyUI-AnimateDiff-Evolved\/models;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/huggingface.co\/xinsir\/anime-painter\/blob\/main\/diffusion_pytorch_model.safetensors\" rel=\"noopener noreferrer nofollow\">diffusion_pytorch_model.safetensors<\/a> \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0432 xinsir_anime_painter.safetensors \u0438 \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 .\/data\/comfyui\/models\/controlnet.<\/p>\n<\/li>\n<\/ul>\n<p>\u0414\u043b\u044f \u0443\u0437\u043b\u0430 \u00abLoadVideo\u00bb \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0432\u0438\u0434\u0435\u043e\u0444\u0430\u0439\u043b original.mp4. \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u00abframerate\u00bb \u043d\u0430 \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u044c \u043e\u0442 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442. \u0410 \u0434\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u00abimagers_limit\u00bb \u0440\u0430\u0432\u043d\u044b\u043c 5 \u043a\u0430\u0434\u0440\u0430\u043c. \u0414\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0432\u0441\u0435\u0445 \u043a\u0430\u0434\u0440\u043e\u0432 \u00abimagers_limit\u00bb \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0440\u0430\u0432\u043d\u044b\u043c 0.<\/p>\n<p>\u0414\u043b\u044f \u0443\u0437\u043b\u0430 \u00abVideo Combine\u00bb \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u00abframe_rate\u00bb \u0440\u0430\u0432\u043d\u044b\u043c \u0447\u0430\u0441\u0442\u043e\u0442\u0435 \u043a\u0430\u0434\u0440\u043e\u0432 \u0438\u0437 \u0443\u0437\u043b\u0430 \u00abLoadVideo\u00bb. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e 15, \u0442. \u0435. 60 \u043a\u0430\u0434\u0440\u043e\u0432 \u0438\u0437 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0438\u0434\u0435\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u043d\u0430 \u00abframerate\u00bb.<\/p>\n<p>\u0414\u043b\u044f \u0443\u0437\u043b\u0430 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e Promt (\u00abCLIPTextEncodeSDXL\u00bb \u0437\u0435\u043b\u0451\u043d\u043e\u0433\u043e \u0446\u0432\u0435\u0442\u0430) \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u0442\u0435\u043a\u0441\u0442 \u0432\u0432\u0435\u0440\u0445\u0443 \u0438 \u0432\u043d\u0438\u0437\u0443 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0442\u0435\u043a\u0441\u0442 \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u0438\u043c: \u00abmasterpiece, smooth color, 1 boy, dark hair, simple background, white shirt, blue trousers, barefoot, anime style, stairs, green grass\u00bb.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0432\u0441\u0435\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u043c\u044b \u0433\u043e\u0442\u043e\u0432\u044b \u043a \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u0430\u043d\u0438\u043c\u0435. \u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u00abQueue Promt\u00bb \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0430\u043d\u0438\u043c\u0435 \u0438\u0437 \u0432\u0438\u0434\u0435\u043e (\u0444\u0430\u0439\u043b anime.mp4).<\/p>\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/6691ea0b2331bb9d7103ed4b\" data-style=\"\" id=\"6691ea0b2331bb9d7103ed4b\" width=\"\"><\/div>\n<p>\u0414\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u0432\u0438\u0434\u0435\u043e (\u0443\u0437\u0435\u043b \u00abLoadVideo\u00bb) \u0438 \u043c\u043e\u0434\u0435\u043b\u0438 (\u0443\u0437\u0435\u043b \u00abLoad Checkpoint\u00bb) \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u043f\u043e\u0437\u0438\u0442\u0438\u0432\u043d\u044b\u0439 \u0438 \u043d\u0435\u0433\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043f\u0440\u043e\u043c\u0442. \u041d\u0435\u0433\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043f\u0440\u043e\u043c\u0442 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0440\u0435\u0436\u0435. \u0422\u0430\u043a\u0436\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c:<\/p>\n<ul>\n<li>\n<p>\u00abstrength\u00bb \u0438 \u00abend_percent\u00bb \u0434\u043b\u044f \u0443\u0437\u043b\u0430 \u00abApply Advanced ControlNet\u00bb;<\/p>\n<\/li>\n<li>\n<p>\u00abresolution\u00bb \u0434\u043b\u044f \u00abRealistic Lineart\u00bb;<\/p>\n<\/li>\n<li>\n<p>\u00abcfg\u00bb \u0434\u043b\u044f \u00abSamplerCustom\u00bb.<\/p>\n<\/li>\n<\/ul>\n<p>\u0412 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0432\u044b\u0448\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b, \u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u0435\u0449\u0451 \u043f\u0430\u0440\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432:<\/p>\n<details class=\"spoiler\">\n<summary>\u0410\u043d\u0438\u043c\u0430\u0446\u0438\u044f \u0432 \u0441\u0442\u0438\u043b\u0435 \u043e\u0440\u0438\u0433\u0430\u043c\u0438<\/summary>\n<div class=\"spoiler__content\">\n<p>\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 angle.json.<\/p>\n<p>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b:<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/civitai.com\/models\/125703\/protovision-xl-high-fidelity-3d-photorealism-anime-hyperrealism-no-refiner-needed\" rel=\"noopener noreferrer nofollow\">protovisionXLHighFidelity3D_releaseV660Bakedvae.safetensors<\/a> \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 .\/data\/comfyui\/models\/checkpoints;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/huggingface.co\/xinsir\/controlnet-union-sdxl-1.0\/blob\/main\/diffusion_pytorch_model.safetensors\" rel=\"noopener noreferrer nofollow\">diffusion_pytorch_model.safetensors<\/a> \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0432 xinsir_controlnet_union.safetensors \u0438 \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 .\/data\/comfyui\/models\/controlnet.<\/p>\n<\/li>\n<\/ul>\n<p>\u0414\u043b\u044f \u0443\u0437\u043b\u0430 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043c\u0442\u0430 \u0432\u0432\u043e\u0434\u0438\u043c \u0442\u0435\u043a\u0441\u0442: \u00ab((masterpiece, best quality)), Origami young man, folding sculpture, wearing white origami shirt, blue origami jeans, dark origami hair, origami barefoot, depth of field, detailed, sharp, 8k resolution, very detailed, cinematic lighting, trending on artstation, hyperdetailed, stairs, green grass\u00bb.<\/p>\n<p>\u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432\u0438\u0434\u0435\u043e \u0432 \u0441\u0442\u0438\u043b\u0435 \u043e\u0440\u0438\u0433\u0430\u043c\u0438 (\u0444\u0430\u0439\u043b angle.mp4).<\/p>\n<p>\u0418\u0434\u0435\u044f \u0441 \u043e\u0440\u0438\u0433\u0430\u043c\u0438 \u0432\u0437\u044f\u0442\u0430 \u0438\u0437 \u0432\u0438\u0434\u0435\u043e <a href=\"https:\/\/www.youtube.com\/watch?v=AugFKDGyVuw\" rel=\"noopener noreferrer nofollow\">AnimateDiff Tutorial<\/a>.<\/p>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>\u0410\u043d\u0438\u043c\u0435 \u043e\u0442 Studio Ghibli<\/summary>\n<div class=\"spoiler__content\">\n<p>\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 cartoon.json.<\/p>\n<p>\u0414\u043b\u044f \u0443\u0437\u043b\u0430 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043c\u0442\u0430 \u0432\u0432\u043e\u0434\u0438\u043c \u0442\u0435\u043a\u0441\u0442: \u00abanime key visual, 70s Art, stylized by Studio Ghibli, Shinji Aramaki, 1 boy, dark hair, simple background, white shirt, blue trousers, barefoot, anime style, stairs, green grass\u00bb<\/p>\n<p>\u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432\u0438\u0434\u0435\u043e \u0432 \u0441\u0442\u0438\u043b\u0435 \u0430\u043d\u0438\u043c\u0435 \u043e\u0442 Studio Ghibli (\u0444\u0430\u0439\u043b cartoon.mp4).<\/p>\n<\/div>\n<\/details>\n<p>\u041d\u0430 \u044d\u0442\u043e\u043c \u0432\u0441\u0451. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044e \u0432\u0441\u0435\u0445 \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435! \u0416\u0435\u043b\u0430\u044e \u0440\u0430\u0441\u043a\u0440\u044b\u0442\u044c \u0432\u0441\u0435 \u0432\u0430\u0448\u0438 \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u043a\u0438\u0435 \u0438\u0434\u0435\u0438 \u0441 ComfyUI \u0438, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u0438!<\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/828576\/\"> https:\/\/habr.com\/ru\/articles\/828576\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\">\n<div><figcaption><a href=\"https:\/\/vk.com\/video4072868_456239383\" rel=\"noopener noreferrer nofollow\">https:\/\/vk.com\/video4072868_456239383<\/a><\/figcaption><\/div>\n<\/figure>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e\u0431 \u043e\u043f\u044b\u0442\u0435 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0440\u0442\u044b Radeon \u043e\u0442 AMD. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0432\u043e\u0437\u044c\u043c\u0451\u043c ComfyUI \u0438 \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u043c \u0435\u0433\u043e \u0432 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440. \u0410 \u0432 \u043a\u043e\u043d\u0446\u0435, \u0434\u043b\u044f \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b, \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432\u0438\u0434\u0435\u043e \u0432 \u0441\u0442\u0438\u043b\u0435 \u0430\u043d\u0438\u043c\u0435.<\/p>\n<p>\u0412\u0441\u0451 \u043d\u0438\u0436\u0435\u0438\u0437\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0435 \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u043d\u0430 AMD Radeon RX 7900 XTX.<\/p>\n<h2>ROCm \u043e\u0442 AMD<\/h2>\n<p>\u0412 \u043e\u043a\u0442\u044f\u0431\u0440\u0435 2023 \u0433\u043e\u0434\u0430 AMD \u0437\u0430\u043d\u044f\u043b\u0430\u0441\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 <a href=\"https:\/\/pytorch.org\/blog\/amd-extends-support-for-pt-ml\/\" rel=\"noopener noreferrer nofollow\">PyTorch<\/a> \u0434\u043b\u044f \u0441\u0432\u043e\u0438\u0445 <a href=\"https:\/\/rocm.docs.amd.com\/projects\/install-on-linux\/en\/latest\/reference\/system-requirements.html\" rel=\"noopener noreferrer nofollow\">\u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0440\u0442<\/a>. \u041f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 ROCm \u043e\u0442 AMD \u2014 \u044d\u0442\u043e \u0430\u043d\u0430\u043b\u043e\u0433 CUDA \u043e\u0442 Nvidia, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u0435 \u043c\u0430\u0441\u0441\u043e\u0432\u044b\u0445 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439. \u041f\u043b\u044e\u0441\u043e\u043c AMD \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u043e, \u0447\u0442\u043e \u043a\u043e\u0434 ROCm \u043e\u0442\u043a\u0440\u044b\u0442 \u0438 \u0438\u0445 \u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0440\u0442\u044b, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0434\u0435\u0448\u0435\u0432\u043b\u0435, \u0447\u0435\u043c \u0443 Nvidia. \u041d\u043e \u043a \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0430\u043c AMD \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043d\u0435\u0441\u0442\u0438 \u0442\u043e, \u0447\u0442\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0445 \u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0440\u0442\u044b Radeon, \u043c\u0435\u043d\u044c\u0448\u0435, \u0447\u0435\u043c GeForce, \u0447\u0442\u043e \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u044f\u043c \u043f\u043e\u0438\u0441\u043a\u0430 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u044e\u0449\u0438\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c.<\/p>\n<p>\u0414\u043b\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0442\u044b \u043a \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0443 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c ROCm. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u0431\u043e\u0440 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0434\u043b\u044f Ubuntu \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0441\u0442\u043e\u044f\u0442\u044c \u0438\u0437 git, make, docker \u0438 ROCm. \u041e\u0421 \u0438 \u043f\u0435\u0440\u0432\u044b\u0435 \u0442\u0440\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0432\u0441\u0435\u043c \u0445\u043e\u0440\u043e\u0448\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b, \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c \u0438\u0445 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0437\u0434\u0435\u0441\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u043c, \u0430 ROCm \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u043e\u00a0<a href=\"https:\/\/rocm.docs.amd.com\/projects\/install-on-linux\/en\/latest\/tutorial\/quick-start.html\" rel=\"noopener noreferrer nofollow\">\u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438<\/a>.<\/p>\n<details class=\"spoiler\">\n<summary>\u041a\u0440\u0430\u0442\u043a\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 ROCm<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"bash\">sudo apt update sudo apt install \"linux-headers-$(uname -r)\" \"linux-modules-extra-$(uname -r)\" sudo usermod -a -G render,video $LOGNAME wget https:\/\/repo.radeon.com\/amdgpu-install\/6.1.2\/ubuntu\/jammy\/amdgpu-install_6.1.60102-1_all.deb sudo apt install .\/amdgpu-install_6.1.60102-1_all.deb  # \u041f\u0440\u0438 \u043e\u0448\u0438\u0431\u043a\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c: sudo chown -Rv _apt:root \/var\/cache\/apt\/archives\/partial\/ sudo chmod -Rv 700 \/var\/cache\/apt\/archives\/partial\/  sudo apt update sudo apt install amdgpu-dkms rocm<\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<h2>\u041a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u044f<\/h2>\n<p>\u0414\u043b\u044f \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u0438 <a href=\"https:\/\/rocm.docs.amd.com\/projects\/install-on-linux\/en\/develop\/how-to\/3rd-party\/pytorch-install.html#using-the-pytorch-upstream-docker-file\" rel=\"noopener noreferrer nofollow\">AMD \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435 \u043e\u0431\u0440\u0430\u0437\u044b<\/a> \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 <a href=\"https:\/\/github.com\/pytorch\/pytorch\/blob\/main\/.ci\/docker\/build.sh\" rel=\"noopener noreferrer nofollow\">build.sh<\/a>. \u042d\u0442\u043e\u0442 \u0444\u0430\u0439\u043b \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u043e\u0431\u0440\u0430\u0437\u044b \u0438\u0437 <a href=\"https:\/\/github.com\/pytorch\/pytorch\/blob\/main\/.ci\/docker\/ubuntu-rocm\/Dockerfile\" rel=\"noopener noreferrer nofollow\">Dockerfile<\/a> \u043f\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u044b\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c. \u0421\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u043e\u0431\u0440\u0430\u0437 \u0441\u043b\u0443\u0436\u0438\u0442 \u043e\u0441\u043d\u043e\u0432\u043e\u0439 \u0434\u043b\u044f \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0432 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u043b\u044e\u0431\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/p>\n<p>\u0412\u044b\u0431\u0440\u0430\u0432 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0430\u043c\u044b\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044e \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0432\u0435\u0436\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u0439, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u044b\u0439 \u0438 \u043b\u0435\u0433\u043a\u043e \u0447\u0438\u0442\u0430\u0435\u043c\u044b\u0439 \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043e\u0431\u0440\u0430\u0437.<\/p>\n<details class=\"spoiler\">\n<summary>\u041a\u043e\u0434 \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u0430<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"bash\"># https:\/\/github.com\/ROCm\/ROCm-docker\/blob\/master\/dev\/Dockerfile-ubuntu-22.04-complete # https:\/\/github.com\/microsoft\/onnxruntime\/blob\/main\/tools\/ci_build\/github\/pai\/rocm-ci-pipeline-env.Dockerfile FROM ubuntu:22.04  ARG ROCM_VERSION=6.1.3 ARG AMDGPU_VERSION=${ROCM_VERSION} ARG APT_PREF='Package: *\\nPin: release o=repo.radeon.com\\nPin-Priority: 600' RUN echo \"$APT_PREF\" > \/etc\/apt\/preferences.d\/rocm-pin-600  ENV DEBIAN_FRONTEND noninteractive  RUN apt-get update &amp;&amp; apt-get install -y \\     libopenblas-dev \\     ninja-build \\     build-essential \\     pkg-config \\     curl \\     wget \\     git \\     make  RUN curl -sL https:\/\/repo.radeon.com\/rocm\/rocm.gpg.key | apt-key add - &amp;&amp; \\     printf \"deb [arch=amd64] https:\/\/repo.radeon.com\/rocm\/apt\/$ROCM_VERSION\/ jammy main\" | tee \/etc\/apt\/sources.list.d\/rocm.list &amp;&amp; \\     printf \"deb [arch=amd64] https:\/\/repo.radeon.com\/amdgpu\/$AMDGPU_VERSION\/ubuntu jammy main\" | tee \/etc\/apt\/sources.list.d\/amdgpu.list RUN apt-get update &amp;&amp; apt-get install -y \\     rocm-dev \\     rocm-libs  ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1 # Install Conda ENV PATH \/opt\/miniconda\/bin:${PATH} RUN wget --quiet https:\/\/repo.anaconda.com\/miniconda\/Miniconda3-latest-Linux-x86_64.sh -O ~\/miniconda.sh --no-check-certificate &amp;&amp; \/bin\/bash ~\/miniconda.sh -b -p \/opt\/miniconda &amp;&amp; \\     conda init bash &amp;&amp; \\     conda config --set auto_activate_base false &amp;&amp; \\     conda update --all &amp;&amp; \\     rm ~\/miniconda.sh &amp;&amp; conda clean -ya ENV PYTHON_VERSION=3.11 RUN conda install python=${PYTHON_VERSION} pip  # https:\/\/github.com\/comfyanonymous\/ComfyUI\/issues\/3698 ENV TORCH_BLAS_PREFER_HIPBLASLT=0 RUN pip install --pre torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/nightly\/rocm6.1  RUN pip install transformers \\     peft \\     sentencepiece \\     scipy \\     protobuf --extra-index-url https:\/\/download.pytorch.org\/whl\/nightly\/rocm6.1  # https:\/\/github.com\/agrocylo\/bitsandbytes-rocm # or # https:\/\/github.com\/arlo-phoenix\/bitsandbytes-rocm-5.6 ENV PYTORCH_ROCM_ARCH=gfx900,gfx906,gfx908,gfx90a,gfx1030,gfx1100,gfx1101,gfx940,gfx941,gfx942 ENV BITSANDBYTES_VERSION=62353b0200b8557026c176e74ac48b84b953a854 RUN git clone https:\/\/github.com\/arlo-phoenix\/bitsandbytes-rocm-5.6 \/bitsandbytes &amp;&amp; \\     cd \/bitsandbytes &amp;&amp; \\     git checkout ${BITSANDBYTES_VERSION} &amp;&amp; \\     make hip ROCM_TARGET=${PYTORCH_ROCM_ARCH} ROCM_HOME=\/opt\/rocm\/ &amp;&amp; \\     pip install . --extra-index-url https:\/\/download.pytorch.org\/whl\/nightly\/rocm6.1<\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>\u041d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u0430, ComfyUI \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"bash\">FROM hardandheavy\/transformers-rocm:2.1.0  EXPOSE 80  # To upgrade to the higher version, you need to wait for the problem to be resolved # https:\/\/github.com\/abetlen\/llama-cpp-python\/issues\/1481 ENV LLAMA_CPP_PYTHON_VERSION=0.2.56 ENV DAMDGPU_TARGETS=gfx900;gfx906;gfx908;gfx90a;gfx1030;gfx1100;gfx1101;gfx940;gfx941;gfx942 RUN CMAKE_ARGS=\"-DLLAMA_HIPBLAS=ON -DCMAKE_C_COMPILER=\/opt\/rocm\/llvm\/bin\/clang -DCMAKE_CXX_COMPILER=\/opt\/rocm\/llvm\/bin\/clang++ -DAMDGPU_TARGETS=${DAMDGPU_TARGETS}\" pip install llama-cpp-python==${LLAMA_CPP_PYTHON_VERSION}  WORKDIR \/app COPY .\/docker\/Makefile .\/Makefile  CMD make run<\/code><\/pre>\n<ul>\n<li>\n<p>\u041f\u0435\u0440\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u043e\u0439 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043e\u0431\u0440\u0430\u0437 <a href=\"https:\/\/github.com\/HardAndHeavy\/transformers-rocm-docker\/blob\/main\/Dockerfile\" rel=\"noopener noreferrer nofollow\">hardandheavy\/transformers-rocm<\/a>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0443\u0436\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u0441\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 <a href=\"https:\/\/github.com\/comfyanonymous\/ComfyUI#amd-gpus-linux-only\" rel=\"noopener noreferrer nofollow\">\u043f\u0430\u043a\u0435\u0442\u044b \u0434\u043b\u044f ComfyUI<\/a>;<\/p>\n<\/li>\n<li>\n<p>\u0421 5 \u043f\u043e 9 \u0441\u0442\u0440\u043e\u043a\u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f llama-cpp-python (\u0441\u0442\u0440\u043e\u043a\u0438 \u0441 5 \u043f\u043e 6). \u042d\u0442\u043e\u0442 \u043f\u0430\u043a\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439 ComfyUI;<\/p>\n<\/li>\n<li>\n<p>12-\u0439 \u0441\u0442\u0440\u043e\u043a\u043e\u0439 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043d\u0430\u0431\u043e\u0440 \u043a\u043e\u043c\u0430\u043d\u0434 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 ComfyUI.<\/p>\n<\/li>\n<\/ul>\n<p>\u041a\u043e\u0434 Makefile \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0447\u0438\u0442\u0430\u0442\u044c \u0441 14-\u0439 \u0441\u0442\u0440\u043e\u043a\u0438. \u0412\u043d\u0430\u0447\u0430\u043b\u0435 \u0438\u0434\u0451\u0442 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f: \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 ComfyUI. \u0410 \u0437\u0430\u0442\u0435\u043c \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438 \u0435\u0451 \u0437\u0430\u043f\u0443\u0441\u043a.<\/p>\n<pre><code class=\"bash\">COMFYUI_CHECK_SEED_FILE = \/check\/comfyui-check-seed-file MANAGER_CHECK_SEED_FILE = \/check\/manager-check-seed-file  init: if [ ! -f $(COMFYUI_CHECK_SEED_FILE) ]; then \\ git clone https:\/\/github.com\/comfyanonymous\/ComfyUI \/comfyui &amp;&amp; \\ cd \/comfyui &amp;&amp; \\ pip install -r requirements.txt &amp;&amp; \\ touch $(COMFYUI_CHECK_SEED_FILE); fi if [ ! -f $(MANAGER_CHECK_SEED_FILE) ]; then \\ git clone https:\/\/github.com\/ltdrdata\/ComfyUI-Manager \/comfyui\/custom_nodes\/ComfyUI-Manager &amp;&amp; \\ touch $(MANAGER_CHECK_SEED_FILE); fi  run: init cd \/comfyui &amp;&amp; \\ python main.py --listen 0.0.0.0 --port 80<\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<h2>\u0417\u0430\u043f\u0443\u0441\u043a ComfyUI<\/h2>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0441\u0431\u043e\u0440\u043a\u0438 ComfyUI, \u0437\u0430\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043c\u043e\u0436\u043d\u043e \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u044c \u0442\u0440\u0435\u043c\u044f \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438:<\/p>\n<pre><code class=\"bash\">git clone https:\/\/github.com\/HardAndHeavy\/comfyui-rocm-docker cd comfyui-rocm-docker make run<\/code><\/pre>\n<p>\u041f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442\u044c \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438. \u041a\u043e\u0433\u0434\u0430 \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0441\u044f, ComfyUI \u0441\u0442\u0430\u043d\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443\u00a0<a href=\"http:\/\/localhost\/\" rel=\"noopener noreferrer nofollow\">http:\/\/localhost<\/a>.<\/p>\n<h2>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0430\u043d\u0438\u043c\u0435<\/h2>\n<p>\u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0430\u043d\u0438\u043c\u0435 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0432\u0438\u0434\u0435\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u0441\u0442\u0430\u0442\u044c\u0451\u0439 <a href=\"https:\/\/civitai.com\/articles\/5906\/guide-unsampling-for-animatediffhotshot-an-inner-reflections-guide\" rel=\"noopener noreferrer nofollow\">Unsampling for AnimateDiff\/Hotshot &#8212; An Inner-Reflections Guide<\/a> \u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u043c \u043e\u0442 <a href=\"https:\/\/civitai.com\/user\/Catz\" rel=\"noopener noreferrer nofollow\">Catz<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0438\u043b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b. \u0410 \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0447\u0442\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438 \u0442\u0435\u043a\u0441\u0442 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043d \u043a\u0430\u043a \u043a\u0440\u0430\u0442\u043a\u0438\u0439 \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u0435\u0439 \u043f\u043e\u0434 \u043d\u0430\u0448 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u043e\u0431\u0440\u0430\u0437.<\/p>\n<p>\u0424\u0430\u0439\u043b\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a, \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u0438\u0434\u0435\u043e \u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043f\u043e <a href=\"https:\/\/disk.yandex.ru\/d\/_aaqyzji6VDILQ\" rel=\"noopener noreferrer nofollow\">\u0441\u0441\u044b\u043b\u043a\u0435<\/a>.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u044f \u0432 ComfyUI, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0436\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u00abLoad\u00bb \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 anime.json. \u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0430\u044f \u0441\u0432\u044f\u0437\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u0443\u0437\u043b\u043e\u0432. \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0437\u043b\u044b \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u044b \u043a\u0440\u0430\u0441\u043d\u044b\u043c \u0446\u0432\u0435\u0442\u043e\u043c, \u0442\u0430\u043a \u043a\u0430\u043a \u0434\u043b\u044f \u043d\u0438\u0445 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f. \u0427\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u043e, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0436\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u00abManager\u00bb, \u0437\u0430\u0442\u0435\u043c \u2014 \u00abInstall Missing Custom Nodes\u00bb \u0438, \u043e\u0442\u043c\u0435\u0442\u0438\u0432 \u0432\u0441\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f, \u043d\u0430\u0436\u0430\u0442\u044c \u00abInstall\u00bb. \u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c\u0441\u044f, \u0434\u043b\u044f \u0447\u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0436\u0430\u0442\u044c \u00abRestart\u00bb. \u0410 \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u043d\u0430\u0436\u0430\u0432 \u00abF5\u00bb.<\/p>\n<p>\u0412\u0430\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e ComfyUI \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u0430 \u043c\u043e\u0436\u0435\u0442 \u0443\u0441\u0442\u0430\u0440\u0435\u0442\u044c, \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u0431\u0443\u0434\u0443\u0442 \u043d\u0435\u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u043c\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c ComfyUI, \u043d\u0430\u0436\u0430\u0432 \u043a\u043d\u043e\u043f\u043a\u0443 \u00abManager\u00bb, \u0430 \u0437\u0430\u0442\u0435\u043c \u00abUpdate ComfyUI\u00bb.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0434 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u0434\u043b\u044f \u0443\u0437\u043b\u043e\u0432 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0443 data, \u0442\u0430\u043a \u043a\u0430\u043a \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b\u0441\u044f \u043e\u0442 \u0438\u043c\u0435\u043d\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f root. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443\u00a0<code>sudo chmod -R 777 .\/data<\/code>.<\/p>\n<p>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b:<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/civitai.com\/models\/118406?modelVersionId=265012\" rel=\"noopener noreferrer nofollow\">counterfeitxl_v25.safetensors<\/a> \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 .\/data\/comfyui\/models\/checkpoints;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/huggingface.co\/stabilityai\/sdxl-vae\/blob\/main\/sdxl_vae.safetensors\" rel=\"noopener noreferrer nofollow\">sdxl_vae.safetensors<\/a> \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 .\/data\/comfyui\/models\/vae;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/huggingface.co\/hotshotco\/Hotshot-XL\/blob\/main\/hsxl_temporal_layers.safetensors\" rel=\"noopener noreferrer nofollow\">hsxl_temporal_layers.safetensors<\/a> \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 .\/data\/comfyui\/custom_nodes\/ComfyUI-AnimateDiff-Evolved\/models;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/huggingface.co\/xinsir\/anime-painter\/blob\/main\/diffusion_pytorch_model.safetensors\" rel=\"noopener noreferrer nofollow\">diffusion_pytorch_model.safetensors<\/a> \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0432 xinsir_anime_painter.safetensors \u0438 \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 .\/data\/comfyui\/models\/controlnet.<\/p>\n<\/li>\n<\/ul>\n<p>\u0414\u043b\u044f \u0443\u0437\u043b\u0430 \u00abLoadVideo\u00bb \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0432\u0438\u0434\u0435\u043e\u0444\u0430\u0439\u043b original.mp4. \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u00abframerate\u00bb \u043d\u0430 \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u044c \u043e\u0442 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442. \u0410 \u0434\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u00abimagers_limit\u00bb \u0440\u0430\u0432\u043d\u044b\u043c 5 \u043a\u0430\u0434\u0440\u0430\u043c. \u0414\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0432\u0441\u0435\u0445 \u043a\u0430\u0434\u0440\u043e\u0432 \u00abimagers_limit\u00bb \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0440\u0430\u0432\u043d\u044b\u043c 0.<\/p>\n<p>\u0414\u043b\u044f \u0443\u0437\u043b\u0430 \u00abVideo Combine\u00bb \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u00abframe_rate\u00bb \u0440\u0430\u0432\u043d\u044b\u043c \u0447\u0430\u0441\u0442\u043e\u0442\u0435 \u043a\u0430\u0434\u0440\u043e\u0432 \u0438\u0437 \u0443\u0437\u043b\u0430 \u00abLoadVideo\u00bb. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e 15, \u0442. \u0435. 60 \u043a\u0430\u0434\u0440\u043e\u0432 \u0438\u0437 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0438\u0434\u0435\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u043d\u0430 \u00abframerate\u00bb.<\/p>\n<p>\u0414\u043b\u044f \u0443\u0437\u043b\u0430 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e Promt (\u00abCLIPTextEncodeSDXL\u00bb \u0437\u0435\u043b\u0451\u043d\u043e\u0433\u043e \u0446\u0432\u0435\u0442\u0430) \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u0442\u0435\u043a\u0441\u0442 \u0432\u0432\u0435\u0440\u0445\u0443 \u0438 \u0432\u043d\u0438\u0437\u0443 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0442\u0435\u043a\u0441\u0442 \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u0438\u043c: \u00abmasterpiece, smooth color, 1 boy, dark hair, simple background, white shirt, blue trousers, barefoot, anime style, stairs, green grass\u00bb.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0432\u0441\u0435\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u043c\u044b \u0433\u043e\u0442\u043e\u0432\u044b \u043a \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u0430\u043d\u0438\u043c\u0435. \u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u00abQueue Promt\u00bb \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0430\u043d\u0438\u043c\u0435 \u0438\u0437 \u0432\u0438\u0434\u0435\u043e (\u0444\u0430\u0439\u043b anime.mp4).<\/p>\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/6691ea0b2331bb9d7103ed4b\" data-style=\"\" id=\"6691ea0b2331bb9d7103ed4b\" width=\"\"><\/div>\n<p>\u0414\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u0432\u0438\u0434\u0435\u043e (\u0443\u0437\u0435\u043b \u00abLoadVideo\u00bb) \u0438 \u043c\u043e\u0434\u0435\u043b\u0438 (\u0443\u0437\u0435\u043b \u00abLoad Checkpoint\u00bb) \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u043f\u043e\u0437\u0438\u0442\u0438\u0432\u043d\u044b\u0439 \u0438 \u043d\u0435\u0433\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043f\u0440\u043e\u043c\u0442. \u041d\u0435\u0433\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043f\u0440\u043e\u043c\u0442 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0440\u0435\u0436\u0435. \u0422\u0430\u043a\u0436\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c:<\/p>\n<ul>\n<li>\n<p>\u00abstrength\u00bb \u0438 \u00abend_percent\u00bb \u0434\u043b\u044f \u0443\u0437\u043b\u0430 \u00abApply Advanced ControlNet\u00bb;<\/p>\n<\/li>\n<li>\n<p>\u00abresolution\u00bb \u0434\u043b\u044f \u00abRealistic Lineart\u00bb;<\/p>\n<\/li>\n<li>\n<p>\u00abcfg\u00bb \u0434\u043b\u044f \u00abSamplerCustom\u00bb.<\/p>\n<\/li>\n<\/ul>\n<p>\u0412 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0432\u044b\u0448\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b, \u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u0435\u0449\u0451 \u043f\u0430\u0440\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432:<\/p>\n<details class=\"spoiler\">\n<summary>\u0410\u043d\u0438\u043c\u0430\u0446\u0438\u044f \u0432 \u0441\u0442\u0438\u043b\u0435 \u043e\u0440\u0438\u0433\u0430\u043c\u0438<\/summary>\n<div class=\"spoiler__content\">\n<p>\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 angle.json.<\/p>\n<p>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b:<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/civitai.com\/models\/125703\/protovision-xl-high-fidelity-3d-photorealism-anime-hyperrealism-no-refiner-needed\" rel=\"noopener noreferrer nofollow\">protovisionXLHighFidelity3D_releaseV660Bakedvae.safetensors<\/a> \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 .\/data\/comfyui\/models\/checkpoints;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/huggingface.co\/xinsir\/controlnet-union-sdxl-1.0\/blob\/main\/diffusion_pytorch_model.safetensors\" rel=\"noopener noreferrer nofollow\">diffusion_pytorch_model.safetensors<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/details>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-426168","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/426168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=426168"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/426168\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=426168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=426168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=426168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}