Skip to content

Commit

Permalink
Use multiprocess instead of multiprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmbmb committed Dec 19, 2023
1 parent 62993ac commit ec74dd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ dependencies = [
"rich >= 13.5.0",
"tenacity >= 8",
"importlib-resources >= 6.1.1; python_version < '3.9'",
"multiprocess",
]
dynamic = ["version"]

Expand Down
3 changes: 2 additions & 1 deletion src/distilabel/llm/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

from __future__ import annotations

import multiprocessing as mp
import queue
import random
import warnings
Expand All @@ -34,6 +33,8 @@
Union,
)

import multiprocess as mp

from distilabel.logger import get_logger
from distilabel.tasks.prompt import Prompt
from distilabel.utils.futures import when_all_complete
Expand Down

0 comments on commit ec74dd7

Please sign in to comment.