code: def test_accelerator(device):
      accelerator = Accelerator(device)
      model = nn.Linear(8, 8)
      model = accelerator.configure_model(model)
      assert next(model.parameters()).device.type == device
      del model, accelerator
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_accelerator(device) without return types