| @@ -18,6 +18,9 @@ | |||
| <files> | |||
| <file src="LLamaSharpBackend.props" target="build/netstandard2.0/LLamaSharp.Backend.Cpu.props" /> | |||
| <file src="runtimes/deps/libllava_shared.so" target="runtimes\win-x64\native\libllava_shared.so" /> | |||
| <file src="runtimes/deps/llava_shared.dll" target="runtimes\win-x64\native\llava_shared.dll" /> | |||
| <file src="runtimes/deps/llama.dll" target="runtimes\win-x64\native\llama.dll" /> | |||
| <file src="runtimes/deps/avx/llama.dll" target="runtimes\win-x64\native\avx\llama.dll" /> | |||
| <file src="runtimes/deps/avx2/llama.dll" target="runtimes\win-x64\native\avx2\llama.dll" /> | |||
| @@ -17,6 +17,9 @@ | |||
| <files> | |||
| <file src="LLamaSharpBackend.props" target="build/netstandard2.0/LLamaSharp.Backend.Cuda11.props" /> | |||
| <file src="runtimes/deps/libllava_shared.so" target="runtimes\win-x64\native\libllava_shared.so" /> | |||
| <file src="runtimes/deps/llava_shared.dll" target="runtimes\win-x64\native\llava_shared.dll" /> | |||
| <file src="runtimes/deps/cu11.7.1/llama.dll" target="runtimes\win-x64\native\cuda11\llama.dll" /> | |||
| <file src="runtimes/deps/cu11.7.1/libllama.so" target="runtimes\linux-x64\native\cuda11\libllama.so" /> | |||
| @@ -17,6 +17,9 @@ | |||
| <files> | |||
| <file src="LLamaSharpBackend.props" target="build/netstandard2.0/LLamaSharp.Backend.Cuda12.props" /> | |||
| <file src="runtimes/deps/libllava_shared.so" target="runtimes\win-x64\native\libllava_shared.so" /> | |||
| <file src="runtimes/deps/llava_shared.dll" target="runtimes\win-x64\native\llava_shared.dll" /> | |||
| <file src="runtimes/deps/cu12.1.0/llama.dll" target="runtimes\win-x64\native\cuda12\llama.dll" /> | |||
| <file src="runtimes/deps/cu12.1.0/libllama.so" target="runtimes\linux-x64\native\cuda12\libllama.so" /> | |||
| @@ -18,6 +18,9 @@ | |||
| <files> | |||
| <file src="LLamaSharpBackend.props" target="build/netstandard2.0/LLamaSharp.Backend.OpenCL.props" /> | |||
| <file src="runtimes/deps/libllava_shared.so" target="runtimes\win-x64\native\libllava_shared.so" /> | |||
| <file src="runtimes/deps/llava_shared.dll" target="runtimes\win-x64\native\llava_shared.dll" /> | |||
| <file src="runtimes/deps/clblast/llama.dll" target="runtimes\win-x64\native\clblast\llama.dll" /> | |||
| <file src="runtimes/deps/clblast/clblast.dll" target="runtimes\win-x64\native\clblast\clblast.dll" /> | |||
| <file src="runtimes/deps/clblast/libllama.so" target="runtimes\linux-x64\native\clblast\libllama.so" /> | |||
| @@ -0,0 +1,102 @@ | |||
| /* Logo title */ | |||
| .md-header__topic:first-child { | |||
| font-weight: initial !important; | |||
| } | |||
| /* Code font size in <details> */ | |||
| details .linenos, details code { | |||
| font-size: inherit !important; | |||
| } | |||
| /* Code block / tab in details */ | |||
| details > summary + .highlight:last-child, details > summary + .tabbed-set:last-child { margin: 0 -0.6rem !important; } | |||
| details > summary + .highlight:last-child > .highlighttable { margin: 0 !important; } | |||
| /* Table full width */ | |||
| .md-typeset__table { display: block !important; } | |||
| .md-typeset table:not(.highlighttable) { display: table !important; } | |||
| .md-typeset table:not([class]) th { | |||
| min-width: 0rem; | |||
| } | |||
| .headerlink { transform: translateY(-2.5px); } | |||
| .md-nav__link[for=__toc] .md-icon { margin-left: auto !important; } | |||
| blockquote.page-time { | |||
| margin: 20px 0 !important; | |||
| border-left-color: #64b5f6 !important; /* Just change the color value and that's it*/ | |||
| } | |||
| blockquote.page-copyright { | |||
| margin: 20px 0 !important; | |||
| border-left-color: #ff1700 !important; /* Just change the color value and that's it*/ | |||
| } | |||
| blockquote.page-copyright i.md-icon { | |||
| display: inline-block; | |||
| margin-right: 5px; | |||
| transform: translateY(3.5px); | |||
| width: 18px; | |||
| } | |||
| #myBtn { | |||
| display: none; | |||
| position: fixed; | |||
| bottom: 100px; | |||
| right: 16px; | |||
| z-index: 99; | |||
| border: none; | |||
| outline: none; | |||
| color: #8590a6; | |||
| cursor: pointer; | |||
| padding: .7rem; | |||
| border-radius: .4rem; | |||
| } | |||
| #myBtn:hover { | |||
| background-color: #d3d3d3; | |||
| } | |||
| #color-button > button { | |||
| cursor: pointer; | |||
| transition: opacity .25s; | |||
| display: inline-block; | |||
| width: 6.5rem; | |||
| margin-bottom: 0.2rem; | |||
| padding: 1.2rem 0.4rem 0.2rem; | |||
| font-size: 0.64rem; | |||
| text-align: left; | |||
| } | |||
| #color-button > button[data-md-color-primary] { | |||
| background-color: var(--md-primary-fg-color); | |||
| color: var(--md-primary-bg-color); | |||
| } | |||
| #color-button > button[data-md-color-primary=white] { | |||
| box-shadow: inset 0 0 0.05rem rgb(0 0 0 / 54%); | |||
| } | |||
| #color-button > button[data-md-color-accent] { | |||
| background-color: var(--md-accent-fg-color); | |||
| color: var(--md-code-bg-color); | |||
| } | |||
| mjx-container > img { | |||
| width: 0; | |||
| height: 0; | |||
| } | |||
| [data-md-color-scheme="slate"] { | |||
| --md-primary-fg-color: #2e303e; | |||
| --md-accent-fg-color: #00bda4; | |||
| --md-typeset-a-color: #526cfe; | |||
| } | |||
| [data-md-color-scheme="slate"] .md-typeset img { | |||
| background: white; | |||
| filter: brightness(0.9); | |||
| } | |||
| [data-md-color-scheme="slate"] .md-typeset img[src$=".svg"] { | |||
| border: 4px solid white; | |||
| } | |||
| @@ -176,7 +176,79 @@ nav: | |||
| theme: | |||
| name: material | |||
| static_templates: | |||
| - 404.html | |||
| language: 'en' | |||
| palette: | |||
| # Palette toggle for light mode | |||
| - media: "(prefers-color-scheme: light)" | |||
| scheme: default | |||
| primary: white | |||
| accent: red | |||
| toggle: | |||
| icon: material/weather-sunny | |||
| name: Switch to dark mode | |||
| # Palette toggle for dark mode | |||
| - media: "(prefers-color-scheme: dark)" | |||
| scheme: slate | |||
| primary: blue | |||
| accent: blue | |||
| toggle: | |||
| icon: material/weather-night | |||
| name: Switch to light mode | |||
| include_search_page: false | |||
| search_index_only: true | |||
| favicon: 'media/icon128.png' | |||
| icon: | |||
| logo: 'material/file-document' | |||
| features: | |||
| - content.action.edit | |||
| - navigation.instant | |||
| font: | |||
| text: 'Fira Sans' | |||
| code: 'Fira Mono' | |||
| extra: | |||
| version: | |||
| provider: mike | |||
| provider: mike | |||
| extra_css: | |||
| - 'css/extra.css?v=14' | |||
| markdown_extensions: | |||
| - admonition | |||
| - def_list | |||
| - footnotes | |||
| - meta | |||
| - toc: | |||
| permalink: "" | |||
| slugify: !!python/name:pymdownx.slugs.uslugify | |||
| - pymdownx.arithmatex: | |||
| generic: true | |||
| - pymdownx.caret | |||
| - pymdownx.critic | |||
| - pymdownx.details | |||
| - pymdownx.emoji: | |||
| emoji_generator: !!python/name:pymdownx.emoji.to_svg | |||
| - pymdownx.highlight: | |||
| linenums: true | |||
| - pymdownx.inlinehilite | |||
| - pymdownx.keys | |||
| - pymdownx.magiclink | |||
| - pymdownx.mark | |||
| - pymdownx.snippets: | |||
| check_paths: true | |||
| - pymdownx.progressbar | |||
| - pymdownx.smartsymbols | |||
| - pymdownx.superfences: | |||
| custom_fences: | |||
| - name: math | |||
| class: arithmatex | |||
| format: !!python/name:pymdownx.arithmatex.fence_mathjax_format | |||
| - pymdownx.tasklist: | |||
| custom_checkbox: true | |||
| - pymdownx.tilde | |||
| - pymdownx.tabbed: | |||
| alternate_style: true | |||