code: def test_chunks_less_than_1():
      model = nn.Sequential(nn.Linear(1, 1))
  
      with pytest.raises(ValueError):
          Pipe(model, balance=[1], devices=["cpu"], chunks=0)
  
      with pytest.raises(ValueError):
          Pipe(model, balance=[1], devices=["cpu"], chunks=-1)
  
imports: from collections import OrderedDict
  from copy import deepcopy
  import time
  import pytest
  import torch
  from torch import nn
  from fairscale.nn.pipe import Pipe
label_desc: Use image node_id 6 for calling a global function with example usage: test_chunks_less_than_1() without return types