Skip to content

Commit 3bc952c

Browse files
authored
Merge pull request #633 from AsakusaRinne/doc_ci
fix: the missing of llava_shared library.
2 parents 27a8ab3 + b941540 commit 3bc952c

File tree

7 files changed

+189
-1
lines changed

7 files changed

+189
-1
lines changed

LLama/runtimes/build/LLamaSharp.Backend.Cpu.nuspec

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
<files>
1919
<file src="LLamaSharpBackend.props" target="build/netstandard2.0/LLamaSharp.Backend.Cpu.props" />
2020

21+
<file src="runtimes/deps/libllava_shared.so" target="runtimes\linux-x64\native\libllava_shared.so" />
22+
<file src="runtimes/deps/llava_shared.dll" target="runtimes\win-x64\native\llava_shared.dll" />
23+
<file src="runtimes/deps/osx-x64/libllava_shared.dylib" target="runtimes\osx-x64\native\libllava_shared.dylib" />
24+
<file src="runtimes/deps/osx-arm64/libllava_shared.dylib" target="runtimes\osx-arm64\native\libllava_shared.dylib" />
25+
2126
<file src="runtimes/deps/llama.dll" target="runtimes\win-x64\native\llama.dll" />
2227
<file src="runtimes/deps/avx/llama.dll" target="runtimes\win-x64\native\avx\llama.dll" />
2328
<file src="runtimes/deps/avx2/llama.dll" target="runtimes\win-x64\native\avx2\llama.dll" />

LLama/runtimes/build/LLamaSharp.Backend.Cuda11.nuspec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717

1818
<files>
1919
<file src="LLamaSharpBackend.props" target="build/netstandard2.0/LLamaSharp.Backend.Cuda11.props" />
20+
21+
<file src="runtimes/deps/libllava_shared.so" target="runtimes\linux-x64\native\libllava_shared.so" />
22+
<file src="runtimes/deps/llava_shared.dll" target="runtimes\win-x64\native\llava_shared.dll" />
2023

2124
<file src="runtimes/deps/cu11.7.1/llama.dll" target="runtimes\win-x64\native\cuda11\llama.dll" />
2225
<file src="runtimes/deps/cu11.7.1/libllama.so" target="runtimes\linux-x64\native\cuda11\libllama.so" />

LLama/runtimes/build/LLamaSharp.Backend.Cuda12.nuspec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717

1818
<files>
1919
<file src="LLamaSharpBackend.props" target="build/netstandard2.0/LLamaSharp.Backend.Cuda12.props" />
20+
21+
<file src="runtimes/deps/libllava_shared.so" target="runtimes\linux-x64\native\libllava_shared.so" />
22+
<file src="runtimes/deps/llava_shared.dll" target="runtimes\win-x64\native\llava_shared.dll" />
2023

2124
<file src="runtimes/deps/cu12.1.0/llama.dll" target="runtimes\win-x64\native\cuda12\llama.dll" />
2225
<file src="runtimes/deps/cu12.1.0/libllama.so" target="runtimes\linux-x64\native\cuda12\libllama.so" />

LLama/runtimes/build/LLamaSharp.Backend.OpenCL.nuspec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
<files>
1919
<file src="LLamaSharpBackend.props" target="build/netstandard2.0/LLamaSharp.Backend.OpenCL.props" />
2020

21+
<file src="runtimes/deps/libllava_shared.so" target="runtimes\linux-x64\native\libllava_shared.so" />
22+
<file src="runtimes/deps/llava_shared.dll" target="runtimes\win-x64\native\llava_shared.dll" />
23+
2124
<file src="runtimes/deps/clblast/llama.dll" target="runtimes\win-x64\native\clblast\llama.dll" />
2225
<file src="runtimes/deps/clblast/clblast.dll" target="runtimes\win-x64\native\clblast\clblast.dll" />
2326
<file src="runtimes/deps/clblast/libllama.so" target="runtimes\linux-x64\native\clblast\libllama.so" />

docs/css/extra.css

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
/* Logo title */
2+
.md-header__topic:first-child {
3+
font-weight: initial !important;
4+
}
5+
6+
/* Code font size in <details> */
7+
details .linenos, details code {
8+
font-size: inherit !important;
9+
}
10+
11+
/* Code block / tab in details */
12+
details > summary + .highlight:last-child, details > summary + .tabbed-set:last-child { margin: 0 -0.6rem !important; }
13+
details > summary + .highlight:last-child > .highlighttable { margin: 0 !important; }
14+
15+
/* Table full width */
16+
.md-typeset__table { display: block !important; }
17+
.md-typeset table:not(.highlighttable) { display: table !important; }
18+
19+
.md-typeset table:not([class]) th {
20+
min-width: 0rem;
21+
}
22+
23+
.headerlink { transform: translateY(-2.5px); }
24+
25+
.md-nav__link[for=__toc] .md-icon { margin-left: auto !important; }
26+
27+
blockquote.page-time {
28+
margin: 20px 0 !important;
29+
border-left-color: #64b5f6 !important; /* Just change the color value and that's it*/
30+
}
31+
blockquote.page-copyright {
32+
margin: 20px 0 !important;
33+
border-left-color: #ff1700 !important; /* Just change the color value and that's it*/
34+
}
35+
blockquote.page-copyright i.md-icon {
36+
display: inline-block;
37+
margin-right: 5px;
38+
transform: translateY(3.5px);
39+
width: 18px;
40+
}
41+
42+
#myBtn {
43+
display: none;
44+
position: fixed;
45+
bottom: 100px;
46+
right: 16px;
47+
z-index: 99;
48+
border: none;
49+
outline: none;
50+
color: #8590a6;
51+
cursor: pointer;
52+
padding: .7rem;
53+
border-radius: .4rem;
54+
}
55+
56+
#myBtn:hover {
57+
background-color: #d3d3d3;
58+
}
59+
60+
#color-button > button {
61+
cursor: pointer;
62+
transition: opacity .25s;
63+
display: inline-block;
64+
width: 6.5rem;
65+
margin-bottom: 0.2rem;
66+
padding: 1.2rem 0.4rem 0.2rem;
67+
font-size: 0.64rem;
68+
text-align: left;
69+
}
70+
71+
#color-button > button[data-md-color-primary] {
72+
background-color: var(--md-primary-fg-color);
73+
color: var(--md-primary-bg-color);
74+
}
75+
#color-button > button[data-md-color-primary=white] {
76+
box-shadow: inset 0 0 0.05rem rgb(0 0 0 / 54%);
77+
}
78+
79+
#color-button > button[data-md-color-accent] {
80+
background-color: var(--md-accent-fg-color);
81+
color: var(--md-code-bg-color);
82+
}
83+
84+
mjx-container > img {
85+
width: 0;
86+
height: 0;
87+
}
88+
89+
[data-md-color-scheme="slate"] {
90+
--md-primary-fg-color: #2e303e;
91+
--md-accent-fg-color: #00bda4;
92+
--md-typeset-a-color: #526cfe;
93+
}
94+
95+
[data-md-color-scheme="slate"] .md-typeset img {
96+
background: white;
97+
filter: brightness(0.9);
98+
}
99+
100+
[data-md-color-scheme="slate"] .md-typeset img[src$=".svg"] {
101+
border: 4px solid white;
102+
}

docs/media/icon128.png

7.63 KB
Loading

mkdocs.yml

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,79 @@ nav:
176176

177177
theme:
178178
name: material
179+
static_templates:
180+
- 404.html
181+
language: 'en'
182+
palette:
183+
# Palette toggle for light mode
184+
- media: "(prefers-color-scheme: light)"
185+
scheme: default
186+
primary: white
187+
accent: red
188+
toggle:
189+
icon: material/weather-sunny
190+
name: Switch to dark mode
191+
192+
# Palette toggle for dark mode
193+
- media: "(prefers-color-scheme: dark)"
194+
scheme: slate
195+
primary: blue
196+
accent: blue
197+
toggle:
198+
icon: material/weather-night
199+
name: Switch to light mode
200+
include_search_page: false
201+
search_index_only: true
202+
favicon: 'media/icon128.png'
203+
icon:
204+
logo: 'material/file-document'
205+
features:
206+
- content.action.edit
207+
- navigation.instant
208+
font:
209+
text: 'Fira Sans'
210+
code: 'Fira Mono'
211+
179212

180213
extra:
181214
version:
182-
provider: mike
215+
provider: mike
216+
217+
extra_css:
218+
- 'css/extra.css?v=14'
219+
220+
markdown_extensions:
221+
- admonition
222+
- def_list
223+
- footnotes
224+
- meta
225+
- toc:
226+
permalink: ""
227+
slugify: !!python/name:pymdownx.slugs.uslugify
228+
- pymdownx.arithmatex:
229+
generic: true
230+
- pymdownx.caret
231+
- pymdownx.critic
232+
- pymdownx.details
233+
- pymdownx.emoji:
234+
emoji_generator: !!python/name:pymdownx.emoji.to_svg
235+
- pymdownx.highlight:
236+
linenums: true
237+
- pymdownx.inlinehilite
238+
- pymdownx.keys
239+
- pymdownx.magiclink
240+
- pymdownx.mark
241+
- pymdownx.snippets:
242+
check_paths: true
243+
- pymdownx.progressbar
244+
- pymdownx.smartsymbols
245+
- pymdownx.superfences:
246+
custom_fences:
247+
- name: math
248+
class: arithmatex
249+
format: !!python/name:pymdownx.arithmatex.fence_mathjax_format
250+
- pymdownx.tasklist:
251+
custom_checkbox: true
252+
- pymdownx.tilde
253+
- pymdownx.tabbed:
254+
alternate_style: true

0 commit comments

Comments
 (0)