llm-optimized-inference


Namellm-optimized-inference JSON
Version 0.2.17 PyPI version JSON
download
home_pageNone
SummaryNone
upload_time2025-01-28 21:40:05
maintainerNone
docs_urlNone
authorMicrosoft
requires_python>=3.9
licenseNone
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.2.17",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b8b21b93a8eb221544901b56bbf8e8246b11d139a16493f118b966e3a29a3703",
                "md5": "d4b07ee9bc106822eb9d9047319220a2",
                "sha256": "f190377b8aa3a0207458eda62ca5557909538ee6e30ce19c669ff6c971823ce6"
            },
            "downloads": -1,
            "filename": "llm_optimized_inference-0.2.17-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d4b07ee9bc106822eb9d9047319220a2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 84180,
            "upload_time": "2025-01-28T21:40:05",
            "upload_time_iso_8601": "2025-01-28T21:40:05.819705Z",
            "url": "https://files.pythonhosted.org/packages/b8/b2/1b93a8eb221544901b56bbf8e8246b11d139a16493f118b966e3a29a3703/llm_optimized_inference-0.2.17-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-28 21:40:05",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llm-optimized-inference"
}
        
Elapsed time: 0.93325s