We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b455cd2 commit a619b5fCopy full SHA for a619b5f
docs/source/using-the-python-api.mdx
@@ -17,6 +17,7 @@ from lighteval.utils.utils import EnvConfig
17
from lighteval.utils.imports import is_accelerate_available
18
19
if is_accelerate_available():
20
+ from datetime import timedelta
21
from accelerate import Accelerator, InitProcessGroupKwargs
22
accelerator = Accelerator(kwargs_handlers=[InitProcessGroupKwargs(timeout=timedelta(seconds=3000))])
23
else:
0 commit comments