Skip to content

Commit

Permalink
chore: fix checking two redundant conditions
Browse files Browse the repository at this point in the history
Signed-off-by: eshwarprasadS <[email protected]>
  • Loading branch information
eshwarprasadS committed Jan 21, 2025
1 parent c7dfcf6 commit 0bb9304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/instructlab/sdg/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def _generate_single(self, dataset) -> Dataset:
logger.info("Running block: %s", block_name)

# Check if batching is enabled
if self.ctx.batch_size is None or not self.ctx.batching_enabled:
if not self.ctx.batching_enabled:
logger.info(
"Batching disabled; processing block '%s' single-threaded.",
block_name,
Expand Down

0 comments on commit 0bb9304

Please sign in to comment.