Skip to content

PaddleClas2.6.0不能解析paddlepaddle-xpu3.0.0rc1 #3382

@Hu99ming

Description

@Hu99ming

Successfully built d48185b99197
Successfully tagged sda/aidemo-cv-clas-safety-helmet:v1.0.0
[2025-05-16 14:44:02 +0800] [1] [INFO] Starting gunicorn 20.1.0
[2025-05-16 14:44:02 +0800] [1] [INFO] Listening at: http://0.0.0.0:18102 (1)
[2025-05-16 14:44:02 +0800] [1] [INFO] Using worker: sync
[2025-05-16 14:44:02 +0800] [7] [INFO] Booting worker with pid: 7
XCCL /usr/local/lib/python3.10/dist-packages/paddle/base/../libs/libbkcl.so loaded
[14:44:03][d75ebd903901][7][WARN][BKCL][globals.cpp:182] xccl version: 91d64e4 [rdma] [BKCL-613 fix topo nic trunc] build data: Nov 26 2024 11:23:52
WARNING: Logging before InitGoogleLogging() is written to STDERR
W0516 14:44:03.111557 7 default_variables.cpp:95] Fail to fscanf: Success [0]
Hint: Your machine support AVX, but the installed paddlepaddle doesn't have avx core. Hence, no-avx core with worse performance will be imported.
If you like, you could reinstall paddlepaddle by 'python -m pip install --force-reinstall paddlepaddle-gpu[==version]' to get better performance.
W0516 14:44:04.121692 74 default_variables.cpp:95] Fail to fscanf: Success [0]
2025-05-16 14:44:04,292 - predict - INFO - PaddlePaddle running on: xpu:0
[2025-05-16 14:44:04 ] [7] [ERROR] Exception in worker process
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/gunicorn/arbiter.py", line 589, in spawn_worker
worker.init_process()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/workers/base.py", line 134, in init_process
self.load_wsgi()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/workers/base.py", line 146, in load_wsgi
self.wsgi = self.app.wsgi()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/wsgiapp.py", line 58, in load
return self.load_wsgiapp()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
return util.import_app(self.app_uri)
File "/usr/local/lib/python3.10/dist-packages/gunicorn/util.py", line 359, in import_app
mod = importlib.import_module(module)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/app/server.py", line 138, in
cls_predictor = ClsPredictor(config)
File "/app/server.py", line 40, in init
super().init(config["Global"])
File "/usr/local/lib/python3.10/dist-packages/paddleclas/deploy/utils/predictor.py", line 37, in init
self.predictor, self.config = self.create_paddle_predictor(
File "/usr/local/lib/python3.10/dist-packages/paddleclas/deploy/utils/predictor.py", line 60, in create_paddle_predictor
pd_version = 10 * pd_version + eval(v)
File "", line 1, in
NameError: name 'rc1' is not defined

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions