Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pyproject.toml #22507

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Merge branch 'main' into Cjian/pytoml

a0225d9
Select commit
Loading
Failed to load commit list.
Open

Update pyproject.toml #22507

Merge branch 'main' into Cjian/pytoml
a0225d9
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL completed Oct 25, 2024 in 4s

Error when processing the SARIF file

Warning: Code scanning may not have found all the alerts introduced by this pull request, because 2 configurations present on refs/heads/main were not found:

API upload

  • ❓  <default>

Actions workflow (linux_training.yml)

  • ❓  /language:cpp

New alerts in code changed by this pull request

  • 2 errors
  • 33 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 15 in onnxruntime/python/tools/quantization/calibrate.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'Tuple' is not used.
Import of 'Dict' is not used.
Import of 'Optional' is not used.
Import of 'Union' is not used.

Check notice on line 42 in onnxruntime/python/tools/quantization/qdq_loss_debug.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'List' is not used.
Import of 'Dict' is not used.
Import of 'Optional' is not used.
Import of 'Union' is not used.

Check failure on line 118 in onnxruntime/python/tools/transformers/compare_bert_results.py

See this annotation in the file changed.

Code scanning / CodeQL

Wrong number of arguments in a call Error

Call to
function output_test_data
with too many arguments; should be no more than 2.

Check notice on line 2664 in onnxruntime/python/tools/transformers/convert_generation.py

See this annotation in the file changed.

Code scanning / CodeQL

Explicit returns mixed with implicit (fall through) returns Note

Mixing implicit and explicit returns may indicate an error as implicit returns always return None.

Check notice on line 3064 in onnxruntime/python/tools/transformers/convert_generation.py

See this annotation in the file changed.

Code scanning / CodeQL

Explicit returns mixed with implicit (fall through) returns Note

Mixing implicit and explicit returns may indicate an error as implicit returns always return None.

Check notice on line 8 in onnxruntime/python/tools/transformers/fusion_base.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'List' is not used.
Import of 'Dict' is not used.
Import of 'Optional' is not used.
Import of 'Union' is not used.

Check notice on line 29 in onnxruntime/python/tools/transformers/fusion_fastgelu.py

See this annotation in the file changed.

Code scanning / CodeQL

Explicit returns mixed with implicit (fall through) returns Note

Mixing implicit and explicit returns may indicate an error as implicit returns always return None.

Check notice on line 137 in onnxruntime/python/tools/transformers/fusion_fastgelu.py

See this annotation in the file changed.

Code scanning / CodeQL

Explicit returns mixed with implicit (fall through) returns Note

Mixing implicit and explicit returns may indicate an error as implicit returns always return None.

Check notice on line 246 in onnxruntime/python/tools/transformers/fusion_fastgelu.py

See this annotation in the file changed.

Code scanning / CodeQL

Explicit returns mixed with implicit (fall through) returns Note

Mixing implicit and explicit returns may indicate an error as implicit returns always return None.

Check notice on line 26 in onnxruntime/python/tools/transformers/fusion_gelu.py

See this annotation in the file changed.

Code scanning / CodeQL

Explicit returns mixed with implicit (fall through) returns Note

Mixing implicit and explicit returns may indicate an error as implicit returns always return None.

Check notice on line 110 in onnxruntime/python/tools/transformers/fusion_gelu.py

See this annotation in the file changed.

Code scanning / CodeQL

Explicit returns mixed with implicit (fall through) returns Note

Mixing implicit and explicit returns may indicate an error as implicit returns always return None.

Check notice on line 187 in onnxruntime/python/tools/transformers/fusion_gelu.py

See this annotation in the file changed.

Code scanning / CodeQL

Explicit returns mixed with implicit (fall through) returns Note

Mixing implicit and explicit returns may indicate an error as implicit returns always return None.

Check notice on line 5 in onnxruntime/python/tools/transformers/io_binding_helper.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'List' is not used.
Import of 'Tuple' is not used.
Import of 'Dict' is not used.
Import of 'Optional' is not used.
Import of 'Union' is not used.

Check failure on line 304 in onnxruntime/python/tools/transformers/models/longformer/generate_test_data.py

See this annotation in the file changed.

Code scanning / CodeQL

Wrong number of arguments in a call Error

Call to
function output_test_data
with too many arguments; should be no more than 2.

Check notice on line 16 in onnxruntime/python/tools/transformers/models/sam2/benchmark_sam2.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'List' is not used.
Import of 'Optional' is not used.

Check notice on line 9 in onnxruntime/python/tools/transformers/models/sam2/sam2_utils.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'List' is not used.
Import of 'Union' is not used.

Check notice on line 7 in onnxruntime/test/python/onnxruntime_test_python_nested_control_flow_op.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'Tuple' is not used.
Import of 'Optional' is not used.

Check notice on line 30 in onnxruntime/test/python/transformers/benchmark_mha.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'List' is not used.
Import of 'Tuple' is not used.
Import of 'Dict' is not used.
Import of 'Optional' is not used.

Check notice on line 5 in onnxruntime/test/testdata/sparse_initializer_as_output.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'Callable' is not used.

Check notice on line 6 in onnxruntime/test/testdata/sparse_initializer_as_output.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'Tuple' is not used.
Import of 'Dict' is not used.
Import of 'Any' is not used.
Import of 'TypeVar' is not used.
Import of 'cast' is not used.

Check notice on line 5 in onnxruntime/test/testdata/sparse_to_dense_matmul.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'Callable' is not used.

Check notice on line 6 in onnxruntime/test/testdata/sparse_to_dense_matmul.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'Tuple' is not used.
Import of 'Dict' is not used.
Import of 'Any' is not used.
Import of 'TypeVar' is not used.
Import of 'cast' is not used.

Check notice on line 4 in orttraining/orttraining/python/training/experimental/gradient_graph/_gradient_graph_tools.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'Optional' is not used.
Import of 'Union' is not used.

Check notice on line 13 in orttraining/orttraining/python/training/ortmodule/_io.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'List' is not used.
Import of 'Tuple' is not used.
Import of 'Dict' is not used.
Import of 'Optional' is not used.

Check notice on line 16 in orttraining/orttraining/python/training/ortmodule/_logger.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'List' is not used.
Import of 'Dict' is not used.
Import of 'Optional' is not used.