def load_yolox_onnx(model_name: str, device: str) -> Tuple[onnxruntime.InferenceSession, preprocess_yolox]:
    """ loads the yolox onnx model

    Args:
        model_name (str): _description_
        device (str): _description_

    Returns:
        Tuple[onnxruntime.InferenceSession, preprocess_yolox]: _description_
    """
    fast_onnxprovider = _get_onnx_provider(device)

    sess_options = onnxruntime.SessionOptions()

    session = onnxruntime.InferenceSession(model_name, sess_options=sess_options, providers=[fast_onnxprovider])
    session.disable_fallback()
    logger.info(f"using yolox onnx provider:{session.get_providers()} after requesting {fast_onnxprovider}")
    preprocess = preprocess_yolox

    return session, preprocess
 loads the yolox onnx model

    Args:
        model_name (str): _description_
        device (str): _description_

    Returns:
        Tuple[onnxruntime.InferenceSession, preprocess_yolox]: _description_
    
src/marqo/s2_inference/processing/yolox_utils.py