We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24c1c9a commit 6707831Copy full SHA for 6707831
hydit/inference.py
@@ -15,7 +15,7 @@
15
from transformers import BertModel, BertTokenizer
16
from transformers.modeling_utils import logger as tf_logger
17
18
-from .constants import SAMPLER_FACTORY, NEGATIVE_PROMPT
+from .constants import SAMPLER_FACTORY, NEGATIVE_PROMPT, TRT_MAX_WIDTH, TRT_MAX_HEIGHT, TRT_MAX_BATCH_SIZE
19
from .diffusion.pipeline import StableDiffusionPipeline
20
from .modules.models import HunYuanDiT, HUNYUAN_DIT_CONFIG
21
from .modules.posemb_layers import get_2d_rotary_pos_embed, get_fill_resize_and_crop
0 commit comments