mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-01-13 22:18:36 +08:00
[None][feat] Use ruff for formatting and linting new files by default (#8629)
Signed-off-by: Robin Kobus <19427718+Funatiq@users.noreply.github.com>
This commit is contained in:
parent
1551ed8e5f
commit
1b3ad7259d
File diff suppressed because it is too large
Load Diff
@ -13,10 +13,12 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# isort: off
|
||||
import torch
|
||||
from run import QWenInfer, parse_arguments
|
||||
|
||||
import tensorrt_llm
|
||||
# isort: on
|
||||
|
||||
if __name__ == '__main__':
|
||||
args = parse_arguments()
|
||||
|
||||
@ -14,8 +14,10 @@
|
||||
# limitations under the License.
|
||||
import re
|
||||
|
||||
# isort: off
|
||||
import torch
|
||||
from run import QWenInfer, parse_arguments, vit_process
|
||||
# isort: on
|
||||
|
||||
|
||||
def make_display(port=8006):
|
||||
|
||||
1499
pyproject.toml
1499
pyproject.toml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user