mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-05-08 08:18:51 +00:00
Compare commits
2 Commits
a5dde30d7c
...
4ef76b64f4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4ef76b64f4 | ||
|
|
a7c56d3e61 |
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -135,7 +135,7 @@ jobs:
|
|||||||
id: depends
|
id: depends
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install build-essential libvulkan-dev glslc
|
sudo apt-get install build-essential libvulkan-dev glslc spirv-headers
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
id: cmake_build
|
id: cmake_build
|
||||||
|
|||||||
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -1,6 +1,6 @@
|
|||||||
[submodule "ggml"]
|
[submodule "ggml"]
|
||||||
path = ggml
|
path = ggml
|
||||||
url = https://github.com/ggml-org/ggml.git
|
url = https://github.com/leejet/ggml.git
|
||||||
[submodule "examples/server/frontend"]
|
[submodule "examples/server/frontend"]
|
||||||
path = examples/server/frontend
|
path = examples/server/frontend
|
||||||
url = https://github.com/leejet/sdcpp-webui.git
|
url = https://github.com/leejet/sdcpp-webui.git
|
||||||
|
|||||||
@ -2,7 +2,7 @@ ARG UBUNTU_VERSION=24.04
|
|||||||
|
|
||||||
FROM ubuntu:$UBUNTU_VERSION AS build
|
FROM ubuntu:$UBUNTU_VERSION AS build
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends build-essential git cmake libvulkan-dev glslc
|
RUN apt-get update && apt-get install -y --no-install-recommends build-essential git cmake libvulkan-dev glslc spirv-headers
|
||||||
|
|
||||||
WORKDIR /sd.cpp
|
WORKDIR /sd.cpp
|
||||||
|
|
||||||
|
|||||||
@ -102,6 +102,11 @@ cmake --build . --config Release
|
|||||||
## Build with Vulkan
|
## Build with Vulkan
|
||||||
|
|
||||||
Install Vulkan SDK from https://www.lunarg.com/vulkan-sdk/.
|
Install Vulkan SDK from https://www.lunarg.com/vulkan-sdk/.
|
||||||
|
On Ubuntu, install the Vulkan development packages and SPIR-V headers:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
sudo apt-get install build-essential libvulkan-dev glslc spirv-headers
|
||||||
|
```
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
|
|||||||
2
ggml
2
ggml
@ -1 +1 @@
|
|||||||
Subproject commit 404fcb9d7c96989569e68c9e7881ee3465a05c50
|
Subproject commit c96d3003b2a95b6f7ad33a28f69a4381549043e8
|
||||||
Loading…
x
Reference in New Issue
Block a user