Delete duplicate lines (#606)

This commit is contained in:
bofeng huang
2023-09-19 22:40:05 +02:00
committed by GitHub
parent b53e77775b
commit aa656e04bd

View File

@@ -175,8 +175,6 @@ def load_model(
LOG.info("patching _expand_mask")
hijack_expand_mask()
model_config = load_model_config(cfg)
# special handling b/c remote MixFormers code doesn't have _no_split_modules set
if (
"MixFormerSequentialConfig" in model_config.__class__.__name__