Download parrot/lib/python3.10/site-packages/deepspeed/git_version_info.py from ZTWHHH/envs_2: direct link, hf CLI and curl.
- Browser
- Download file 771 Bytes
-
https://huggingface.co/datasets/ZTWHHH/envs_2/resolve/main/parrot/lib/python3.10/site-packages/deepspeed/git_version_info.py
- Command line
-
hf download hf://datasets/ZTWHHH/envs_2/parrot/lib/python3.10/site-packages/deepspeed/git_version_info.py
-
curl -L -o git_version_info.py https://huggingface.co/datasets/ZTWHHH/envs_2/resolve/main/parrot/lib/python3.10/site-packages/deepspeed/git_version_info.py
771 Bytes
| # Copyright (c) Microsoft Corporation. | |
| # SPDX-License-Identifier: Apache-2.0 | |
| # DeepSpeed Team | |
| try: | |
| # This is populated by setup.py | |
| from .git_version_info_installed import * # noqa: F401 # type: ignore | |
| except ModuleNotFoundError: | |
| import os | |
| if os.path.isfile('version.txt'): | |
| # Will be missing from checkouts that haven't been installed (e.g., readthedocs) | |
| version = open('version.txt', 'r').read().strip() | |
| else: | |
| version = "0.0.0" | |
| git_hash = '[none]' | |
| git_branch = '[none]' | |
| from .ops.op_builder.all_ops import ALL_OPS | |
| installed_ops = dict.fromkeys(ALL_OPS.keys(), False) | |
| compatible_ops = dict.fromkeys(ALL_OPS.keys(), False) | |
| torch_info = {'version': "0.0", "cuda_version": "0.0", "hip_version": "0.0"} | |