Skip to content

Commit 5ed8d35

Browse files
committed
Auto-generating sphinx docs
1 parent 0075681 commit 5ed8d35

32 files changed

Lines changed: 1761 additions & 633 deletions

main/javadoc/allclasses.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@ <h1 class="bar">All Classes</h1>
3737

3838
<li><a href=org/pytorch/executorch/annotations/Experimental.html>Experimental</a></li>
3939

40-
<li><a href=org/pytorch/executorch/extension/llm/LlmCallback.html>LlmCallback</a></li>
41-
42-
<li><a href=org/pytorch/executorch/extension/llm/LlmGenerationConfig.html>LlmGenerationConfig</a></li>
43-
44-
<li><a href=org/pytorch/executorch/extension/llm/LlmModule.html>LlmModule</a></li>
45-
46-
<li><a href=org/pytorch/executorch/extension/llm/LlmModuleConfig.html>LlmModuleConfig</a></li>
47-
4840
<li><a href=org/pytorch/executorch/training/SGD.html>SGD</a></li>
4941

5042
<li><a href=org/pytorch/executorch/training/TrainingModule.html>TrainingModule</a></li>
@@ -54,6 +46,14 @@ <h1 class="bar">All Classes</h1>
5446
<li><a href=org/pytorch/executorch/extension/asr/AsrModule.html>AsrModule</a></li>
5547

5648
<li><a href=org/pytorch/executorch/extension/asr/AsrTranscribeConfig.html>AsrTranscribeConfig</a></li>
49+
50+
<li><a href=org/pytorch/executorch/extension/llm/LlmCallback.html>LlmCallback</a></li>
51+
52+
<li><a href=org/pytorch/executorch/extension/llm/LlmGenerationConfig.html>LlmGenerationConfig</a></li>
53+
54+
<li><a href=org/pytorch/executorch/extension/llm/LlmModule.html>LlmModule</a></li>
55+
56+
<li><a href=org/pytorch/executorch/extension/llm/LlmModuleConfig.html>LlmModuleConfig</a></li>
5757
</ul>
5858
</main>
5959
</body>

main/javadoc/element-list

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ $dokka.linkExtension:html
33
$dokka.location:org.pytorch.executorch.extension.asr/AsrModule.Companion///PointingToDeclaration/org/pytorch/executorch/extension/asr/AsrModule.Companion.html
44
$dokka.location:org.pytorch.executorch.extension.asr/AsrTranscribeConfig.Builder///PointingToDeclaration/org/pytorch/executorch/extension/asr/AsrTranscribeConfig.Builder.html
55
$dokka.location:org.pytorch.executorch.extension.llm/LlmGenerationConfig.Builder///PointingToDeclaration/org/pytorch/executorch/extension/llm/LlmGenerationConfig.Builder.html
6+
$dokka.location:org.pytorch.executorch.extension.llm/LlmGenerationConfig.Companion///PointingToDeclaration/org/pytorch/executorch/extension/llm/LlmGenerationConfig.Companion.html
7+
$dokka.location:org.pytorch.executorch.extension.llm/LlmModule.Companion///PointingToDeclaration/org/pytorch/executorch/extension/llm/LlmModule.Companion.html
68
$dokka.location:org.pytorch.executorch.extension.llm/LlmModuleConfig.Builder///PointingToDeclaration/org/pytorch/executorch/extension/llm/LlmModuleConfig.Builder.html
9+
$dokka.location:org.pytorch.executorch.extension.llm/LlmModuleConfig.Companion///PointingToDeclaration/org/pytorch/executorch/extension/llm/LlmModuleConfig.Companion.html
710
$dokka.location:org.pytorch.executorch/ExecutorchRuntimeException.ExecutorchInvalidArgumentException///PointingToDeclaration/org/pytorch/executorch/ExecutorchRuntimeException.ExecutorchInvalidArgumentException.html
811
org.pytorch.executorch
912
org.pytorch.executorch.annotations

main/javadoc/index-files/index-10.html

Lines changed: 50 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ <h2 class="title">L</h2>
152152

153153

154154
</dt>
155-
<dd>Callback interface for Llama model.</dd>
155+
<dd>Callback interface for Llm model.</dd>
156156

157157

158158
<dt>
@@ -181,6 +181,19 @@ <h2 class="title">L</h2>
181181
<dd>Builder class for constructing LlmGenerationConfig instances.</dd>
182182

183183

184+
<dt>
185+
186+
<span class="memberNameLink">
187+
188+
<a href="../org/pytorch/executorch/extension/llm/LlmGenerationConfig.Companion.html">LlmGenerationConfig.Companion</a>
189+
190+
</span> - class in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmGenerationConfig.html>LlmGenerationConfig</a>
191+
192+
193+
</dt>
194+
<dd>&nbsp;</dd>
195+
196+
184197
<dt>
185198

186199
<span class="memberNameLink">
@@ -194,6 +207,19 @@ <h2 class="title">L</h2>
194207
<dd>LlmModule is a wrapper around the Executorch LLM.</dd>
195208

196209

210+
<dt>
211+
212+
<span class="memberNameLink">
213+
214+
<a href="../org/pytorch/executorch/extension/llm/LlmModule.Companion.html">LlmModule.Companion</a>
215+
216+
</span> - class in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmModule.html>LlmModule</a>
217+
218+
219+
</dt>
220+
<dd>&nbsp;</dd>
221+
222+
197223
<dt>
198224

199225
<span class="memberNameLink">
@@ -224,20 +250,20 @@ <h2 class="title">L</h2>
224250

225251
<span class="memberNameLink">
226252

227-
<a href="../org/pytorch/executorch/Module.html#load(String,int)">load(String,int)</a>
253+
<a href="../org/pytorch/executorch/extension/llm/LlmModuleConfig.Companion.html">LlmModuleConfig.Companion</a>
228254

229-
</span> - function in org.pytorch.executorch.<a href=../org/pytorch/executorch/Module.html>Module</a>
255+
</span> - class in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmModuleConfig.html>LlmModuleConfig</a>
230256

231257

232258
</dt>
233-
<dd>Loads a serialized ExecuTorch module from the specified path on the disk.</dd>
259+
<dd>&nbsp;</dd>
234260

235261

236262
<dt>
237263

238264
<span class="memberNameLink">
239265

240-
<a href="../org/pytorch/executorch/Module.html#load(String,int,int)">load(String,int,int)</a>
266+
<a href="../org/pytorch/executorch/Module.html#load(String,int)">load(String,int)</a>
241267

242268
</span> - function in org.pytorch.executorch.<a href=../org/pytorch/executorch/Module.html>Module</a>
243269

@@ -250,26 +276,26 @@ <h2 class="title">L</h2>
250276

251277
<span class="memberNameLink">
252278

253-
<a href="../org/pytorch/executorch/Module.html#load(String)">load(String)</a>
279+
<a href="../org/pytorch/executorch/Module.html#load(String,int,int)">load(String,int,int)</a>
254280

255281
</span> - function in org.pytorch.executorch.<a href=../org/pytorch/executorch/Module.html>Module</a>
256282

257283

258284
</dt>
259-
<dd>Loads a serialized ExecuTorch module from the specified path on the disk to run on CPU.</dd>
285+
<dd>Loads a serialized ExecuTorch module from the specified path on the disk.</dd>
260286

261287

262288
<dt>
263289

264290
<span class="memberNameLink">
265291

266-
<a href="../org/pytorch/executorch/extension/llm/LlmModule.html#load()">load()</a>
292+
<a href="../org/pytorch/executorch/Module.html#load(String)">load(String)</a>
267293

268-
</span> - function in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmModule.html>LlmModule</a>
294+
</span> - function in org.pytorch.executorch.<a href=../org/pytorch/executorch/Module.html>Module</a>
269295

270296

271297
</dt>
272-
<dd>Force loading the module.</dd>
298+
<dd>Loads a serialized ExecuTorch module from the specified path on the disk to run on CPU.</dd>
273299

274300

275301
<dt>
@@ -311,6 +337,19 @@ <h2 class="title">L</h2>
311337
<dd>Force loading the module.</dd>
312338

313339

340+
<dt>
341+
342+
<span class="memberNameLink">
343+
344+
<a href="../org/pytorch/executorch/extension/llm/LlmModule.html#load()">load()</a>
345+
346+
</span> - function in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmModule.html>LlmModule</a>
347+
348+
349+
</dt>
350+
<dd>Force loading the module.</dd>
351+
352+
314353
<dt>
315354

316355
<span class="memberNameLink">
@@ -328,7 +367,7 @@ <h2 class="title">L</h2>
328367

329368
<span class="memberNameLink">
330369

331-
<a href="../org/pytorch/executorch/extension/llm/LlmModuleConfig.Builder.html#loadMode(int)">loadMode(int)</a>
370+
<a href="../org/pytorch/executorch/extension/llm/LlmModuleConfig.Builder.html#loadMode(Integer)">loadMode(Integer)</a>
332371

333372
</span> - function in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmModuleConfig.Builder.html>LlmModuleConfig.Builder</a>
334373

main/javadoc/index-files/index-11.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ <h2 class="title">M</h2>
172172

173173
<span class="memberNameLink">
174174

175-
<a href="../org/pytorch/executorch/extension/llm/LlmGenerationConfig.Builder.html#maxNewTokens(int)">maxNewTokens(int)</a>
175+
<a href="../org/pytorch/executorch/extension/llm/LlmGenerationConfig.Builder.html#maxNewTokens(Integer)">maxNewTokens(Integer)</a>
176176

177177
</span> - function in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmGenerationConfig.Builder.html>LlmGenerationConfig.Builder</a>
178178

@@ -198,7 +198,7 @@ <h2 class="title">M</h2>
198198

199199
<span class="memberNameLink">
200200

201-
<a href="../org/pytorch/executorch/extension/llm/LlmModuleConfig.Builder.html#modelType(int)">modelType(int)</a>
201+
<a href="../org/pytorch/executorch/extension/llm/LlmModuleConfig.Builder.html#modelType(Integer)">modelType(Integer)</a>
202202

203203
</span> - function in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmModuleConfig.Builder.html>LlmModuleConfig.Builder</a>
204204

main/javadoc/index-files/index-12.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ <h2 class="title">N</h2>
172172

173173
<span class="memberNameLink">
174174

175-
<a href="../org/pytorch/executorch/extension/llm/LlmGenerationConfig.Builder.html#numBos(int)">numBos(int)</a>
175+
<a href="../org/pytorch/executorch/extension/llm/LlmGenerationConfig.Builder.html#numBos(Integer)">numBos(Integer)</a>
176176

177177
</span> - function in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmGenerationConfig.Builder.html>LlmGenerationConfig.Builder</a>
178178

@@ -185,7 +185,7 @@ <h2 class="title">N</h2>
185185

186186
<span class="memberNameLink">
187187

188-
<a href="../org/pytorch/executorch/extension/llm/LlmModuleConfig.Builder.html#numBos(int)">numBos(int)</a>
188+
<a href="../org/pytorch/executorch/extension/llm/LlmModuleConfig.Builder.html#numBos(Integer)">numBos(Integer)</a>
189189

190190
</span> - function in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmModuleConfig.Builder.html>LlmModuleConfig.Builder</a>
191191

@@ -224,7 +224,7 @@ <h2 class="title">N</h2>
224224

225225
<span class="memberNameLink">
226226

227-
<a href="../org/pytorch/executorch/extension/llm/LlmGenerationConfig.Builder.html#numEos(int)">numEos(int)</a>
227+
<a href="../org/pytorch/executorch/extension/llm/LlmGenerationConfig.Builder.html#numEos(Integer)">numEos(Integer)</a>
228228

229229
</span> - function in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmGenerationConfig.Builder.html>LlmGenerationConfig.Builder</a>
230230

@@ -237,7 +237,7 @@ <h2 class="title">N</h2>
237237

238238
<span class="memberNameLink">
239239

240-
<a href="../org/pytorch/executorch/extension/llm/LlmModuleConfig.Builder.html#numEos(int)">numEos(int)</a>
240+
<a href="../org/pytorch/executorch/extension/llm/LlmModuleConfig.Builder.html#numEos(Integer)">numEos(Integer)</a>
241241

242242
</span> - function in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmModuleConfig.Builder.html>LlmModuleConfig.Builder</a>
243243

main/javadoc/index-files/index-13.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,26 +146,26 @@ <h2 class="title">O</h2>
146146

147147
<span class="memberNameLink">
148148

149-
<a href="../org/pytorch/executorch/extension/llm/LlmCallback.html#onError(int,String)">onError(int,String)</a>
149+
<a href="../org/pytorch/executorch/extension/asr/AsrCallback.html#onError(Integer,String)">onError(Integer,String)</a>
150150

151-
</span> - function in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmCallback.html>LlmCallback</a>
151+
</span> - function in org.pytorch.executorch.extension.asr.<a href=../org/pytorch/executorch/extension/asr/AsrCallback.html>AsrCallback</a>
152152

153153

154154
</dt>
155-
<dd>Called when an error occurs during generate().</dd>
155+
<dd>Called when an error occurs during transcription.</dd>
156156

157157

158158
<dt>
159159

160160
<span class="memberNameLink">
161161

162-
<a href="../org/pytorch/executorch/extension/asr/AsrCallback.html#onError(Integer,String)">onError(Integer,String)</a>
162+
<a href="../org/pytorch/executorch/extension/llm/LlmCallback.html#onError(Integer,String)">onError(Integer,String)</a>
163163

164-
</span> - function in org.pytorch.executorch.extension.asr.<a href=../org/pytorch/executorch/extension/asr/AsrCallback.html>AsrCallback</a>
164+
</span> - function in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmCallback.html>LlmCallback</a>
165165

166166

167167
</dt>
168-
<dd>Called when an error occurs during transcription.</dd>
168+
<dd>Called when an error occurs during generate().</dd>
169169

170170

171171
<dt>

main/javadoc/index-files/index-14.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ <h2 class="title">P</h2>
146146

147147
<span class="memberNameLink">
148148

149-
<a href="../org/pytorch/executorch/extension/llm/LlmModule.html#prefillAudio(Array,int,int,int)">prefillAudio(Array,int,int,int)</a>
149+
<a href="../org/pytorch/executorch/extension/llm/LlmModule.html#prefillAudio(ByteArray,Integer,Integer,Integer)">prefillAudio(ByteArray,Integer,Integer,Integer)</a>
150150

151151
</span> - function in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmModule.html>LlmModule</a>
152152

@@ -159,7 +159,7 @@ <h2 class="title">P</h2>
159159

160160
<span class="memberNameLink">
161161

162-
<a href="../org/pytorch/executorch/extension/llm/LlmModule.html#prefillAudio(Array,int,int,int)">prefillAudio(Array,int,int,int)</a>
162+
<a href="../org/pytorch/executorch/extension/llm/LlmModule.html#prefillAudio(FloatArray,Integer,Integer,Integer)">prefillAudio(FloatArray,Integer,Integer,Integer)</a>
163163

164164
</span> - function in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmModule.html>LlmModule</a>
165165

@@ -172,7 +172,7 @@ <h2 class="title">P</h2>
172172

173173
<span class="memberNameLink">
174174

175-
<a href="../org/pytorch/executorch/extension/llm/LlmModule.html#prefillImages(Array,int,int,int)">prefillImages(Array,int,int,int)</a>
175+
<a href="../org/pytorch/executorch/extension/llm/LlmModule.html#prefillImages(IntArray,Integer,Integer,Integer)">prefillImages(IntArray,Integer,Integer,Integer)</a>
176176

177177
</span> - function in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmModule.html>LlmModule</a>
178178

@@ -185,7 +185,7 @@ <h2 class="title">P</h2>
185185

186186
<span class="memberNameLink">
187187

188-
<a href="../org/pytorch/executorch/extension/llm/LlmModule.html#prefillImages(ByteBuffer,int,int,int)">prefillImages(ByteBuffer,int,int,int)</a>
188+
<a href="../org/pytorch/executorch/extension/llm/LlmModule.html#prefillImages(ByteBuffer,Integer,Integer,Integer)">prefillImages(ByteBuffer,Integer,Integer,Integer)</a>
189189

190190
</span> - function in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmModule.html>LlmModule</a>
191191

@@ -198,7 +198,7 @@ <h2 class="title">P</h2>
198198

199199
<span class="memberNameLink">
200200

201-
<a href="../org/pytorch/executorch/extension/llm/LlmModule.html#prefillImages(Array,int,int,int)">prefillImages(Array,int,int,int)</a>
201+
<a href="../org/pytorch/executorch/extension/llm/LlmModule.html#prefillImages(FloatArray,Integer,Integer,Integer)">prefillImages(FloatArray,Integer,Integer,Integer)</a>
202202

203203
</span> - function in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmModule.html>LlmModule</a>
204204

@@ -211,7 +211,7 @@ <h2 class="title">P</h2>
211211

212212
<span class="memberNameLink">
213213

214-
<a href="../org/pytorch/executorch/extension/llm/LlmModule.html#prefillNormalizedImage(ByteBuffer,int,int,int)">prefillNormalizedImage(ByteBuffer,int,int,int)</a>
214+
<a href="../org/pytorch/executorch/extension/llm/LlmModule.html#prefillNormalizedImage(ByteBuffer,Integer,Integer,Integer)">prefillNormalizedImage(ByteBuffer,Integer,Integer,Integer)</a>
215215

216216
</span> - function in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmModule.html>LlmModule</a>
217217

@@ -237,7 +237,7 @@ <h2 class="title">P</h2>
237237

238238
<span class="memberNameLink">
239239

240-
<a href="../org/pytorch/executorch/extension/llm/LlmModule.html#prefillRawAudio(Array,int,int,int)">prefillRawAudio(Array,int,int,int)</a>
240+
<a href="../org/pytorch/executorch/extension/llm/LlmModule.html#prefillRawAudio(ByteArray,Integer,Integer,Integer)">prefillRawAudio(ByteArray,Integer,Integer,Integer)</a>
241241

242242
</span> - function in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmModule.html>LlmModule</a>
243243

main/javadoc/index-files/index-17.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ <h2 class="title">S</h2>
146146

147147
<span class="memberNameLink">
148148

149-
<a href="../org/pytorch/executorch/extension/llm/LlmGenerationConfig.Builder.html#seqLen(int)">seqLen(int)</a>
149+
<a href="../org/pytorch/executorch/extension/llm/LlmGenerationConfig.Builder.html#seqLen(Integer)">seqLen(Integer)</a>
150150

151151
</span> - function in org.pytorch.executorch.extension.llm.<a href=../org/pytorch/executorch/extension/llm/LlmGenerationConfig.Builder.html>LlmGenerationConfig.Builder</a>
152152

0 commit comments

Comments
 (0)