Add switchable DIFF V1 attention
This commit is contained in:
@@ -231,6 +231,7 @@ def build_model_from_dataset(
|
||||
dist_mode=str(cfg_get(args, cfg, "dist_mode", "exponential")),
|
||||
dropout=float(cfg_get(args, cfg, "dropout", 0.0)),
|
||||
model_architecture=model_architecture,
|
||||
attention_type=str(cfg_get(args, cfg, "attention_type", "standard")),
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user