Name | llm-optimized-inference JSON |
Version |
0.1.8
JSON |
| download |
home_page | None |
Summary | None |
upload_time | 2024-05-15 21:37:19 |
maintainer | None |
docs_url | None |
author | Microsoft |
requires_python | >=3.9 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Foundation Model Inferencing
### Setting up Pre-commit for this Repository
Pre-commit helps to manage and maintain code quality by running hooks that perform various checks before a commit is made.
To set up pre-commit for this repository, follow these steps:
1. Install pre-commit. If you're using pip, you can do this by running:
```
pip install pre-commit
```
2. Navigate to the root directory of the repository where the .pre-commit-config.yaml file is located.
3. Run the following command to install the git hook scripts:
```
pre-commit install
```
Now, pre-commit will run automatically on git commit. If you want to manually run all pre-commit hooks on a repository, run:
```
pre-commit run --all-files
```
To run a specific pre-commit hook on all files, you can use the run command followed by the ID of the hook. Here's the general syntax:
```
pre-commit run <hook_id> --all-files
```
For example, if you want to run the black hook on all files, you would use:
```
pre-commit run black --all-files
```
This command will run the black hook on every file in your repository.
### Hooks Used in this Repository
This repository uses a variety of hooks to maintain code quality:
- check-added-large-files: Prevents committing large files.
- end-of-file-fixer: Ensures files end with a newline.
- trailing-whitespace: Removes trailing whitespace.
- check-ast: Checks Python AST for syntax errors.
- check-docstring-first: Ensures the first thing in a Python file is a docstring.
- isort: Sorts Python imports.
- add-trailing-comma: Adds trailing commas to Python data structures.
- black: Formats Python code to conform to the PEP 8 style guide.
- flake8: Lints Python code for errors and code style violations.
- pydocstyle: Checks Python docstring conventions.
These hooks are run automatically before each commit once pre-commit is installed.
Raw data
{
"_id": null,
"home_page": null,
"name": "llm-optimized-inference",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Microsoft",
"author_email": null,
"download_url": null,
"platform": null,
"description": "# Foundation Model Inferencing\n\n\n### Setting up Pre-commit for this Repository\n\nPre-commit helps to manage and maintain code quality by running hooks that perform various checks before a commit is made.\n\nTo set up pre-commit for this repository, follow these steps:\n\n1. Install pre-commit. If you're using pip, you can do this by running:\n ```\n pip install pre-commit\n ```\n\n2. Navigate to the root directory of the repository where the .pre-commit-config.yaml file is located.\n\n3. Run the following command to install the git hook scripts:\n ```\n pre-commit install\n ```\n\nNow, pre-commit will run automatically on git commit. If you want to manually run all pre-commit hooks on a repository, run:\n ```\n pre-commit run --all-files\n ```\n\nTo run a specific pre-commit hook on all files, you can use the run command followed by the ID of the hook. Here's the general syntax:\n ```\n pre-commit run <hook_id> --all-files\n ```\n\nFor example, if you want to run the black hook on all files, you would use:\n ```\n pre-commit run black --all-files\n ```\n\nThis command will run the black hook on every file in your repository.\n\n\n### Hooks Used in this Repository\n\nThis repository uses a variety of hooks to maintain code quality:\n\n- check-added-large-files: Prevents committing large files.\n- end-of-file-fixer: Ensures files end with a newline.\n- trailing-whitespace: Removes trailing whitespace.\n- check-ast: Checks Python AST for syntax errors.\n- check-docstring-first: Ensures the first thing in a Python file is a docstring.\n- isort: Sorts Python imports.\n- add-trailing-comma: Adds trailing commas to Python data structures.\n- black: Formats Python code to conform to the PEP 8 style guide.\n- flake8: Lints Python code for errors and code style violations.\n- pydocstyle: Checks Python docstring conventions.\n\nThese hooks are run automatically before each commit once pre-commit is installed.\n",
"bugtrack_url": null,
"license": null,
"summary": null,
"version": "0.1.8",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bd432b663ce3aae4c32825e8a86f48f3edfbf56f8e3599558ee8fe1813a1ab1d",
"md5": "a2c4bdcc42c147e85082c2f0fa547f63",
"sha256": "b08253d3b52e1bdb2d8214f3b25397e5e0fc1a8eb14791f2534c877c35fa9f38"
},
"downloads": -1,
"filename": "llm_optimized_inference-0.1.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a2c4bdcc42c147e85082c2f0fa547f63",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 67541,
"upload_time": "2024-05-15T21:37:19",
"upload_time_iso_8601": "2024-05-15T21:37:19.459617Z",
"url": "https://files.pythonhosted.org/packages/bd/43/2b663ce3aae4c32825e8a86f48f3edfbf56f8e3599558ee8fe1813a1ab1d/llm_optimized_inference-0.1.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-15 21:37:19",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "llm-optimized-inference"
}