Skip to content

Commit

Permalink
fix: yamlint warnings and errors (#2131)
Browse files Browse the repository at this point in the history
fix yamlint warnings and errors

Signed-off-by: Dave Lee <[email protected]>
  • Loading branch information
dave-gray101 authored Apr 25, 2024
1 parent 4ae4e44 commit 45761f8
Show file tree
Hide file tree
Showing 22 changed files with 340 additions and 326 deletions.
4 changes: 4 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
extends: default

rules:
line-length: disable
7 changes: 4 additions & 3 deletions gallery/bert-embeddings.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: "bert-embeddings"

config_file: |
Expand All @@ -6,6 +7,6 @@ config_file: |
backend: bert-embeddings
embeddings: true
files:
- filename: "bert-MiniLM-L6-v2q4_0.bin"
sha256: "a5a174d8772c8a569faf9f3136c441f2c3855b5bf35ed32274294219533feaad"
uri: "https://huggingface.co/mudler/all-MiniLM-L6-v2/resolve/main/ggml-model-q4_0.bin"
- filename: "bert-MiniLM-L6-v2q4_0.bin"
sha256: "a5a174d8772c8a569faf9f3136c441f2c3855b5bf35ed32274294219533feaad"
uri: "https://huggingface.co/mudler/all-MiniLM-L6-v2/resolve/main/ggml-model-q4_0.bin"
3 changes: 2 additions & 1 deletion gallery/cerbero.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
config_file: |
backend: llama-cpp
context_size: 8192
Expand All @@ -15,5 +16,5 @@ config_file: |
stopwords:
- "[|Umano|]"
trimsuffix:
trimsuffix:
- "\n"
3 changes: 2 additions & 1 deletion gallery/codellama.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
name: "codellama"

config_file: |
backend: llama-cpp
context_size: 4096
f16: true
mmap: true
mmap: true
2 changes: 1 addition & 1 deletion gallery/dreamshaper.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: "dreamshaper"


config_file: |
backend: diffusers
step: 25
Expand Down
3 changes: 1 addition & 2 deletions gallery/hermes-2-pro-mistral.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: "hermes-2-pro-mistral"


config_file: |
mmap: true
template:
Expand Down Expand Up @@ -52,4 +52,3 @@ config_file: |
- <dummy32000>
- "\n</tool_call>"
- "\n\n\n"
528 changes: 264 additions & 264 deletions gallery/index.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gallery/llama3-instruct.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: "llama3-instruct"


config_file: |
mmap: true
template:
Expand Down
2 changes: 1 addition & 1 deletion gallery/llava.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: "llava"


config_file: |
backend: llama-cpp
context_size: 4096
Expand Down
2 changes: 1 addition & 1 deletion gallery/noromaid.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
config_file: |
mmap: true
backend: llama-cpp
Expand Down Expand Up @@ -50,4 +51,3 @@ config_file: |
- <dummy32000>
- "\n</tool_call>"
- "\n\n\n"
1 change: 1 addition & 0 deletions gallery/parler-tts.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
---
config_file: |
backend: parler-tts
3 changes: 1 addition & 2 deletions gallery/phi-2-chat.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: "phi-2-chatml"


config_file: |
mmap: true
template:
Expand All @@ -16,4 +16,3 @@ config_file: |
f16: true
stopwords:
- <|im_end|>
1 change: 1 addition & 0 deletions gallery/phi-2-orange.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: "phi-2-orange"

config_file: |
Expand Down
2 changes: 1 addition & 1 deletion gallery/phi-3-chat.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: "phi-3-chat"

config_file: |
Expand All @@ -15,4 +16,3 @@ config_file: |
f16: true
stopwords:
- <|end|>
1 change: 1 addition & 0 deletions gallery/piper.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
---
config_file: |
backend: piper
3 changes: 2 additions & 1 deletion gallery/rerankers.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
---
config_file: |
backend: rerankers
backend: rerankers
3 changes: 2 additions & 1 deletion gallery/sentencetransformers.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
name: "sentencetransformers"

config_file: |
backend: sentencetransformers
backend: sentencetransformers
79 changes: 40 additions & 39 deletions gallery/stablediffusion.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: "stablediffusion-cpp"

config_file: |
Expand All @@ -7,42 +8,42 @@ config_file: |
model: stablediffusion_assets
files:
- filename: "stablediffusion_assets/AutoencoderKL-256-256-fp16-opt.param"
sha256: "18ca4b66685e21406bcf64c484b3b680b4949900415536d599cc876579c85c82"
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/AutoencoderKL-256-256-fp16-opt.param"
- filename: "stablediffusion_assets/AutoencoderKL-512-512-fp16-opt.param"
sha256: "cf45f63aacf3dbbab0f59ed92a6f2c14d9a1801314631cd3abe91e3c85639a20"
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/AutoencoderKL-512-512-fp16-opt.param"
- filename: "stablediffusion_assets/AutoencoderKL-base-fp16.param"
sha256: "0254a056dce61b0c27dc9ec1b78b53bcf55315c540f55f051eb841aa992701ba"
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/AutoencoderKL-base-fp16.param"
- filename: "stablediffusion_assets/AutoencoderKL-encoder-512-512-fp16.bin"
sha256: "ddcb79a9951b9f91e05e087739ed69da2c1c4ae30ba4168cce350b49d617c9fa"
uri: "https://github.com/EdVince/Stable-Diffusion-NCNN/releases/download/naifu/AutoencoderKL-encoder-512-512-fp16.bin"
- filename: "stablediffusion_assets/AutoencoderKL-fp16.bin"
sha256: "f02e71f80e70252734724bbfaed5c4ddd3a8ed7e61bb2175ff5f53099f0e35dd"
uri: "https://github.com/EdVince/Stable-Diffusion-NCNN/releases/download/naifu/AutoencoderKL-fp16.bin"
- filename: "stablediffusion_assets/FrozenCLIPEmbedder-fp16.bin"
sha256: "1c9a12f4e1dd1b295a388045f7f28a2352a4d70c3dc96a542189a3dd7051fdd6"
uri: "https://github.com/EdVince/Stable-Diffusion-NCNN/releases/download/naifu/FrozenCLIPEmbedder-fp16.bin"
- filename: "stablediffusion_assets/FrozenCLIPEmbedder-fp16.param"
sha256: "471afbe678dd1fd3fe764ef9c6eccaccb0a7d7e601f27b462aa926b20eb368c9"
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/FrozenCLIPEmbedder-fp16.param"
- filename: "stablediffusion_assets/log_sigmas.bin"
sha256: "a2089f8aa4c61f9c200feaec541ab3f5c94233b28deb6d5e8bcd974fa79b68ac"
uri: "https://github.com/EdVince/Stable-Diffusion-NCNN/raw/main/x86/linux/assets/log_sigmas.bin"
- filename: "stablediffusion_assets/UNetModel-256-256-MHA-fp16-opt.param"
sha256: "a58c380229f09491776df837b7aa7adffc0a87821dc4708b34535da2e36e3da1"
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/UNetModel-256-256-MHA-fp16-opt.param"
- filename: "stablediffusion_assets/UNetModel-512-512-MHA-fp16-opt.param"
sha256: "f12034067062827bd7f43d1d21888d1f03905401acf6c6eea22be23c259636fa"
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/UNetModel-512-512-MHA-fp16-opt.param"
- filename: "stablediffusion_assets/UNetModel-base-MHA-fp16.param"
sha256: "696f6975de49f4325b53ce32aff81861a6d6c07cd9ce3f0aae2cc405350af38d"
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/UNetModel-base-MHA-fp16.param"
- filename: "stablediffusion_assets/UNetModel-MHA-fp16.bin"
sha256: "d618918d011bfc1f644c0f2a33bf84931bd53b28a98492b0a8ed6f3a818852c3"
uri: "https://github.com/EdVince/Stable-Diffusion-NCNN/releases/download/naifu/UNetModel-MHA-fp16.bin"
- filename: "stablediffusion_assets/vocab.txt"
sha256: "e30e57b6f1e47616982ef898d8922be24e535b4fa3d0110477b3a6f02ebbae7d"
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/vocab.txt"
- filename: "stablediffusion_assets/AutoencoderKL-256-256-fp16-opt.param"
sha256: "18ca4b66685e21406bcf64c484b3b680b4949900415536d599cc876579c85c82"
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/AutoencoderKL-256-256-fp16-opt.param"
- filename: "stablediffusion_assets/AutoencoderKL-512-512-fp16-opt.param"
sha256: "cf45f63aacf3dbbab0f59ed92a6f2c14d9a1801314631cd3abe91e3c85639a20"
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/AutoencoderKL-512-512-fp16-opt.param"
- filename: "stablediffusion_assets/AutoencoderKL-base-fp16.param"
sha256: "0254a056dce61b0c27dc9ec1b78b53bcf55315c540f55f051eb841aa992701ba"
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/AutoencoderKL-base-fp16.param"
- filename: "stablediffusion_assets/AutoencoderKL-encoder-512-512-fp16.bin"
sha256: "ddcb79a9951b9f91e05e087739ed69da2c1c4ae30ba4168cce350b49d617c9fa"
uri: "https://github.com/EdVince/Stable-Diffusion-NCNN/releases/download/naifu/AutoencoderKL-encoder-512-512-fp16.bin"
- filename: "stablediffusion_assets/AutoencoderKL-fp16.bin"
sha256: "f02e71f80e70252734724bbfaed5c4ddd3a8ed7e61bb2175ff5f53099f0e35dd"
uri: "https://github.com/EdVince/Stable-Diffusion-NCNN/releases/download/naifu/AutoencoderKL-fp16.bin"
- filename: "stablediffusion_assets/FrozenCLIPEmbedder-fp16.bin"
sha256: "1c9a12f4e1dd1b295a388045f7f28a2352a4d70c3dc96a542189a3dd7051fdd6"
uri: "https://github.com/EdVince/Stable-Diffusion-NCNN/releases/download/naifu/FrozenCLIPEmbedder-fp16.bin"
- filename: "stablediffusion_assets/FrozenCLIPEmbedder-fp16.param"
sha256: "471afbe678dd1fd3fe764ef9c6eccaccb0a7d7e601f27b462aa926b20eb368c9"
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/FrozenCLIPEmbedder-fp16.param"
- filename: "stablediffusion_assets/log_sigmas.bin"
sha256: "a2089f8aa4c61f9c200feaec541ab3f5c94233b28deb6d5e8bcd974fa79b68ac"
uri: "https://github.com/EdVince/Stable-Diffusion-NCNN/raw/main/x86/linux/assets/log_sigmas.bin"
- filename: "stablediffusion_assets/UNetModel-256-256-MHA-fp16-opt.param"
sha256: "a58c380229f09491776df837b7aa7adffc0a87821dc4708b34535da2e36e3da1"
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/UNetModel-256-256-MHA-fp16-opt.param"
- filename: "stablediffusion_assets/UNetModel-512-512-MHA-fp16-opt.param"
sha256: "f12034067062827bd7f43d1d21888d1f03905401acf6c6eea22be23c259636fa"
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/UNetModel-512-512-MHA-fp16-opt.param"
- filename: "stablediffusion_assets/UNetModel-base-MHA-fp16.param"
sha256: "696f6975de49f4325b53ce32aff81861a6d6c07cd9ce3f0aae2cc405350af38d"
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/UNetModel-base-MHA-fp16.param"
- filename: "stablediffusion_assets/UNetModel-MHA-fp16.bin"
sha256: "d618918d011bfc1f644c0f2a33bf84931bd53b28a98492b0a8ed6f3a818852c3"
uri: "https://github.com/EdVince/Stable-Diffusion-NCNN/releases/download/naifu/UNetModel-MHA-fp16.bin"
- filename: "stablediffusion_assets/vocab.txt"
sha256: "e30e57b6f1e47616982ef898d8922be24e535b4fa3d0110477b3a6f02ebbae7d"
uri: "https://raw.githubusercontent.com/EdVince/Stable-Diffusion-NCNN/main/x86/linux/assets/vocab.txt"
3 changes: 2 additions & 1 deletion gallery/tinydream.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: "tinydream"

config_file: |
Expand Down Expand Up @@ -33,4 +34,4 @@ files:
uri: "https://github.com/M0Rf30/tiny-dream-bins/releases/download/1.0/UNetModel-fp16.param"
- filename: "tinydream_assets/vocab.txt"
sha256: "e30e57b6f1e47616982ef898d8922be24e535b4fa3d0110477b3a6f02ebbae7d"
uri: "https://github.com/M0Rf30/tiny-dream-bins/releases/download/1.0/vocab.txt"
uri: "https://github.com/M0Rf30/tiny-dream-bins/releases/download/1.0/vocab.txt"
3 changes: 2 additions & 1 deletion gallery/vicuna-chat.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: "vicuna-chat"

description: |
Expand All @@ -18,4 +19,4 @@ config_file: |
Complete the following sentence: {{.Input}}
chat: |
{{.Input}}
ASSISTANT:
ASSISTANT:
3 changes: 2 additions & 1 deletion gallery/virtual.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: "virtual"

description: |
A Base model definition
license: "N/A"
license: "N/A"
8 changes: 4 additions & 4 deletions gallery/whisper-base.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: "whisper-base"


config_file: |
backend: whisper
parameters:
model: ggml-whisper-base.bin
files:
- filename: "ggml-whisper-base.bin"
sha256: "60ed5bc3dd14eea856493d334349b405782ddcaf0028d4b5df4088345fba2efe"
uri: "https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.bin"
- filename: "ggml-whisper-base.bin"
sha256: "60ed5bc3dd14eea856493d334349b405782ddcaf0028d4b5df4088345fba2efe"
uri: "https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.bin"

0 comments on commit 45761f8

Please sign in to comment.