Closed Yuanlim0919 closed 1 year ago
Maybe this is tangentially related to https://github.com/zenml-io/zenml/issues/1592.. We are investigating BentoML and will take this into account
Thanks for the bug report. I've investigated this and we've figured out what's going wrong. I'll update once this has been fixed.
@Yuanlim0919 this has been fixed in #1647 and was subsequently released. The fix will be in our most current version, i.e.. Thank you for bringing it to our attention!
Contact Details [Optional]
No response
System Information
ZENML_LOCAL_VERSION: 0.38.0 ZENML_SERVER_VERSION: 0.38.0 ZENML_SERVER_DATABASE: mysql ZENML_SERVER_DEPLOYMENT_TYPE: other ZENML_CONFIG_DIR: C:\Users\acer\AppData\Roaming\zenml ZENML_LOCAL_STORE_DIR: C:\Users\acer\AppData\Roaming\zenml\local_stores ZENML_SERVER_URL: http://localhost:8080 ZENML_ACTIVE_REPOSITORY_ROOT: C:\Users\acer PYTHON_VERSION: 3.10.11 ENVIRONMENT: native SYSTEM_INFO: {'os': 'windows', 'windows_version_release': '10', 'windows_version': '10.0.19045', 'windows_version_service_pack': 'SP0', 'windows_version_os_type': 'Multiprocessor Free'} ACTIVE_WORKSPACE: default ACTIVE_STACK: stack_test ACTIVE_USER: admin TELEMETRY_STATUS: enabled ANALYTICS_CLIENT_ID: 20d4e795-cb65-407f-b728-45875558b544 ANALYTICS_USER_ID: ff84ca8e-83c4-4cd4-bcd4-f2992d4b3147 ANALYTICS_SERVER_ID: a679abec-f1d4-4296-9aed-9203abbe644f INTEGRATIONS: ['airflow', 'aws', 'bentoml', 'graphviz', 'kaniko', 'pillow', 'pytorch', 's3', 'scipy', 'sklearn'] PACKAGES: {'pip': '22.2', 'babel': '2.12.1', 'configupdater': '3.1.1', 'deprecated': '1.2.13', 'flask': '2.2.5', 'flask-appbuilder': '4.1.4', 'flask-babel': '2.0.0', 'flask-caching': '2.0.2', 'flask-jwt-extended': '4.5.2', 'flask-login': '0.6.2', 'flask-sqlalchemy': '2.5.1', 'flask-wtf': '1.1.1', 'gitpython': '3.1.31', 'jinja2': '3.1.2', 'mako': '1.2.4', 'markdown': '3.4.3', 'markupsafe': '2.1.2', 'pillow': '9.5.0', 'pyjwt': '2.7.0', 'pymysql': '1.0.3', 'pyyaml': '5.4.1', 'pygments': '2.15.1', 'sqlalchemy': '1.4.41', 'sqlalchemy-jsonfield': '1.0.1.post0', 'sqlalchemy-utils': '0.38.3', 'send2trash': '1.8.2', 'wtforms': '3.0.1', 'werkzeug': '2.2.3', 'aiobotocore': '2.4.2', 'aiohttp': '3.8.4', 'aioitertools': '0.11.0', 'aiosignal': '1.3.1', 'alembic': '1.8.1', 'analytics-python': '1.4.post1', 'anyio': '3.6.2', 'apache-airflow': '2.4.3', 'apache-airflow-providers-common-sql': '1.5.1', 'apache-airflow-providers-ftp': '3.4.1', 'apache-airflow-providers-http': '4.4.1', 'apache-airflow-providers-imap': '3.2.1', 'apache-airflow-providers-sqlite': '3.4.1', 'apispec': '3.3.2', 'appdirs': '1.4.4', 'argcomplete': '3.0.8', 'argon2-cffi': '21.3.0', 'argon2-cffi-bindings': '21.2.0', 'arrow': '1.2.3', 'asgiref': '3.7.1', 'asttokens': '2.2.1', 'async-timeout': '4.0.2', 'attrs': '22.2.0', 'backcall': '0.2.0', 'backoff': '1.10.0', 'bcrypt': '4.0.1', 'beautifulsoup4': '4.12.2', 'bentoml': '1.0.20', 'bleach': '6.0.0', 'blinker': '1.6.2', 'boto3': '1.26.144', 'botocore': '1.27.59', 'build': '0.10.0', 'cachelib': '0.9.0', 'cattrs': '22.2.0', 'certifi': '2023.5.7', 'cffi': '1.15.1', 'charset-normalizer': '3.1.0', 'circus': '0.18.0', 'click': '8.1.3', 'click-option-group': '0.5.5', 'click-params': '0.3.0', 'clickclick': '20.10.2', 'cloudpickle': '2.2.1', 'colorama': '0.4.6', 'colorlog': '4.8.0', 'comm': '0.1.3', 'commonmark': '0.9.1', 'connexion': '2.14.2', 'contextlib2': '21.6.0', 'contourpy': '1.0.7', 'cron-descriptor': '1.4.0', 'croniter': '1.3.15', 'cryptography': '41.0.1', 'cycler': '0.11.0', 'databricks-cli': '0.17.7', 'debugpy': '1.6.7', 'decorator': '5.1.1', 'deepmerge': '1.1.0', 'defusedxml': '0.7.1', 'dill': '0.3.6', 'distro': '1.8.0', 'dnspython': '2.3.0', 'docker': '6.0.1', 'docutils': '0.20.1', 'ecdsa': '0.18.0', 'email-validator': '1.3.1', 'entrypoints': '0.4', 'exceptiongroup': '1.1.1', 'executing': '1.2.0', 'fastapi': '0.75.2', 'fastapi-utils': '0.2.1', 'fastjsonschema': '2.16.3', 'filelock': '3.12.0', 'flask-session': '0.5.0', 'fonttools': '4.39.4', 'fqdn': '1.5.1', 'frozenlist': '1.3.3', 'fs': '2.4.16', 'fsspec': '2022.11.0', 'gitdb': '4.0.10', 'google-pasta': '0.2.0', 'graphviz': '0.20.1', 'greenlet': '2.0.2', 'grpcio': '1.54.2', 'grpcio-health-checking': '1.54.2', 'gunicorn': '20.1.0', 'h11': '0.14.0', 'httpcore': '0.17.2', 'httplib2': '0.19.1', 'httptools': '0.5.0', 'httpx': '0.24.1', 'idna': '3.4', 'importlib-metadata': '4.13.0', 'inflection': '0.5.1', 'ipykernel': '6.23.0', 'ipython': '8.13.2', 'ipython-genutils': '0.2.0', 'ipywidgets': '7.7.5', 'isoduration': '20.11.0', 'itsdangerous': '2.1.2', 'jedi': '0.18.2', 'jmespath': '1.0.1', 'joblib': '1.2.0', 'jsonpointer': '2.3', 'jsonschema': '4.17.3', 'jupyter-client': '8.2.0', 'jupyter-core': '5.3.0', 'jupyter-events': '0.6.3', 'jupyter-server': '2.5.0', 'jupyter-server-terminals': '0.4.4', 'jupyterlab-pygments': '0.2.2', 'jupyterlab-widgets': '1.1.4', 'kiwisolver': '1.4.4', 'lazy-object-proxy': '1.9.0', 'linkify-it-py': '2.0.2', 'lockfile': '0.12.2', 'markdown-it-py': '2.2.0', 'marshmallow': '3.19.0', 'marshmallow-enum': '1.5.1', 'marshmallow-oneofschema': '3.0.1', 'marshmallow-sqlalchemy': '0.26.1', 'matplotlib': '3.7.1', 'matplotlib-inline': '0.1.6', 'mdit-py-plugins': '0.3.5', 'mdurl': '0.1.2', 'mistune': '2.0.5', 'mlflow': '2.3.1', 'monotonic': '1.6', 'mpmath': '1.3.0', 'multidict': '6.0.4', 'multiprocess': '0.70.14', 'nbclassic': '1.0.0', 'nbclient': '0.7.4', 'nbconvert': '7.4.0', 'nbformat': '5.8.0', 'nest-asyncio': '1.5.6', 'networkx': '3.1', 'notebook': '6.5.4', 'notebook-shim': '0.2.3', 'numpy': '1.24.3', 'oauthlib': '3.2.2', 'opentelemetry-api': '1.14.0', 'opentelemetry-instrumentation': '0.35b0', 'opentelemetry-instrumentation-aiohttp-client': '0.35b0', 'opentelemetry-instrumentation-asgi': '0.35b0', 'opentelemetry-instrumentation-grpc': '0.35b0', 'opentelemetry-sdk': '1.14.0', 'opentelemetry-semantic-conventions': '0.35b0', 'opentelemetry-util-http': '0.35b0', 'orjson': '3.8.14', 'packaging': '23.1', 'pandas': '2.0.1', 'pandocfilters': '1.5.0', 'parso': '0.8.3', 'passlib': '1.7.4', 'pathos': '0.3.0', 'pathspec': '0.9.0', 'pendulum': '2.1.2', 'pickleshare': '0.7.5', 'pip-requirements-parser': '32.0.1', 'pip-tools': '6.13.0', 'platformdirs': '3.5.0', 'pluggy': '1.0.0', 'pox': '0.3.2', 'ppft': '1.7.6.6', 'prison': '0.2.1', 'prometheus-client': '0.16.0', 'prompt-toolkit': '3.0.38', 'protobuf': '3.20.3', 'protobuf3-to-dict': '0.1.5', 'psutil': '5.9.5', 'pure-eval': '0.2.2', 'pyarrow': '11.0.0', 'pyasn1': '0.5.0', 'pycparser': '2.21', 'pydantic': '1.10.7', 'pyngrok': '6.0.0', 'pynvml': '11.5.0', 'pyparsing': '2.4.7', 'pyproject-hooks': '1.0.0', 'pyrsistent': '0.19.3', 'python-daemon': '3.0.1', 'python-dateutil': '2.8.2', 'python-dotenv': '1.0.0', 'python-jose': '3.3.0', 'python-json-logger': '2.0.7', 'python-multipart': '0.0.6', 'python-nvd3': '0.15.0', 'python-slugify': '8.0.1', 'python-terraform': '0.10.1', 'pytz': '2023.3', 'pytzdata': '2020.1', 'pywin32': '306', 'pywinpty': '2.0.10', 'pyzmq': '25.0.2', 'querystring-parser': '1.2.4', 'requests': '2.30.0', 'requests-toolbelt': '1.0.0', 'rfc3339-validator': '0.1.4', 'rfc3986-validator': '0.1.1', 'rich': '12.6.0', 'rsa': '4.9', 's3fs': '2022.11.0', 's3transfer': '0.6.1', 'sagemaker': '2.117.0', 'schema': '0.7.5', 'scikit-learn': '1.2.2', 'scipy': '1.10.1', 'setproctitle': '1.3.2', 'setuptools': '66.0.0', 'simple-di': '0.1.5', 'six': '1.16.0', 'smdebug-rulesconfig': '1.0.1', 'smmap': '5.0.0', 'sniffio': '1.3.0', 'soupsieve': '2.4.1', 'sqlalchemy2-stubs': '0.0.2a34', 'sqlmodel': '0.0.8', 'sqlparse': '0.4.4', 'stack-data': '0.6.2', 'starlette': '0.17.1', 'swagger-ui-bundle': '0.0.9', 'sympy': '1.12', 'tabulate': '0.9.0', 'tenacity': '8.2.2', 'termcolor': '2.3.0', 'terminado': '0.17.1', 'text-unidecode': '1.3', 'threadpoolctl': '3.1.0', 'tinycss2': '1.2.1', 'tomli': '2.0.1', 'torch': '2.0.1', 'torchvision': '0.15.2', 'tornado': '6.3.1', 'traitlets': '5.9.0', 'typing-extensions': '4.5.0', 'tzdata': '2023.3', 'uc-micro-py': '1.0.2', 'unicodecsv': '0.14.1', 'uri-template': '1.2.0', 'urllib3': '1.26.15', 'uvicorn': '0.17.6', 'validators': '0.18.2', 'waitress': '2.1.2', 'watchfiles': '0.19.0', 'watchgod': '0.8.2', 'wcwidth': '0.2.6', 'webcolors': '1.13', 'webencodings': '0.5.1', 'websocket-client': '1.5.1', 'websockets': '11.0.3', 'wheel': '0.38.4', 'widgetsnbextension': '3.6.4', 'wrapt': '1.15.0', 'yarl': '1.9.2', 'zenml': '0.38.0', 'zipp': '3.15.0'} โ[33mThe stack โ[0mโ[33mstack_testโ[33m contains components that require building Docker images. Older versions of ZenML always built these images locally, but since version 0.32.0 this behavior can be configured using the โ[0mโ[33mimage_builderโ[33m stack component. This stack will temporarily default to a local image builder that mirrors the previous behavior, but this will be removed in future versions of ZenML. Please add an image builder to this stack: โ[0mโ[33mzenml image-builder register ...
zenml stack update 0ac3a99e-9f44-4917-8a2c-163ffede74c7 -i โ[33mโ[0m
CURRENT STACK
Name: stack_test ID: 0ac3a99e-9f44-4917-8a2c-163ffede74c7 Shared: No User: admin / ff84ca8e-83c4-4cd4-bcd4-f2992d4b3147 Workspace: default / e6d3ad08-426e-4cbb-a367-fd816184cb7f
ORCHESTRATOR: default
Name: default ID: 7a5cbef0-12ee-4532-be7f-3471b65383fe Type: orchestrator Flavor: local Configuration: {} Shared: No User: admin / ff84ca8e-83c4-4cd4-bcd4-f2992d4b3147 Workspace: default / e6d3ad08-426e-4cbb-a367-fd816184cb7f
ARTIFACT_STORE: default
Name: default ID: dd539621-c548-4563-9f86-23e333d7affa Type: artifact_store Flavor: local Configuration: {'path': ''} Shared: No User: admin / ff84ca8e-83c4-4cd4-bcd4-f2992d4b3147 Workspace: default / e6d3ad08-426e-4cbb-a367-fd816184cb7f
MODEL_DEPLOYER: bentoml
Name: bentoml ID: a7a1bb0a-bd8d-49f4-bb33-2bbb3be9778d Type: model_deployer Flavor: bentoml Configuration: {'service_path': ''} Shared: No User: admin / ff84ca8e-83c4-4cd4-bcd4-f2992d4b3147 Workspace: default / e6d3ad08-426e-4cbb-a367-fd816184cb7f
EXPERIMENT_TRACKER: mlflow
Name: mlflow ID: 280d3e6b-b94e-4f12-977e-c846f8471098 Type: experiment_tracker Flavor: mlflow Configuration: {'experiment_name': None, 'nested': False, 'tags': {}, 'tracking_uri': None, 'tracking_username': '****', 'tracking_password': '****', 'tracking_token': '****', 'tracking_insecure_tls': False, 'databricks_host': None} Shared: No User: admin / ff84ca8e-83c4-4cd4-bcd4-f2992d4b3147 Workspace: default / e6d3ad08-426e-4cbb-a367-fd816184cb7f
What happened?
I pulled the [bentoml-deployment] example repository into my local desktop, and I created a stack with default orchestrator, default artifact-store and bentoml deployer. When I execute
run.py
, the execution of data loading step and training step is normal, when it comesbento_builder
step, following error occurs:FileNotFoundError: [WinError 2] The system cannot find the file specified
Reproduction steps
No response
Relevant log output
Code of Conduct