code: def test_small_chunks_multiple_workers():
      length = 600
      with NamedTemporaryFile() as handle:
          name = handle.name
          dataset = DummyDatasetWithData(length)
          writer = DatasetWriter(
              name,
              {"index": IntField(), "value": BytesField()},
              num_workers=min(30, cpu_count()),
          )
  
          writer.from_indexed_dataset(dataset, chunksize=1)
  
imports: import numpy
  from assertpy import assert_that
  from numpy.random import shuffle
  from torch.utils.data import Dataset
  import logging
  import os
  from assertpy import assert_that
  from tempfile import NamedTemporaryFile
  from multiprocessing import cpu_count
  from ffcv.writer import DatasetWriter
  from ffcv.reader import Reader
  from ffcv.fields import IntField, FloatField, BytesField
label_desc: Use image node_id 6 for calling a global function with example usage: test_small_chunks_multiple_workers() without return types