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

Manage model dependencies doesn't work(logEnvironment 404) #3730

Closed
Wilsonkongcheng opened this issue Apr 7, 2023 · 1 comment
Closed

Manage model dependencies doesn't work(logEnvironment 404) #3730

Wilsonkongcheng opened this issue Apr 7, 2023 · 1 comment

Comments

@Wilsonkongcheng
Copy link

Wilsonkongcheng commented Apr 7, 2023

When I run this script in your doc https://docs.verta.ai/verta/experiment-management/guides/env-variables ,it raise the 404 error.Does it mean open-source docker platform can't support it anymore?

from verta import Client
client = Client("http://localhost:3000")
from verta.environment import Python
run.log_environment(
    Python(
        requirements=[
            "scikit-learn==0.23.2",
            "pandas",  # gets version pin from current environment
        ],
        env_vars={"OMP_NUM_THREADS": "4"},
    ),
    overwrite=True,
)


Traceback (most recent call last):
  File "F:\PycharmProject\modeldb\test_2.py", line 25, in <module>
    run.log_environment(
  File "C:\Users\63439\anaconda3\envs\modeldb\lib\site-packages\verta\tracking\entities\_experimentrun.py", line 1764, in log_environment
    _utils.raise_for_http_error(response)
  File "C:\Users\63439\anaconda3\envs\modeldb\lib\site-packages\verta\_internal_utils\_utils.py", line 555, in raise_for_http_error
    six.raise_from(requests.HTTPError(message, response=response), None)
  File "<string>", line 3, in raise_from
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://localhost:3000/api/v1/modeldb/experiment-run/logEnvironment at 2023-04-07 08:08:40.383000 UTC
@liuverta
Copy link
Contributor

liuverta commented Apr 7, 2023

Hi @Wilsonkongcheng, that is correct—/logEnvironment is not currently available in our open-source platform.

If you're interested in versioning/cataloguing models and their Python environments, please feel free to contact us through our support page (https://www.verta.ai/contact-us) and we might able to recommend other solutions for your use case!

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

2 participants