code: def run_cls(self, X, y):
      cls = xgb.XGBClassifier(tree_method="hist", device="cuda")
      cls.fit(X, y)
      cls.get_booster().save_model("test_deterministic_gpu_hist-0.json")
  
      cls = xgb.XGBClassifier(tree_method="hist", device="cuda")
      cls.fit(X, y)
      cls.get_booster().save_model("test_deterministic_gpu_hist-1.json")
  
      with open("test_deterministic_gpu_hist-0.json", "r") as fd:
          model_0 = fd.read()
      with open("test_deterministic_gpu_hist-1.json", "r") as fd:
          model_1 = fd.read()
  
      os.remove("test_deterministic_gpu_hist-0.json")
      os.remove("test_deterministic_gpu_hist-1.json")
  
      return hash(model_0), hash(model_1)
  
file_path: xgboost/tests/python-gpu/test_gpu_basic_models.py
imports: import os
  import sys
  import numpy
  import pytest
  import xgboost
  from xgboost import testing
  import test_basic_models
  import test_callback
label_desc: Use image node_id 1 for calling the TestGPUBasicModels obj's underlying member method code with example usage: obj.run_cls(X, y) and returns: hash,  hash