mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-04-25 20:08:16 +02:00
TRT ui changes
This commit is contained in:
parent
fa58996f37
commit
38ab5b090f
@ -18,7 +18,7 @@ os_name = platform.system()
|
|||||||
modules_to_check = {
|
modules_to_check = {
|
||||||
"torch": ("1.11.0", "1.13.1", "2.0.0"),
|
"torch": ("1.11.0", "1.13.1", "2.0.0"),
|
||||||
"torchvision": ("0.12.0", "0.14.1", "0.15.1"),
|
"torchvision": ("0.12.0", "0.14.1", "0.15.1"),
|
||||||
"sdkit": "1.0.157",
|
"sdkit": "1.0.158",
|
||||||
"stable-diffusion-sdkit": "2.1.4",
|
"stable-diffusion-sdkit": "2.1.4",
|
||||||
"rich": "12.6.0",
|
"rich": "12.6.0",
|
||||||
"uvicorn": "0.19.0",
|
"uvicorn": "0.19.0",
|
||||||
|
@ -1454,8 +1454,8 @@ function getCurrentUserRequest() {
|
|||||||
newTask.reqBody.convert_to_tensorrt = document.querySelector("#convert_to_tensorrt").checked
|
newTask.reqBody.convert_to_tensorrt = document.querySelector("#convert_to_tensorrt").checked
|
||||||
let trtBuildConfig = {
|
let trtBuildConfig = {
|
||||||
batch_size_range: [
|
batch_size_range: [
|
||||||
parseInt(document.querySelector("#trt-build-min-batch").value),
|
parseInt(document.querySelector("#trt-build-batch").value),
|
||||||
parseInt(document.querySelector("#trt-build-max-batch").value),
|
parseInt(document.querySelector("#trt-build-batch").value),
|
||||||
],
|
],
|
||||||
dimensions_range: [],
|
dimensions_range: [],
|
||||||
}
|
}
|
||||||
|
@ -251,8 +251,7 @@ var PARAMETERS = [
|
|||||||
<b>Early access version:</b> support for LoRA is still under development.
|
<b>Early access version:</b> support for LoRA is still under development.
|
||||||
<div id="trt-build-config" class="displayNone">
|
<div id="trt-build-config" class="displayNone">
|
||||||
<h3>Build Config:</h3>
|
<h3>Build Config:</h3>
|
||||||
Min batch size: <input id="trt-build-min-batch" type="number" min="1" value="1" /><br/>
|
Batch size: <input id="trt-build-batch" type="number" min="1" value="1" /><br/><br/>
|
||||||
Max batch size: <input id="trt-build-max-batch" type="number" min="1" value="1" /><br/><br/>
|
|
||||||
<b>Build for resolutions</b>:<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-512" type="checkbox" value="1" /> 512x512 to 768x768<br/>
|
||||||
<input id="trt-build-res-768" type="checkbox" value="1" checked /> 768x768 to 1024x1024<br/>
|
<input id="trt-build-res-768" type="checkbox" value="1" checked /> 768x768 to 1024x1024<br/>
|
||||||
|
Loading…
Reference in New Issue
Block a user