Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support using inference_base_image in transformers processor #3781

Open
happywhaler opened this issue Jan 22, 2025 · 0 comments
Open

support using inference_base_image in transformers processor #3781

happywhaler opened this issue Jan 22, 2025 · 0 comments

Comments

@happywhaler
Copy link

happywhaler commented Jan 22, 2025

metadata["azureml.base_image"] = "mcr.microsoft.com/azureml/curated/foundation-model-inference:" \

        if self._inference_base_image:
            metadata["azureml.base_image"] = self._inference_base_image
        elif self._vllm_enabled:
            mlclient = get_mlclient("azureml")
            vllm_image = mlclient.environments.get("foundation-model-inference", label="latest")
            metadata["azureml.base_image"] = "mcr.microsoft.com/azureml/curated/foundation-model-inference:" + str(
                vllm_image.version
            )
            logger.info("Metadata: {}".format(metadata))

we don't always want to take the latest vllm image, would be awesome to be able to use this argument here as well as latest is not always working (alternatively, allow setting a different label).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant