Skip to content

Commit

Permalink
fix trt bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zml-ai committed Jun 14, 2024
1 parent 24c1c9a commit 6707831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydit/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from transformers import BertModel, BertTokenizer
from transformers.modeling_utils import logger as tf_logger

from .constants import SAMPLER_FACTORY, NEGATIVE_PROMPT
from .constants import SAMPLER_FACTORY, NEGATIVE_PROMPT, TRT_MAX_WIDTH, TRT_MAX_HEIGHT, TRT_MAX_BATCH_SIZE
from .diffusion.pipeline import StableDiffusionPipeline
from .modules.models import HunYuanDiT, HUNYUAN_DIT_CONFIG
from .modules.posemb_layers import get_2d_rotary_pos_embed, get_fill_resize_and_crop
Expand Down

0 comments on commit 6707831

Please sign in to comment.