Skip to content

config.json search order #1640

Open
Open
@wutaomsft

Description

@wutaomsft

It is not clear how MLClient searches for config.json. It seems that from practice, it does not need to be in the current directory of the code and is discoverable if it is at one of the parents of the current directory; but this behavior is not documented.

Also, MLClient's from_config() does not expect config.json to be in ./.azureml directory, which is the default path for workspace.write_config() https://learn.microsoft.com/en-us/python/api/azureml-core/azureml.core.workspace.workspace?view=azure-ml-py#azureml-core-workspace-workspace-write-config . Would be great to be consistent about this, or at least document their behavior in more detail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy