def _make_shared_immutables_global(_model, _X_train, _y_train, _X_val,
    _y_val, _scoring, _scoring_params):
    """Shares memory objects across child processes.
    ASSUMES none of these will change!"""
    global model, X_train, y_train, X_val, y_val, scoring, scoring_params
    model = _model
    X_train = _X_train
    y_train = _y_train
    X_val = _X_val
    y_val = _y_val
    scoring = _scoring
    scoring_params = _scoring_params
