feat(api/device): add methods to query PCIe and NVLink throughput (#87)

This commit is contained in:
Xuehai Pan 2023-08-13 22:37:36 +08:00 committed by GitHub
parent ef77b8b989
commit ec4ad645d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 587 additions and 63 deletions

View file

@ -25,7 +25,7 @@ repos:
- id: debug-statements
- id: double-quote-string-fixer
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.280
rev: v0.0.284
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
@ -38,12 +38,12 @@ repos:
hooks:
- id: black
- repo: https://github.com/asottile/pyupgrade
rev: v3.9.0
rev: v3.10.1
hooks:
- id: pyupgrade
args: [--py37-plus] # sync with requires-python
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
additional_dependencies: