Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
kliu128 committed Mar 3, 2025
1 parent b717632 commit 573c72c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions project/nanoeval/nanoeval/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import inspect
import logging
import os
from pprint import pformat
from typing import (
Any,
Expand Down Expand Up @@ -250,9 +251,9 @@ def _validate_slackbot_options(self) -> None:
def _validate_multiprocessing_options(self) -> None:
if self.num_processes:
assert self.num_processes > 0
assert self.experimental_use_multiprocessing, (
"num_processes requires experimental_use_multiprocessing"
)
assert (
self.experimental_use_multiprocessing
), "num_processes requires experimental_use_multiprocessing"

@chz.validate
def _numerical_limits(self) -> None:
Expand Down

0 comments on commit 573c72c

Please sign in to comment.