Skip to content

Add mistral to the list of tests models

GitHub Advanced Security / lintrunner succeeded Jun 17, 2024 in 3s

5 new alerts

New alerts in code changed by this pull request

  • 5 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 27 in onnxscript/tools/transformers_models/mistral.py

See this annotation in the file changed.

Code scanning / lintrunner

PYLINT/W0621 Warning

Redefining name 'torch' from outer scope (line 10) (redefined-outer-name)
See redefined-outer-name. To disable, use # pylint: disable=redefined-outer-name

Check warning on line 27 in onnxscript/tools/transformers_models/mistral.py

See this annotation in the file changed.

Code scanning / lintrunner

PYLINT/W0404 Warning

Reimport 'torch' (imported line 10) (reimported)
See reimported. To disable, use # pylint: disable=reimported

Check warning on line 90 in onnxscript/tools/transformers_models/mistral.py

See this annotation in the file changed.

Code scanning / lintrunner

PYLINT/W0621 Warning

Redefining name 'torch' from outer scope (line 10) (redefined-outer-name)
See redefined-outer-name. To disable, use # pylint: disable=redefined-outer-name

Check warning on line 90 in onnxscript/tools/transformers_models/mistral.py

See this annotation in the file changed.

Code scanning / lintrunner

PYLINT/W0404 Warning

Reimport 'torch' (imported line 10) (reimported)
See reimported. To disable, use # pylint: disable=reimported

Check warning on line 110 in onnxscript/tools/transformers_models/mistral.py

See this annotation in the file changed.

Code scanning / lintrunner

PYLINT/W0212 Warning

Access to a protected member _attn_implementation of a client class (protected-access)
See protected-access. To disable, use # pylint: disable=protected-access