mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-12-28 01:48:56 +01:00
Allow batch size ranges again in TRT
This commit is contained in:
parent
35073adc1f
commit
d1fdf1766a
@ -1454,8 +1454,8 @@ function getCurrentUserRequest() {
|
||||
newTask.reqBody.convert_to_tensorrt = document.querySelector("#convert_to_tensorrt").checked
|
||||
let trtBuildConfig = {
|
||||
batch_size_range: [
|
||||
parseInt(document.querySelector("#trt-build-batch").value),
|
||||
parseInt(document.querySelector("#trt-build-batch").value),
|
||||
parseInt(document.querySelector("#trt-build-min-batch").value),
|
||||
parseInt(document.querySelector("#trt-build-max-batch").value),
|
||||
],
|
||||
dimensions_range: [],
|
||||
}
|
||||
|
@ -251,7 +251,8 @@ var PARAMETERS = [
|
||||
<b>Early access version:</b> support for LoRA is still under development.
|
||||
<div id="trt-build-config" class="displayNone">
|
||||
<h3>Build Config:</h3>
|
||||
Batch size: <input id="trt-build-batch" type="number" min="1" value="1" /><br/><br/>
|
||||
Min batch size: <input id="trt-build-min-batch" type="number" min="1" value="1" /><br/>
|
||||
Max batch size: <input id="trt-build-max-batch" type="number" min="1" value="1" /><br/><br/>
|
||||
<b>Build for resolutions</b>:<br/>
|
||||
<input id="trt-build-res-512" type="checkbox" value="1" /> 512x512 to 768x768<br/>
|
||||
<input id="trt-build-res-768" type="checkbox" value="1" checked /> 768x768 to 1024x1024<br/>
|
||||
|
Loading…
Reference in New Issue
Block a user