You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to install clearml serving on python 3.9.
The problem seems to be related to new releases of numpy.
Here is the full stack trace:
clearml-serving create --name "serving example"
Traceback (most recent call last):
File "/Users/galleon/.pyenv/versions/maio-serving/bin/clearml-serving", line 5, in <module>
from clearml_serving.__main__ import main
File "/Users/galleon/.pyenv/versions/3.9.16/envs/maio-serving/lib/python3.9/site-packages/clearml_serving/__main__.py", line 9, in <module>
from clearml_serving.serving.model_request_processor import ModelRequestProcessor, CanaryEP
File "/Users/galleon/.pyenv/versions/3.9.16/envs/maio-serving/lib/python3.9/site-packages/clearml_serving/serving/model_request_processor.py", line 18, in <module>
from .preprocess_service import BasePreprocessRequest
File "/Users/galleon/.pyenv/versions/3.9.16/envs/maio-serving/lib/python3.9/site-packages/clearml_serving/serving/preprocess_service.py", line 247, in <module>
class TritonPreprocessRequest(BasePreprocessRequest):
File "/Users/galleon/.pyenv/versions/3.9.16/envs/maio-serving/lib/python3.9/site-packages/clearml_serving/serving/preprocess_service.py", line 253, in TritonPreprocessRequest
np.int: 'int_contents',
File "/Users/galleon/.pyenv/versions/3.9.16/envs/maio-serving/lib/python3.9/site-packages/numpy/__init__.py", line 305, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'int'.
`np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
I am trying to install clearml serving on python 3.9.
The problem seems to be related to new releases of numpy.
Here is the full stack trace:
Installed packages:
The text was updated successfully, but these errors were encountered: