mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-02-03 22:24:19 +01:00
xxf
This commit is contained in:
parent
463f332d14
commit
03510556ee
20
.github/workflows/docker.yml
vendored
20
.github/workflows/docker.yml
vendored
|
|
@ -1,19 +1,13 @@
|
||||||
name: Build Images
|
name: Build Xformers
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
runs-on: pytorch/manylinux-cuda113
|
||||||
matrix:
|
|
||||||
profile:
|
|
||||||
- auto
|
|
||||||
- hlky
|
|
||||||
- lstein
|
|
||||||
- download
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
name: ${{ matrix.profile }}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- run: |
|
||||||
# better caching?
|
git clone https://github.com/facebookresearch/xformers /x
|
||||||
- run: docker compose --profile ${{ matrix.profile }} build --progress plain
|
cd /x
|
||||||
|
export CU_VERSION=cu113 PYTHON_VERSION=3.10 PYTORCH_VERSION=1.12
|
||||||
|
./packaging/build_wheel.sh
|
||||||
|
|
|
||||||
19
.github/workflows/docker.yml1
vendored
Normal file
19
.github/workflows/docker.yml1
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
name: Build Images
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
profile:
|
||||||
|
- auto
|
||||||
|
- hlky
|
||||||
|
- lstein
|
||||||
|
- download
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: ${{ matrix.profile }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
# better caching?
|
||||||
|
- run: docker compose --profile ${{ matrix.profile }} build --progress plain
|
||||||
22
.github/workflows/executable.yml1
vendored
22
.github/workflows/executable.yml1
vendored
|
|
@ -1,22 +0,0 @@
|
||||||
name: Check executable
|
|
||||||
|
|
||||||
on: [push]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
check:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
name: Check all sh
|
|
||||||
steps:
|
|
||||||
- run: git config --global core.fileMode true
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- shell: bash
|
|
||||||
run: |
|
|
||||||
shopt -s globstar;
|
|
||||||
FAIL=0
|
|
||||||
for file in **/*.sh; do
|
|
||||||
if [ -f "${file}" ] && [ -r "${file}" ] && [ ! -x "${file}" ]; then
|
|
||||||
echo "$file" is not executable;
|
|
||||||
FAIL=1
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
exit ${FAIL}
|
|
||||||
Loading…
Reference in a new issue