Spaces:
Build error
Build error
Download external/engine/mmengine/device/__init__.py from YeeThree/sapiens-pose: direct link, hf CLI and curl.
- Browser
- Download file 613 Bytes
-
https://huggingface.co/spaces/YeeThree/sapiens-pose/resolve/main/external/engine/mmengine/device/__init__.py
- Command line
-
hf download hf://spaces/YeeThree/sapiens-pose/external/engine/mmengine/device/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/YeeThree/sapiens-pose/resolve/main/external/engine/mmengine/device/__init__.py
613 Bytes
| # Copyright (c) Meta Platforms, Inc. and affiliates. | |
| # All rights reserved. | |
| # | |
| # This source code is licensed under the license found in the | |
| # LICENSE file in the root directory of this source tree. | |
| from .utils import (get_device, get_max_cuda_memory, is_cuda_available, | |
| is_dipu_available, is_mlu_available, is_mps_available, | |
| is_npu_available, is_npu_support_full_precision) | |
| __all__ = [ | |
| 'get_max_cuda_memory', 'get_device', 'is_cuda_available', | |
| 'is_mlu_available', 'is_mps_available', 'is_npu_available', | |
| 'is_dipu_available', 'is_npu_support_full_precision' | |
| ] | |