• Graham King's avatar
    chore: Prevent duplicate components with different models. (#1103) · 641234cd
    Graham King authored
    Each namespace is for a single pipeline, so a component must be model-unique. The means we can have several components with the same name running the same model (data parallel), their traffic will be routed according to `--router-mode`, but we cannot have several components with the same name running different models.
    
    Add an `ensure_unique` check to prevent that happening.
    641234cd
common.rs 10.6 KB