-
Running multiple `.from_pretrained` in ThreadPool executor cases deadlock during grpc call
#### Environment details
- OS type and version:
- Python version:
- pip version: 24.0
- Li…
-
**Is your feature request related to a problem? Please describe.**
- pySmartDL is very verbose.
- Tiles are `kb` scale, so we don't really care about download progress.
- Instead we just need to …
-
# Bug report
### Bug description:
This code just loses an exception. Without any notification.
```python
from concurrent.futures import ThreadPoolExecutor
def change_data(x: int) -> None:
res …
-
* gevent version: 20.10.2
* Python version: cPython 3.9
* Operating System: macOS 14.3.1(M3)
### Description:
Some question
1. What is the difference between concurrent.futures.ThreadPoolExecut…
-
Hello, I am getting the following exception when running spark-submit. Any idea what might be causing the error:
```
java.util.concurrent.RejectedExecutionException: Task Future() rejected from ja…
-
In evaluation the code uses ThreadPoolExecutor at first and in each thread use multiprocessing package. Why not use ProcessPoolExecutor at first? Is there any consideration of optimizing performance?
-
I'm not sure a ThreadPoolExecutor is necessarily the right tool for what we want to do here. Each query doesn't really need its own thread as we aren't doing anything super CPU intensive, and we will …
-
### What happened?
When backend loses contact with naocs, OOM occurs after a period of time:
```
Exception in thread "com.alibaba.nacos.client.Worker" java.lang.OutOfMemoryError: unable to create…
-
ThreadPoolExecutor has been backport to python 2.7 :
- `pip install futures`
- source code : https://github.com/agronholm/pythonfutures
- examples : https://github.com/agronholm/pythonfutures/blob/ma…
-
# Bug report
### Bug description:
When running the code below and sending a SIGTERM to the process results in what looks like a deadlock on the `ThreadPoolExecutor._shutdown_lock`. I guess the issue…