mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 11:26:34 +00:00
refactor: move model-specific operators and fusions into backend extensions (#2253)
This commit is contained in:
1 parent
c6dfa9def1
commit
45a63ac460
68 files changed
+12173
-151
No files matched your search
@@ -8,8 +8,17 @@ $patterns = @(
|
||||
"src/core/*.cpp"
|
||||
"src/core/*.h"
|
||||
"src/core/*.hpp"
|
||||
"src/core/cpu/*.cpp"
|
||||
"src/core/cpu/*.h"
|
||||
"src/core/cuda/*.cu"
|
||||
"src/core/cuda/*.cuh"
|
||||
"src/core/cuda/*.h"
|
||||
"src/core/cuda/sageattention/*.cuh"
|
||||
"src/core/probe/*.cpp"
|
||||
"src/core/probe/*.h"
|
||||
"src/core/vulkan/*.cpp"
|
||||
"src/core/vulkan/*.h"
|
||||
"src/core/vulkan/shaders/*.comp"
|
||||
"src/extensions/*.cpp"
|
||||
"src/extensions/*.h"
|
||||
"src/extensions/*.hpp"
|
||||
@@ -23,8 +32,6 @@ $patterns = @(
|
||||
"src/model/*/*.hpp"
|
||||
"src/tokenizers/*.h"
|
||||
"src/tokenizers/*.cpp"
|
||||
"src/tokenizers/vocab/*.h"
|
||||
"src/tokenizers/vocab/*.cpp"
|
||||
"src/model_io/*.h"
|
||||
"src/model_io/*.cpp"
|
||||
"examples/cli/*.cpp"
|
||||
@@ -46,10 +53,6 @@ try {
|
||||
foreach ($file in $files) {
|
||||
$relativePath = $file.FullName.Substring($root.Length).TrimStart('\', '/') -replace '\\', '/'
|
||||
|
||||
if ($relativePath -like "vocab*") {
|
||||
continue
|
||||
}
|
||||
|
||||
Write-Host "formatting '$relativePath'"
|
||||
|
||||
# if ($relativePath -ne "stable-diffusion.h") {
|
||||
|
||||
Reference in new issue
Block a user