We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
llamafactory
WARNING 12-28 23:56:52 multiproc_gpu_executor.py:53] Reducing Torch parallelism from 72 threads to 1 to avoid unnecessary CPU contention. Set OMP_NUM_THREADS in the external environment to tune this value as needed. INFO 12-28 23:56:52 custom_cache_manager.py:17] Setting Triton cache manager to: vllm.triton_utils.custom_cache_manager:CustomCacheManager (VllmWorkerProcess pid=2861291) INFO 12-28 23:56:52 multiproc_worker_utils.py:218] Worker ready; awaiting tasks (VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] Exception in worker VllmWorkerProcess while processing method init_device: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method, Traceback (most recent call last): (VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/vllm/executor/multiproc_worker_utils.py", line 226, in _run_worker_process (VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] output = executor(*args, **kwargs) (VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] ^^^^^^^^^^^^^^^^^^^^^^^^^ (VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/vllm/worker/worker.py", line 166, in init_device (VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] torch.cuda.set_device(self.device) (VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/torch/cuda/init.py", line 420, in set_device (VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] torch._C._cuda_setDevice(device) (VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/torch/cuda/init.py", line 300, in _lazy_init (VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] raise RuntimeError( (VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method (VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] (VllmWorkerProcess pid=2861290) INFO 12-28 23:56:52 multiproc_worker_utils.py:218] Worker ready; awaiting tasks (VllmWorkerProcess pid=2861292) INFO 12-28 23:56:52 multiproc_worker_utils.py:218] Worker ready; awaiting tasks (VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] Exception in worker VllmWorkerProcess while processing method init_device: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method, Traceback (most recent call last): (VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/vllm/executor/multiproc_worker_utils.py", line 226, in _run_worker_process (VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] output = executor(*args, **kwargs) (VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] ^^^^^^^^^^^^^^^^^^^^^^^^^ (VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/vllm/worker/worker.py", line 166, in init_device (VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] torch.cuda.set_device(self.device) (VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/torch/cuda/init.py", line 420, in set_device (VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] torch._C._cuda_setDevice(device) (VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/torch/cuda/init.py", line 300, in _lazy_init (VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] raise RuntimeError( (VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method (VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] (VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] Exception in worker VllmWorkerProcess while processing method init_device: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method, Traceback (most recent call last): (VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/vllm/executor/multiproc_worker_utils.py", line 226, in _run_worker_process (VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] output = executor(*args, **kwargs) (VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] ^^^^^^^^^^^^^^^^^^^^^^^^^ (VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/vllm/worker/worker.py", line 166, in init_device (VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] torch.cuda.set_device(self.device) (VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/torch/cuda/init.py", line 420, in set_device (VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] torch._C._cuda_setDevice(device) (VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/torch/cuda/init.py", line 300, in _lazy_init (VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] raise RuntimeError( (VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method (VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] ^CKeyboard interruption in main thread... closing server. (VllmWorkerProcess pid=2861291) INFO 12-28 23:58:41 multiproc_worker_utils.py:244] Worker exiting (VllmWorkerProcess pid=2861292) INFO 12-28 23:58:41 multiproc_worker_utils.py:244] Worker exiting (VllmWorkerProcess pid=2861290) INFO 12-28 23:58:41 multiproc_worker_utils.py:244] Worker exiting
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Reminder
System Info
llamafactory
version: 0.9.1.dev0Reproduction
WARNING 12-28 23:56:52 multiproc_gpu_executor.py:53] Reducing Torch parallelism from 72 threads to 1 to avoid unnecessary CPU contention. Set OMP_NUM_THREADS in the external environment to tune this value as needed.
INFO 12-28 23:56:52 custom_cache_manager.py:17] Setting Triton cache manager to: vllm.triton_utils.custom_cache_manager:CustomCacheManager
(VllmWorkerProcess pid=2861291) INFO 12-28 23:56:52 multiproc_worker_utils.py:218] Worker ready; awaiting tasks
(VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] Exception in worker VllmWorkerProcess while processing method init_device: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method, Traceback (most recent call last):
(VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/vllm/executor/multiproc_worker_utils.py", line 226, in _run_worker_process
(VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] output = executor(*args, **kwargs)
(VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] ^^^^^^^^^^^^^^^^^^^^^^^^^
(VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/vllm/worker/worker.py", line 166, in init_device
(VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] torch.cuda.set_device(self.device)
(VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/torch/cuda/init.py", line 420, in set_device
(VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] torch._C._cuda_setDevice(device)
(VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/torch/cuda/init.py", line 300, in _lazy_init
(VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] raise RuntimeError(
(VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method
(VllmWorkerProcess pid=2861291) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233]
(VllmWorkerProcess pid=2861290) INFO 12-28 23:56:52 multiproc_worker_utils.py:218] Worker ready; awaiting tasks
(VllmWorkerProcess pid=2861292) INFO 12-28 23:56:52 multiproc_worker_utils.py:218] Worker ready; awaiting tasks
(VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] Exception in worker VllmWorkerProcess while processing method init_device: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method, Traceback (most recent call last):
(VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/vllm/executor/multiproc_worker_utils.py", line 226, in _run_worker_process
(VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] output = executor(*args, **kwargs)
(VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] ^^^^^^^^^^^^^^^^^^^^^^^^^
(VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/vllm/worker/worker.py", line 166, in init_device
(VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] torch.cuda.set_device(self.device)
(VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/torch/cuda/init.py", line 420, in set_device
(VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] torch._C._cuda_setDevice(device)
(VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/torch/cuda/init.py", line 300, in _lazy_init
(VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] raise RuntimeError(
(VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method
(VllmWorkerProcess pid=2861290) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233]
(VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] Exception in worker VllmWorkerProcess while processing method init_device: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method, Traceback (most recent call last):
(VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/vllm/executor/multiproc_worker_utils.py", line 226, in _run_worker_process
(VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] output = executor(*args, **kwargs)
(VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] ^^^^^^^^^^^^^^^^^^^^^^^^^
(VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/vllm/worker/worker.py", line 166, in init_device
(VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] torch.cuda.set_device(self.device)
(VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/torch/cuda/init.py", line 420, in set_device
(VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] torch._C._cuda_setDevice(device)
(VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] File "/home/zyx/anaconda3/envs/llama/lib/python3.11/site-packages/torch/cuda/init.py", line 300, in _lazy_init
(VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] raise RuntimeError(
(VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233] RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method
(VllmWorkerProcess pid=2861292) ERROR 12-28 23:56:52 multiproc_worker_utils.py:233]
^CKeyboard interruption in main thread... closing server.
(VllmWorkerProcess pid=2861291) INFO 12-28 23:58:41 multiproc_worker_utils.py:244] Worker exiting
(VllmWorkerProcess pid=2861292) INFO 12-28 23:58:41 multiproc_worker_utils.py:244] Worker exiting
(VllmWorkerProcess pid=2861290) INFO 12-28 23:58:41 multiproc_worker_utils.py:244] Worker exiting
Expected behavior
No response
Others
No response
The text was updated successfully, but these errors were encountered: