Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _thread_init: pthread_create failed for thread 46 of 48: Resource temporarily unavailable
- OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
- OpenBLAS blas_thread_init: pthread_create failed for thread 47 of 48: Resource temporarily unavailable
- OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
- Traceback (most recent call last):
- File "/opt/conda/lib/python3.10/site-packages/numpy/core/__init__.py", line 23, in <module>
- from . import multiarray
- File "/opt/conda/lib/python3.10/site-packages/numpy/core/multiarray.py", line 10, in <module>
- from . import overrides
- File "/opt/conda/lib/python3.10/site-packages/numpy/core/overrides.py", line 6, in <module>
- from numpy.core._multiarray_umath import (
- ImportError: PyCapsule_Import could not import module "datetime"
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "<string>", line 1, in <module>
- File "/opt/conda/lib/python3.10/multiprocessing/spawn.py", line 116, in spawn_main
- exitcode = _main(fd, parent_sentinel)
- File "/opt/conda/lib/python3.10/multiprocessing/spawn.py", line 125, in _main
- prepare(preparation_data)
- File "/opt/conda/lib/python3.10/multiprocessing/spawn.py", line 236, in prepare
- _fixup_main_from_path(data['init_main_from_path'])
- File "/opt/conda/lib/python3.10/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
- main_content = runpy.run_path(main_path,
- File "/opt/conda/lib/python3.10/runpy.py", line 289, in run_path
- return _run_module_code(code, init_globals, run_name,
- File "/opt/conda/lib/python3.10/runpy.py", line 96, in _run_module_code
- _run_code(code, mod_globals, init_globals,
- File "/opt/conda/lib/python3.10/runpy.py", line 86, in _run_code
- exec(code, run_globals)
- File "/workspace/ddp-stablediff_train.py", line 4, in <module>
- import timm
- File "/opt/conda/lib/python3.10/site-packages/timm/__init__.py", line 2, in <module>
- from .models import create_model, list_models, is_model, list_modules, model_entrypoint, \
- File "/opt/conda/lib/python3.10/site-packages/timm/models/__init__.py", line 1, in <module>
- from .beit import *
- File "/opt/conda/lib/python3.10/site-packages/timm/models/beit.py", line 44, in <module>
- import torch
- File "/opt/conda/lib/python3.10/site-packages/torch/__init__.py", line 676, in <module>
- from .storage import _StorageBase, TypedStorage, _LegacyStorage, UntypedStorage
- File "/opt/conda/lib/python3.10/site-packages/torch/storage.py", line 11, in <module>
- import numpy as np
- File "/opt/conda/lib/python3.10/site-packages/numpy/__init__.py", line 141, in <module>
- from . import core
- File "/opt/conda/lib/python3.10/site-packages/numpy/core/__init__.py", line 49, in <module>
- raise ImportError(msg)
- ImportError:
- IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
- Importing the numpy C-extensions failed. This error can happen for
- many reasons, often due to issues with your setup or how NumPy was
- installed.
- We have compiled some common reasons and troubleshooting tips at:
- https://numpy.org/devdocs/user/troubleshooting-importerror.html
- Please note and check the following:
- * The Python version is: Python3.10 from "/opt/conda/bin/python"
- * The NumPy version is: "1.24.3"
- and make sure that they are the versions you expect.
- Please carefully study the documentation linked above for further help.
- Original error was: PyCapsule_Import could not import module "datetime"
- OpenBLAS blas_thread_init: pthread_create failed for thread 46 of 48: Resource temporarily unavailable
- OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
- OpenBLAS blas_thread_init: pthread_create failed for thread 47 of 48: Resource temporarily unavailable
- OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
- Traceback (most recent call last):
- File "<string>", line 1, in <module>
- File "/opt/conda/lib/python3.10/multiprocessing/spawn.py", line 116, in spawn_main
- exitcode = _main(fd, parent_sentinel)
- File "/opt/conda/lib/python3.10/multiprocessing/spawn.py", line 125, in _main
- prepare(preparation_data)
- File "/opt/conda/lib/python3.10/multiprocessing/spawn.py", line 236, in prepare
- _fixup_main_from_path(data['init_main_from_path'])
- File "/opt/conda/lib/python3.10/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
- main_content = runpy.run_path(main_path,
- File "/opt/conda/lib/python3.10/runpy.py", line 289, in run_path
- return _run_module_code(code, init_globals, run_name,
- File "/opt/conda/lib/python3.10/runpy.py", line 96, in _run_module_code
- _run_code(code, mod_globals, init_globals,
- File "/opt/conda/lib/python3.10/runpy.py", line 86, in _run_code
- exec(code, run_globals)
- File "/workspace/ddp-stablediff_train.py", line 11, in <module>
- from scipy import spatial
- File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
- File "/opt/conda/lib/python3.10/site-packages/scipy/__init__.py", line 200, in __getattr__
- return _importlib.import_module(f'scipy.{name}')
- File "/opt/conda/lib/python3.10/importlib/__init__.py", line 126, in import_module
- return _bootstrap._gcd_import(name[level:], package, level)
- File "/opt/conda/lib/python3.10/site-packages/scipy/spatial/__init__.py", line 105, in <module>
- from ._kdtree import *
- File "/opt/conda/lib/python3.10/site-packages/scipy/spatial/_kdtree.py", line 4, in <module>
- from ._ckdtree import cKDTree, cKDTreeNode
- File "_ckdtree.pyx", line 10, in init scipy.spatial._ckdtree
- File "/opt/conda/lib/python3.10/site-packages/scipy/sparse/__init__.py", line 283, in <module>
- from . import csgraph
- File "/opt/conda/lib/python3.10/site-packages/scipy/sparse/csgraph/__init__.py", line 185, in <module>
- from ._laplacian import laplacian
- File "/opt/conda/lib/python3.10/site-packages/scipy/sparse/csgraph/_laplacian.py", line 7, in <module>
- from scipy.sparse.linalg import LinearOperator
- File "/opt/conda/lib/python3.10/site-packages/scipy/sparse/linalg/__init__.py", line 120, in <module>
- from ._isolve import *
- File "/opt/conda/lib/python3.10/site-packages/scipy/sparse/linalg/_isolve/__init__.py", line 4, in <module>
- from .iterative import *
- File "/opt/conda/lib/python3.10/site-packages/scipy/sparse/linalg/_isolve/iterative.py", line 9, in <module>
- from . import _iterative
- KeyboardInterrupt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement