Skip to content

Commit 45761f8

Browse files
authored
fix: yamlint warnings and errors (mudler#2131)
fix yamlint warnings and errors Signed-off-by: Dave Lee <[email protected]>
1 parent 4ae4e44 commit 45761f8

22 files changed

+340
-326
lines changed

.yamllint

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
extends: default
2+
3+
rules:
4+
line-length: disable

gallery/bert-embeddings.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: "bert-embeddings"
23

34
config_file: |
@@ -6,6 +7,6 @@ config_file: |
67
backend: bert-embeddings
78
embeddings: true
89
files:
9-
- filename: "bert-MiniLM-L6-v2q4_0.bin"
10-
sha256: "a5a174d8772c8a569faf9f3136c441f2c3855b5bf35ed32274294219533feaad"
11-
uri: "https://huggingface.co/mudler/all-MiniLM-L6-v2/resolve/main/ggml-model-q4_0.bin"
10+
- filename: "bert-MiniLM-L6-v2q4_0.bin"
11+
sha256: "a5a174d8772c8a569faf9f3136c441f2c3855b5bf35ed32274294219533feaad"
12+
uri: "https://huggingface.co/mudler/all-MiniLM-L6-v2/resolve/main/ggml-model-q4_0.bin"

gallery/cerbero.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
config_file: |
23
backend: llama-cpp
34
context_size: 8192
@@ -15,5 +16,5 @@ config_file: |
1516
stopwords:
1617
- "[|Umano|]"
1718
18-
trimsuffix:
19+
trimsuffix:
1920
- "\n"

gallery/codellama.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
---
12
name: "codellama"
23

34
config_file: |
45
backend: llama-cpp
56
context_size: 4096
67
f16: true
7-
mmap: true
8+
mmap: true

gallery/dreamshaper.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
---
12
name: "dreamshaper"
23

3-
44
config_file: |
55
backend: diffusers
66
step: 25

gallery/hermes-2-pro-mistral.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
---
12
name: "hermes-2-pro-mistral"
23

3-
44
config_file: |
55
mmap: true
66
template:
@@ -52,4 +52,3 @@ config_file: |
5252
- <dummy32000>
5353
- "\n</tool_call>"
5454
- "\n\n\n"
55-

gallery/index.yaml

+264-264
Large diffs are not rendered by default.

gallery/llama3-instruct.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
---
12
name: "llama3-instruct"
23

3-
44
config_file: |
55
mmap: true
66
template:

gallery/llava.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
---
12
name: "llava"
23

3-
44
config_file: |
55
backend: llama-cpp
66
context_size: 4096

gallery/noromaid.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
config_file: |
23
mmap: true
34
backend: llama-cpp
@@ -50,4 +51,3 @@ config_file: |
5051
- <dummy32000>
5152
- "\n</tool_call>"
5253
- "\n\n\n"
53-

gallery/parler-tts.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
---
12
config_file: |
23
backend: parler-tts

gallery/phi-2-chat.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
---
12
name: "phi-2-chatml"
23

3-
44
config_file: |
55
mmap: true
66
template:
@@ -16,4 +16,3 @@ config_file: |
1616
f16: true
1717
stopwords:
1818
- <|im_end|>
19-

gallery/phi-2-orange.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: "phi-2-orange"
23

34
config_file: |

gallery/phi-3-chat.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: "phi-3-chat"
23

34
config_file: |
@@ -15,4 +16,3 @@ config_file: |
1516
f16: true
1617
stopwords:
1718
- <|end|>
18-

gallery/piper.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
---
12
config_file: |
23
backend: piper

gallery/rerankers.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
---
12
config_file: |
2-
backend: rerankers
3+
backend: rerankers

gallery/sentencetransformers.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1+
---
12
name: "sentencetransformers"
23

34
config_file: |
4-
backend: sentencetransformers
5+
backend: sentencetransformers

gallery/stablediffusion.yaml

+40-39
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: "stablediffusion-cpp"
23

34
config_file: |
@@ -7,42 +8,42 @@ config_file: |
78
model: stablediffusion_assets
89
910
files:
10-
- filename: "stablediffusion_assets/AutoencoderKL-256-256-fp16-opt.param"
11-
sha256: "18ca4b66685e21406bcf64c484b3b680b4949900415536d599cc876579c85c82"
12-
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/AutoencoderKL-256-256-fp16-opt.param"
13-
- filename: "stablediffusion_assets/AutoencoderKL-512-512-fp16-opt.param"
14-
sha256: "cf45f63aacf3dbbab0f59ed92a6f2c14d9a1801314631cd3abe91e3c85639a20"
15-
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/AutoencoderKL-512-512-fp16-opt.param"
16-
- filename: "stablediffusion_assets/AutoencoderKL-base-fp16.param"
17-
sha256: "0254a056dce61b0c27dc9ec1b78b53bcf55315c540f55f051eb841aa992701ba"
18-
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/AutoencoderKL-base-fp16.param"
19-
- filename: "stablediffusion_assets/AutoencoderKL-encoder-512-512-fp16.bin"
20-
sha256: "ddcb79a9951b9f91e05e087739ed69da2c1c4ae30ba4168cce350b49d617c9fa"
21-
uri: "https://github.com/EdVince/Stable-Diffusion-NCNN/releases/download/naifu/AutoencoderKL-encoder-512-512-fp16.bin"
22-
- filename: "stablediffusion_assets/AutoencoderKL-fp16.bin"
23-
sha256: "f02e71f80e70252734724bbfaed5c4ddd3a8ed7e61bb2175ff5f53099f0e35dd"
24-
uri: "https://github.com/EdVince/Stable-Diffusion-NCNN/releases/download/naifu/AutoencoderKL-fp16.bin"
25-
- filename: "stablediffusion_assets/FrozenCLIPEmbedder-fp16.bin"
26-
sha256: "1c9a12f4e1dd1b295a388045f7f28a2352a4d70c3dc96a542189a3dd7051fdd6"
27-
uri: "https://github.com/EdVince/Stable-Diffusion-NCNN/releases/download/naifu/FrozenCLIPEmbedder-fp16.bin"
28-
- filename: "stablediffusion_assets/FrozenCLIPEmbedder-fp16.param"
29-
sha256: "471afbe678dd1fd3fe764ef9c6eccaccb0a7d7e601f27b462aa926b20eb368c9"
30-
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/FrozenCLIPEmbedder-fp16.param"
31-
- filename: "stablediffusion_assets/log_sigmas.bin"
32-
sha256: "a2089f8aa4c61f9c200feaec541ab3f5c94233b28deb6d5e8bcd974fa79b68ac"
33-
uri: "https://github.com/EdVince/Stable-Diffusion-NCNN/raw/main/x86/linux/assets/log_sigmas.bin"
34-
- filename: "stablediffusion_assets/UNetModel-256-256-MHA-fp16-opt.param"
35-
sha256: "a58c380229f09491776df837b7aa7adffc0a87821dc4708b34535da2e36e3da1"
36-
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/UNetModel-256-256-MHA-fp16-opt.param"
37-
- filename: "stablediffusion_assets/UNetModel-512-512-MHA-fp16-opt.param"
38-
sha256: "f12034067062827bd7f43d1d21888d1f03905401acf6c6eea22be23c259636fa"
39-
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/UNetModel-512-512-MHA-fp16-opt.param"
40-
- filename: "stablediffusion_assets/UNetModel-base-MHA-fp16.param"
41-
sha256: "696f6975de49f4325b53ce32aff81861a6d6c07cd9ce3f0aae2cc405350af38d"
42-
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/UNetModel-base-MHA-fp16.param"
43-
- filename: "stablediffusion_assets/UNetModel-MHA-fp16.bin"
44-
sha256: "d618918d011bfc1f644c0f2a33bf84931bd53b28a98492b0a8ed6f3a818852c3"
45-
uri: "https://github.com/EdVince/Stable-Diffusion-NCNN/releases/download/naifu/UNetModel-MHA-fp16.bin"
46-
- filename: "stablediffusion_assets/vocab.txt"
47-
sha256: "e30e57b6f1e47616982ef898d8922be24e535b4fa3d0110477b3a6f02ebbae7d"
48-
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/vocab.txt"
11+
- filename: "stablediffusion_assets/AutoencoderKL-256-256-fp16-opt.param"
12+
sha256: "18ca4b66685e21406bcf64c484b3b680b4949900415536d599cc876579c85c82"
13+
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/AutoencoderKL-256-256-fp16-opt.param"
14+
- filename: "stablediffusion_assets/AutoencoderKL-512-512-fp16-opt.param"
15+
sha256: "cf45f63aacf3dbbab0f59ed92a6f2c14d9a1801314631cd3abe91e3c85639a20"
16+
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/AutoencoderKL-512-512-fp16-opt.param"
17+
- filename: "stablediffusion_assets/AutoencoderKL-base-fp16.param"
18+
sha256: "0254a056dce61b0c27dc9ec1b78b53bcf55315c540f55f051eb841aa992701ba"
19+
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/AutoencoderKL-base-fp16.param"
20+
- filename: "stablediffusion_assets/AutoencoderKL-encoder-512-512-fp16.bin"
21+
sha256: "ddcb79a9951b9f91e05e087739ed69da2c1c4ae30ba4168cce350b49d617c9fa"
22+
uri: "https://github.com/EdVince/Stable-Diffusion-NCNN/releases/download/naifu/AutoencoderKL-encoder-512-512-fp16.bin"
23+
- filename: "stablediffusion_assets/AutoencoderKL-fp16.bin"
24+
sha256: "f02e71f80e70252734724bbfaed5c4ddd3a8ed7e61bb2175ff5f53099f0e35dd"
25+
uri: "https://github.com/EdVince/Stable-Diffusion-NCNN/releases/download/naifu/AutoencoderKL-fp16.bin"
26+
- filename: "stablediffusion_assets/FrozenCLIPEmbedder-fp16.bin"
27+
sha256: "1c9a12f4e1dd1b295a388045f7f28a2352a4d70c3dc96a542189a3dd7051fdd6"
28+
uri: "https://github.com/EdVince/Stable-Diffusion-NCNN/releases/download/naifu/FrozenCLIPEmbedder-fp16.bin"
29+
- filename: "stablediffusion_assets/FrozenCLIPEmbedder-fp16.param"
30+
sha256: "471afbe678dd1fd3fe764ef9c6eccaccb0a7d7e601f27b462aa926b20eb368c9"
31+
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/FrozenCLIPEmbedder-fp16.param"
32+
- filename: "stablediffusion_assets/log_sigmas.bin"
33+
sha256: "a2089f8aa4c61f9c200feaec541ab3f5c94233b28deb6d5e8bcd974fa79b68ac"
34+
uri: "https://github.com/EdVince/Stable-Diffusion-NCNN/raw/main/x86/linux/assets/log_sigmas.bin"
35+
- filename: "stablediffusion_assets/UNetModel-256-256-MHA-fp16-opt.param"
36+
sha256: "a58c380229f09491776df837b7aa7adffc0a87821dc4708b34535da2e36e3da1"
37+
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/UNetModel-256-256-MHA-fp16-opt.param"
38+
- filename: "stablediffusion_assets/UNetModel-512-512-MHA-fp16-opt.param"
39+
sha256: "f12034067062827bd7f43d1d21888d1f03905401acf6c6eea22be23c259636fa"
40+
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/UNetModel-512-512-MHA-fp16-opt.param"
41+
- filename: "stablediffusion_assets/UNetModel-base-MHA-fp16.param"
42+
sha256: "696f6975de49f4325b53ce32aff81861a6d6c07cd9ce3f0aae2cc405350af38d"
43+
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/UNetModel-base-MHA-fp16.param"
44+
- filename: "stablediffusion_assets/UNetModel-MHA-fp16.bin"
45+
sha256: "d618918d011bfc1f644c0f2a33bf84931bd53b28a98492b0a8ed6f3a818852c3"
46+
uri: "https://github.com/EdVince/Stable-Diffusion-NCNN/releases/download/naifu/UNetModel-MHA-fp16.bin"
47+
- filename: "stablediffusion_assets/vocab.txt"
48+
sha256: "e30e57b6f1e47616982ef898d8922be24e535b4fa3d0110477b3a6f02ebbae7d"
49+
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/vocab.txt"

gallery/tinydream.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: "tinydream"
23

34
config_file: |
@@ -33,4 +34,4 @@ files:
3334
uri: "https://github.com/M0Rf30/tiny-dream-bins/releases/download/1.0/UNetModel-fp16.param"
3435
- filename: "tinydream_assets/vocab.txt"
3536
sha256: "e30e57b6f1e47616982ef898d8922be24e535b4fa3d0110477b3a6f02ebbae7d"
36-
uri: "https://github.com/M0Rf30/tiny-dream-bins/releases/download/1.0/vocab.txt"
37+
uri: "https://github.com/M0Rf30/tiny-dream-bins/releases/download/1.0/vocab.txt"

gallery/vicuna-chat.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: "vicuna-chat"
23

34
description: |
@@ -18,4 +19,4 @@ config_file: |
1819
Complete the following sentence: {{.Input}}
1920
chat: |
2021
{{.Input}}
21-
ASSISTANT:
22+
ASSISTANT:

gallery/virtual.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
---
12
name: "virtual"
23

34
description: |
45
A Base model definition
56
6-
license: "N/A"
7+
license: "N/A"

gallery/whisper-base.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1+
---
12
name: "whisper-base"
23

3-
44
config_file: |
55
backend: whisper
66
parameters:
77
model: ggml-whisper-base.bin
88
99
files:
10-
- filename: "ggml-whisper-base.bin"
11-
sha256: "60ed5bc3dd14eea856493d334349b405782ddcaf0028d4b5df4088345fba2efe"
12-
uri: "https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.bin"
10+
- filename: "ggml-whisper-base.bin"
11+
sha256: "60ed5bc3dd14eea856493d334349b405782ddcaf0028d4b5df4088345fba2efe"
12+
uri: "https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.bin"

0 commit comments

Comments
 (0)