neetcode-gh/leetcode

Bug Report for nlp-intro: Submissions are showing Time Limit Exceeded

Opened this issue · 0 comments

Bug Report for https://neetcode.io/problems/nlp-intro

Submissions are giving Time Limit Exceeded if I do not add

import os os.environ["OPENBLAS_NUM_THREADS"] = "1"
at the top. After adding, the same code is getting accepted.

Error Log:

OpenBLAS blas_thread_init: pthread_create failed for thread 59 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC 60 current, 60 max
OpenBLAS blas_thread_init: pthread_create failed for thread 60 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC 60 current, 60 max
OpenBLAS blas_thread_init: pthread_create failed for thread 61 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC 60 current, 60 max
OpenBLAS blas_thread_init: pthread_create failed for thread 62 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC 60 current, 60 max
OpenBLAS blas_thread_init: pthread_create failed for thread 63 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC 60 current, 60 max
Traceback (most recent call last):
  File "/usr/local/miniconda3/envs/python3.11.2/lib/python3.11/site-packages/numpy/core/__init__.py", line 23, in <module>
    from . import multiarray
  File "/usr/local/miniconda3/envs/python3.11.2/lib/python3.11/site-packages/numpy/core/multiarray.py", line 10, in <module>
    from . import overrides
  File "/usr/local/miniconda3/envs/python3.11.2/lib/python3.11/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 "/b...
stderr limit exceeded