Failed to submit real-time inference pipeline

César Antonio Suárez Nuñez 0 Puntos de reputación
2024-11-11T08:59:08.8366667+00:00
So I try to submit a real-time inference pipeline, and I get an error. It's a very basic project, but somehow the environment seems not to be working and I'm not sure how to fix it:

yaml
2024-11-08T14:51:15: Downloading and Extracting Packages: ...working... done2024-11-08T14:51:15: Preparing transaction: ...working... done2024-11-08T14:51:17: Verifying transaction: ...working... done2024-11-08T14:51:18: Executing transaction: ...working... done2024-11-08T14:51:20: Installing pip dependencies: ...working... Ran pip subprocess with arguments:2024-11-08T14:51:20: ['/azureml-envs/azureml_d94996a922f33988d50b0d1ef907c9d2/bin/python', '-m', 'pip', 'install', '-U', '-r', '/azureml-environment-setup/condaenv.vj2jl6wo.requirements.txt', '--exists-action=b']2024-11-08T14:51:20: Pip subprocess output:2024-11-08T14:51:20: Collecting azureml-defaults2024-11-08T14:51:20:   Downloading azureml_defaults-1.58.0-py3-none-any.whl (2.0 kB2024-11-08T14:51:20: Collecting azureml-model-management-sdk2024-11-08T14:51:20:   Downloading azureml_model_management_sdk-1.0.1b6.post1-py2.py3-none-any.whl (130 kB)2024-11-08T14:51:20: failed2024-11-08T14:51:20: Pip subprocess error:2024-11-08T14:51:20: ERROR: Could not find a version that satisfies the requirement azureml-designer-serving==0.0.15 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.12)2024-11-08T14:51:20: ERROR: No matching distribution found for azureml-designer-serving==0.0.152024-11-08T14:51:20: 2024-11-08T14:51:20: CondaEnvException: Pip failed2024-11-08T14:51:27: The command '/bin/sh -c ldconfig /usr/local/cuda/lib64/stubs && conda env create -p /azureml-envs/azureml_d94996a922f33988d50b0d1ef907c9d2 -f azureml-environment-setup/mutated_conda_dependencies.yml && rm -rf "$HOME/.cache/pip" && conda clean -aqy && CONDA_ROOT_DIR=$(conda info --root) && rm -rf "$CONDA_ROOT_DIR/pkgs" && find "$CONDA_ROOT_DIR" -type d -name __pycache__ -exec rm -rf {} + && ldconfig' returned a non-zero code: 12024-11-08T14:51:27: 2024-11-08T14:51:27: CalledProcessError(1, ['docker', 'build', '-f', 'azureml-environment-setup/Dockerfile', '.', '-t', '575704ca56014d11b601f57520e1d689.azurecr.io/azureml/azureml_9117e0c9672679c2ada59d81d9f40478', '-t', '575704ca56014d11b601f57520e1d689.azurecr.io/azureml/azureml_9117e0c9672679c2ada59d81d9f40478:1'])2024-11-08T14:51:27: Building docker image failed with exit code: 12024-11-08T14:51:27: Logging out of Docker registry: 575704ca56014d11b601f57520e1d689.azurecr.io2024-11-08T14:51:27: Removing login credentials for https://index.docker.io/v1/2024-11-08T14:51:27: Traceback (most recent call last):  File "/mnt/azureml/cr/j/bf7f592893834dba8960999042c49214/exe/wd/docker_utilities.py", line 152, in _docker_build_or_error    docker_execute_function(docker_command, build_command, print_command_args=True)  File "/mnt/azureml/cr/j/bf7f592893834dba8960999042c49214/exe/wd/docker_utilities.py", line 23, in docker_execute_function    return killable_subprocess.check_call(command_args, *popen_args,  File "/mnt/azureml/cr/j/bf7f592893834dba8960999042c49214/exe/wd/killable_subprocess.py", line 261, in check_call    raise subprocess.CalledProcessError(process.returncode, cmd)subprocess.CalledProcessError: Command '['docker', 'build', '-f', 'azureml-environment-setup/Dockerfile', '.', '-t', '575704ca56014d11b601f57520e1d689.azurecr.io/azureml/azureml_9117e0c9672679c2ada59d81d9f40478', '-t', '575704ca56014d11b601f57520e1d689.azurecr.io/azureml/azureml_9117e0c9672679c2ada59d81d9f40478:1']' returned non-zero exit status 1.During handling of the above exception, another exception occurred:Traceback (most recent call last):  File "script.py", line 110, in <module>    docker_utilities._docker_build_or_error(  File "/mnt/azureml/cr/j/bf7f592893834dba8960999042c49214/exe/wd/docker_utilities.py", line 156, in _docker_build_or_error    _write_error_and_exit(error_msg, error_file_path=error_file_path)  File "/mnt/azureml/cr/j/bf7f592893834dba8960999042c49214/exe/wd/docker_utilities.py", line 217, in _write_error_and_exit    sys.exit(1)SystemExit: 1

Azure
Azure
Plataforma e infraestructura de informática en la nube para crear, implementar y administrar aplicaciones y servicios a través de una red mundial de centros de datos administrados por Microsoft.
469 preguntas
0 comentarios No hay comentarios
{count} votos

1 respuesta

Ordenar por: Muy útil
  1. Gao Chen 4,135 Puntos de reputación Proveedor de Microsoft
    2024-11-11T18:12:48.0966667+00:00

    Hello César Antonio Suárez Nuñez,

    Welcome to Microsoft Q&A!

    It looks like you're encountering an issue with your Azure Machine Learning pipeline due to a missing package version. The error message indicates that it couldn't find a version of azureml-designer-serving that matches 0.0.15. Here are some steps you can take to resolve this:

    1. The error shows that only versions up to 0.0.12 are available. You might want to change your requirements to use one of these versions instead. Update your requirements.txt or mutated_conda_dependencies.yml file to specify a valid version, such as azureml-designer-serving==0.0.12.
    2. If you have other dependencies that might conflict, consider pinning all your package versions in your conda or requirements files.
    3. Ensure that your Azure ML SDK is up to date as newer versions of the SDK can resolve dependency issues. You can update it using:
       pip install --upgrade azureml-sdk
    
    1. If you're using a Dockerfile, ensure that it references the correct environment setup and dependencies. Sometimes, issues arise from the Docker build context or the way dependencies are defined.
    2. Look at the detailed logs in the Azure portal for more insights. You can find logs under the "Outputs + logs" tab for the failed component.

    I hope the information provided was useful. If you have any concerns about the information provided or any additional information you might want to provide, please feel free to let me know.

    Best Regards,

    Gao


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".


Su respuesta

Las respuestas se pueden marcar como respuestas aceptadas por el autor de la pregunta, lo que ayuda a los usuarios a conocer la respuesta que resolvió el problema del autor.