Граф коммитов

3 Коммитов

Автор SHA1 Сообщение Дата
Yuting Jiang 3a6622f7d3
Benchmarks: Add benchmark - Add source code of DirectXGPUCoreFLOPs microbenchmark (#488)
**Description**
Add source code of DirectXGPUCoreFLOPs microbenchmark.

---------

Co-authored-by: v-junlinlv <v-junlinlv@microsoft.com>
2023-06-29 10:06:14 +08:00
Yifan Xiong 8a00c8a03b
Benchmarks - Add TensorRT inference benchmark (#236)
__Description__

Add TensorRT inference benchmark for torchvision models.

__Major Revision__
- Measure TensorRT inference performance.
2021-11-12 15:27:16 +08:00
Yifan Xiong 5be32481b1
Setup: Init - Initialize setup.py and basic configs (#4)
Initialize setup.py and basic configurations for this project.

Major revisions:

- initialize setup.py for Python package
- add gitignore and dockerignore
- add editorconfig for editors
- configure yapf for auto formating
- configure mypy for type hint
- configure flake8 for lint, including quotes and docstrings
- add pre-commit check for `git commit`
- add spelling check in GitHub Actions
- format existing files according to configured rules

Example usage:

    # install dependencies
    $ python3 -m pip install -e .[dev,test]
    $ pre-commit install

    # format code automatically
    $ python3 setup.py format

    # lint code
    $ python3 setup.py lint

    # test code
    $ python3 setup.py test
2021-01-28 21:01:28 +08:00