You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 21, 2025. It is now read-only.
Currently, the implementation allows users to pass in the arguments aml_workspace and strictly_aml_v1=False to submit_to_azure_if_needed for sdk v2 runs; however, the workspace argument is not utilised in the v2 pathway of the method. With the recent changes (0.3.1 to 0.4.1), the method solely relies on the config file path to retrieve workspace for v2 runs. This could be better documented in the function docstring, and similarly the error message could be updated to guide the user to resolve the issue. Perhaps we can indicate that aml_workspace argument is not used for v2 runs and we throw an exception early for guidance. Thanks.
ValueError: Tried all ways of identifying the MLClient, but failed. Please provide a workspace config file config.json or set the e nvironment variables HIML_RESOURCE_GROUP, HIML_SUBSCRIPTION_ID, and HIML_WORKSPACE_NAME.
Currently, the implementation allows users to pass in the arguments
aml_workspaceandstrictly_aml_v1=Falsetosubmit_to_azure_if_neededfor sdk v2 runs; however, the workspace argument is not utilised in the v2 pathway of the method. With the recent changes (0.3.1 to 0.4.1), the method solely relies on the config file path to retrieve workspace for v2 runs. This could be better documented in the function docstring, and similarly the error message could be updated to guide the user to resolve the issue. Perhaps we can indicate thataml_workspaceargument is not used for v2 runs and we throw an exception early for guidance. Thanks.ValueError: Tried all ways of identifying the MLClient, but failed. Please provide a workspace config file config.json or set the e nvironment variables HIML_RESOURCE_GROUP, HIML_SUBSCRIPTION_ID, and HIML_WORKSPACE_NAME.