def clear_loaded_models() -> None:
    """ clears the loaded model cache

        Future_Change:
            expose cache related functions to the client
    """
    _available_models.clear()
    if torch.cuda.is_available():
        torch.cuda.synchronize()
        torch.cuda.empty_cache()
 clears the loaded model cache

        Future_Change:
            expose cache related functions to the client
    
src/marqo/inference/native_inference/load_model.py