MCPcopy Create free account
hub / github.com/modelscope/modelscope / _patched_api

Method _patched_api

tests/utils/test_hf_util_kernels.py:90–92  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

88 """
89
90 def _patched_api(self):
91 _patch_kernels()
92 return self.kernels_utils._get_hf_api()
93
94 def test_patch_replaces_get_hf_api(self):
95 api = self._patched_api()

Calls 1

_patch_kernelsFunction · 0.90

Tested by

no test coverage detected