MCPcopy Index your code
hub / github.com/PaddlePaddle/FastDeploy / _is_package_installed

Function _is_package_installed

fastdeploy/utils.py:1288–1293  ·  view source on GitHub ↗
(dist_name: str)

Source from the content-addressed store, hash-verified

1286
1287@cache
1288def _is_package_installed(dist_name: str) -> bool:
1289 try:
1290 distribution(dist_name)
1291 return True
1292 except PackageNotFoundError:
1293 return False
1294
1295
1296def fill_paddle_tensor(shared_inputs_object, key, value):

Callers 3

__init__.pyFile · 0.90
triton_utils.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected