mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-18 18:52:16 +00:00
Add On-Device Training Mac & iOS package installation options (#16992)
This commit is contained in:
parent
fcd241f145
commit
d5d960e6ff
2 changed files with 28 additions and 3 deletions
16
index.html
16
index.html
|
|
@ -625,7 +625,7 @@ Console.WriteLine(outputs[0].AsTensor<float>()[0]);</code>
|
|||
<div class="col-md-3 r-heading">
|
||||
<h3 id="ot_selectOS">Platform</h3>
|
||||
<p id="ot_decriptionOS" class="sr-only">
|
||||
Platform list contains three items
|
||||
Platform list contains five items
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-9 r-content pr-0 pl-md-4" role="listbox"
|
||||
|
|
@ -640,10 +640,18 @@ Console.WriteLine(outputs[0].AsTensor<float>()[0]);</code>
|
|||
aria-selected="true" id="ot_windows">
|
||||
<span>Windows</span>
|
||||
</div>
|
||||
<div class="col r-option" role="option" tabindex="0"
|
||||
aria-selected="true" id="ot_mac">
|
||||
<span>Mac</span>
|
||||
</div>
|
||||
<div class="col r-option" role="option" tabindex="0"
|
||||
aria-selected="true" id="ot_android">
|
||||
<span>Android</span>
|
||||
</div>
|
||||
<div class="col r-option" role="option" tabindex="0"
|
||||
aria-selected="true" id="ot_ios">
|
||||
<span>iOS</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -652,7 +660,7 @@ Console.WriteLine(outputs[0].AsTensor<float>()[0]);</code>
|
|||
<div class="col-md-3 r-heading">
|
||||
<h3 id="ot_selectLanguage">API</h3>
|
||||
<p id="ot_decriptionLanguage" class="sr-only">
|
||||
API list contains five items
|
||||
API list contains six items
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-9 r-content pr-0 pl-md-4" role="listbox"
|
||||
|
|
@ -679,6 +687,10 @@ Console.WriteLine(outputs[0].AsTensor<float>()[0]);</code>
|
|||
aria-selected="true" id="ot_java">
|
||||
<span>Java</span>
|
||||
</div>
|
||||
<div class="col r-option" role="option" tabindex="0"
|
||||
aria-selected="true" id="ot_objc">
|
||||
<span>Obj-C</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
15
js/script.js
15
js/script.js
|
|
@ -576,7 +576,7 @@ var ot_validCombos = {
|
|||
"pip install onnxruntime-training -f https://downloads.onnxruntime.ai/onnxruntime_stable_<b><rocm_version*</b>>.html<br/>pip install torch-ort<br/>python -m torch_ort.configure<br/><br/>*<a href='https://download.onnxruntime.ai/' target='blank'>Available versions</a>",
|
||||
|
||||
"ot_linux,ot_on_device,ot_python,ot_X64,ot_CPU":
|
||||
"pip install onnxruntime-training -f https://downloads.onnxruntime.ai/onnxruntime_stable_<b><cu_version*</b>>.html<br/><br/>*</b><a href='https://download.onnxruntime.ai/' target='blank'>Available versions</a>",
|
||||
"pip install onnxruntime-training<br/><br/>*</b><a href='https://download.onnxruntime.ai/' target='blank'>Available versions</a>",
|
||||
|
||||
"ot_linux,ot_on_device,ot_python,ot_X64,ot_CUDA":
|
||||
"Follow build instructions from <a href='https://onnxruntime.ai/docs/build/training.html' target='_blank'>here</a>",
|
||||
|
|
@ -631,6 +631,19 @@ var ot_validCombos = {
|
|||
|
||||
"ot_android,ot_on_device,ot_java,ot_X64,ot_CPU":
|
||||
"Add a dependency on <a href='https://mvnrepository.com/artifact/com.microsoft.onnxruntime/onnxruntime-training-android' target='_blank'>com.microsoft.onnxruntime:onnxruntime-training-android</a> using Maven/Gradle and refer to the instructions <a href='https://onnxruntime.ai/docs/install/#install-for-on-device-training' target='_blank'>here.</a>",
|
||||
|
||||
"ot_mac,ot_on_device,ot_python,ot_X64,ot_CPU":
|
||||
"pip install onnxruntime-training<br/><br/>*</b><a href='https://download.onnxruntime.ai/' target='blank'>Available versions</a>",
|
||||
|
||||
"ot_ios,ot_on_device,ot_objc,ot_X64,ot_CPU":
|
||||
"Add 'onnxruntime-training-objc' using CocoaPods and refer to the <a href='https://onnxruntime.ai/docs/tutorials/mobile/' target='_blank'>mobile deployment guide</a>",
|
||||
|
||||
"ot_ios,ot_on_device,ot_c,ot_X64,ot_CPU":
|
||||
"Add 'onnxruntime-training-c' using CocoaPods and refer to the <a href='https://onnxruntime.ai/docs/tutorials/mobile/' target='_blank'>mobile deployment guide</a>",
|
||||
|
||||
"ot_ios,ot_on_device,ot_cplusplus,ot_X64,ot_CPU":
|
||||
"Add 'onnxruntime-training-c' using CocoaPods and refer to the <a href='https://onnxruntime.ai/docs/tutorials/mobile/' target='_blank'>mobile deployment guide</a>",
|
||||
|
||||
};
|
||||
|
||||
function ot_commandMessage(key) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue