code: def test_do_sample(deployment, query):
      output_0 = deployment(query, do_sample=False, max_length=128)
      output_1 = deployment(query, do_sample=False, max_length=128)
      assert (
          output_0[0] == output_1[0]
      ), "do_sample=False should always return the same output"
  
file_path: deepspeed-mii/tests/test_deployment.py
imports: import pytest
  import json
  import re
  import requests
  import subprocess
  import time
  import mii
label_desc: Use image node_id 7 for calling a global function with example usage: test_do_sample(deployment, query) without return types