Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2024-09-16 16:25:57,226 I [72] azmlinfsrv - AML_FLASK_ONE_COMPATIBILITY is set. Patched Flask to ensure compatibility with Flask 1.
- Initializing logger
- 2024-09-16 16:25:57,228 I [72] azmlinfsrv - Starting up app insights client
- 2024-09-16 16:25:58,243 I [72] azmlinfsrv.user_script - Found user script at /var/azureml-package-resources/score.py
- 2024-09-16 16:25:58,244 I [72] azmlinfsrv.user_script - run() is not decorated. Server will invoke it with the input in JSON string.
- 2024-09-16 16:25:58,244 I [72] azmlinfsrv.user_script - Invoking user's init function
- 2024-09-16 16:25:58,245 E [72] azmlinfsrv - User's init function failed
- 2024-09-16 16:25:58,246 E [72] azmlinfsrv - Encountered Exception Traceback (most recent call last):
- File "/azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/site-packages/azureml_inference_server_http/server/user_script.py", line 119, in invoke_init
- self._user_init()
- File "/var/azureml-package-resources/score.py", line 19, in init
- model.load_model(model_path)
- File "/azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/site-packages/xgboost/sklearn.py", line 915, in load_model
- self.get_booster().load_model(fname)
- File "/azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/site-packages/xgboost/core.py", line 2693, in load_model
- _check_call(_LIB.XGBoosterLoadModel(self.handle, c_str(fname)))
- File "/azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/site-packages/xgboost/core.py", line 284, in _check_call
- raise XGBoostError(py_str(_LIB.XGBGetLastError()))
- xgboost.core.XGBoostError: [16:25:58] /workspace/src/learner.cc:1002: Check failed: fi->Read(&mparam_, sizeof(mparam_)) == sizeof(mparam_) (0 vs. 136) : BoostLearner: wrong model format
- Stack trace:
- [bt] (0) /azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/site-packages/xgboost/lib/libxgboost.so(+0x22dbbc) [0x7fb40242dbbc]
- [bt] (1) /azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/site-packages/xgboost/lib/libxgboost.so(+0x5d075e) [0x7fb4027d075e]
- [bt] (2) /azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/site-packages/xgboost/lib/libxgboost.so(XGBoosterLoadModel+0x204) [0x7fb40233d2c4]
- [bt] (3) /azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/lib-dynload/../../libffi.so.8(+0x6a4a) [0x7fb430772a4a]
- [bt] (4) /azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/lib-dynload/../../libffi.so.8(+0x5fea) [0x7fb430771fea]
- [bt] (5) /azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/lib-dynload/_ctypes.cpython-310-x86_64-linux-gnu.so(+0x12461) [0x7fb42e312461]
- [bt] (6) /azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/lib-dynload/_ctypes.cpython-310-x86_64-linux-gnu.so(+0x86eb) [0x7fb42e3086eb]
- [bt] (7) /azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/bin/python3.10(_PyObject_MakeTpCall+0x26b) [0x564d96fe6a6b]
- [bt] (8) /azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/bin/python3.10(_PyEval_EvalFrameDefault+0x54a6) [0x564d96fe29d6]
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/site-packages/azureml_inference_server_http/server/aml_blueprint.py", line 109, in setup
- self.user_script.invoke_init()
- File "/azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/site-packages/azureml_inference_server_http/server/user_script.py", line 121, in invoke_init
- raise UserScriptException(ex) from ex
- azureml_inference_server_http.server.user_script.UserScriptException: Caught an unhandled exception from the user script
- 2024-09-16 16:25:58,247 I [72] azmlinfsrv - Model Directory Contents:
- 2024-09-16 16:25:58,247 I [72] azmlinfsrv - 3/
- 2024-09-16 16:25:58,247 I [72] azmlinfsrv - xgb.json
- 2024-09-16 16:25:58,247 I [72] gunicorn.error - Worker exiting (pid: 72)
- 2024-09-16 16:25:58,461 I [16] gunicorn.error - Shutting down: Master
- 2024-09-16 16:25:58,461 I [16] gunicorn.error - Reason: Worker failed to boot.
- Azure ML Inferencing HTTP server v0.8.4.2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement