adithya-s-k / adithya-s-k/omniparse
A30卡启动容器报错
- Langage dominant
- Python
- Étoiles
- 7.9k
- Forks
- 676
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
第一段:
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 63 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
/usr/local/lib/python3.10/dist-packages/torch/cuda/__init__.py:118: UserWarning: CUDA initialization: Unexpected error from cudaGetDeviceCount(). Did you run some cuda functions before calling NumCudaDevices() that might have already set an error? Error 304: OS call failed or operation not supported on this OS (Triggered internally at ../c10/cuda/CUDAFunctions.cpp:108.)
return torch._C._cuda_getDeviceCount() > 0
OpenBLAS blas_thread_init: pthread_create failed for thread 1 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 2 of 64: Operation not permitted
第二段:
OpenBLAS blas_thread_init: pthread_create failed for thread 63 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
Traceback (most recent call last):
File "/app/server.py", line 6, in
from omniparse import load_omnimodel
File "/app/omniparse/__init__.py", line 27, in
from marker.models import load_all_models
File "/usr/local/lib/python3.10/dist-packages/marker/models.py", line 12, in
from surya.model.ordering.model import load_model as load_order_model
File "/usr/local/lib/python3.10/dist-packages/surya/model/ordering/model.py", line 1, in
from transformers import DetrConfig, BeitConfig, DetrImageProcessor, VisionEncoderDecoderConfig, AutoModelForCausalLM, \
File "", line 1075, in _handle_fromlist
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py", line 1526, in __getattr__
value = getattr(module, name)
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py", line 1525, in __getattr__
module = self._get_module(self._class_to_module[name])
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py", line 1535, in _get_module
return importlib.import_module("." + module_name, self.__name__)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/local/lib/python3.10/dist-packages/transformers/models/detr/image_processing_detr.py", line 78, in
import scipy.special
File "/usr/local/lib/python3.10/dist-packages/scipy/special/__init__.py", line 807, in
from . import _ufuncs
File "", line 404, in parent
KeyboardInterrupt
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start by reproducing the A30 container startup and reading /app/server.py at line 6, where the import chain begins. Follow the imports through /app/omniparse/__init__.py and the reported Transformers, SciPy, OpenBLAS, and CUDA warnings. Done means the container starts without the reported import interruption or initialization errors.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python, pytorch
- Domaine
- devops, machine-learning
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100