Skip to content

fix warning and lint

GitHub Advanced Security / CodeQL succeeded Nov 4, 2023 in 5s

5 new alerts

New alerts in code changed by this pull request

  • 5 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 727 in onnxruntime/test/python/transformers/test_flash_attn.py

See this annotation in the file changed.

Code scanning / CodeQL

Commented-out code Note test

This comment appears to contain commented-out code.

Check notice on line 1278 in onnxruntime/test/python/transformers/test_flash_attn.py

See this annotation in the file changed.

Code scanning / CodeQL

Commented-out code Note test

This comment appears to contain commented-out code.

Check notice on line 1808 in onnxruntime/test/python/transformers/test_flash_attn.py

See this annotation in the file changed.

Code scanning / CodeQL

Commented-out code Note test

This comment appears to contain commented-out code.

Check notice on line 1540 in onnxruntime/test/python/transformers/test_flash_attn.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable k_cache_ref is not used.

Check notice on line 1541 in onnxruntime/test/python/transformers/test_flash_attn.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable v_cache_ref is not used.