CentOs7 + Stable Diffusion + Novel AI to achieve AI painting

prerequisite

  • Install the Git environment (version >= 1.8.5)
    to view the version: git version
    upgrade git:yum install -y https://repo.ius.io/ius-release-el7.rpm && yum install -y epel-release && yum erase -y git* && yum install -y git-core

Use CPU server

GPU server please ignore this step: set environment variables

export COMMANDLINE_ARGS="--skip-torch-cuda-test"

start building

1. Install python3 and dependent environment

Reference: centOs7 installs Python3

2. Download the source code

 

Guess you like

Origin blog.csdn.net/wkh___/article/details/129728206