Advertisement
Guest User

Untitled

a guest
Sep 16th, 2024
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.15 KB | None | 0 0
  1. 2024-09-16 16:25:57,226 I [72] azmlinfsrv - AML_FLASK_ONE_COMPATIBILITY is set. Patched Flask to ensure compatibility with Flask 1.
  2. Initializing logger
  3. 2024-09-16 16:25:57,228 I [72] azmlinfsrv - Starting up app insights client
  4. 2024-09-16 16:25:58,243 I [72] azmlinfsrv.user_script - Found user script at /var/azureml-package-resources/score.py
  5. 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.
  6. 2024-09-16 16:25:58,244 I [72] azmlinfsrv.user_script - Invoking user's init function
  7. 2024-09-16 16:25:58,245 E [72] azmlinfsrv - User's init function failed
  8. 2024-09-16 16:25:58,246 E [72] azmlinfsrv - Encountered Exception Traceback (most recent call last):
  9. File "/azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/site-packages/azureml_inference_server_http/server/user_script.py", line 119, in invoke_init
  10. self._user_init()
  11. File "/var/azureml-package-resources/score.py", line 19, in init
  12. model.load_model(model_path)
  13. File "/azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/site-packages/xgboost/sklearn.py", line 915, in load_model
  14. self.get_booster().load_model(fname)
  15. File "/azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/site-packages/xgboost/core.py", line 2693, in load_model
  16. _check_call(_LIB.XGBoosterLoadModel(self.handle, c_str(fname)))
  17. File "/azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/site-packages/xgboost/core.py", line 284, in _check_call
  18. raise XGBoostError(py_str(_LIB.XGBGetLastError()))
  19. 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
  20. Stack trace:
  21. [bt] (0) /azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/site-packages/xgboost/lib/libxgboost.so(+0x22dbbc) [0x7fb40242dbbc]
  22. [bt] (1) /azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/site-packages/xgboost/lib/libxgboost.so(+0x5d075e) [0x7fb4027d075e]
  23. [bt] (2) /azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/site-packages/xgboost/lib/libxgboost.so(XGBoosterLoadModel+0x204) [0x7fb40233d2c4]
  24. [bt] (3) /azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/lib-dynload/../../libffi.so.8(+0x6a4a) [0x7fb430772a4a]
  25. [bt] (4) /azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/lib-dynload/../../libffi.so.8(+0x5fea) [0x7fb430771fea]
  26. [bt] (5) /azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/lib-dynload/_ctypes.cpython-310-x86_64-linux-gnu.so(+0x12461) [0x7fb42e312461]
  27. [bt] (6) /azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/lib-dynload/_ctypes.cpython-310-x86_64-linux-gnu.so(+0x86eb) [0x7fb42e3086eb]
  28. [bt] (7) /azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/bin/python3.10(_PyObject_MakeTpCall+0x26b) [0x564d96fe6a6b]
  29. [bt] (8) /azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/bin/python3.10(_PyEval_EvalFrameDefault+0x54a6) [0x564d96fe29d6]
  30.  
  31.  
  32.  
  33. The above exception was the direct cause of the following exception:
  34.  
  35. Traceback (most recent call last):
  36. File "/azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/site-packages/azureml_inference_server_http/server/aml_blueprint.py", line 109, in setup
  37. self.user_script.invoke_init()
  38. File "/azureml-envs/azureml_39659c1eaefb07f815c6f946c05696a2/lib/python3.10/site-packages/azureml_inference_server_http/server/user_script.py", line 121, in invoke_init
  39. raise UserScriptException(ex) from ex
  40. azureml_inference_server_http.server.user_script.UserScriptException: Caught an unhandled exception from the user script
  41.  
  42. 2024-09-16 16:25:58,247 I [72] azmlinfsrv - Model Directory Contents:
  43. 2024-09-16 16:25:58,247 I [72] azmlinfsrv - 3/
  44. 2024-09-16 16:25:58,247 I [72] azmlinfsrv - xgb.json
  45. 2024-09-16 16:25:58,247 I [72] gunicorn.error - Worker exiting (pid: 72)
  46. 2024-09-16 16:25:58,461 I [16] gunicorn.error - Shutting down: Master
  47. 2024-09-16 16:25:58,461 I [16] gunicorn.error - Reason: Worker failed to boot.
  48.  
  49. Azure ML Inferencing HTTP server v0.8.4.2
  50.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement