refactor: simplify Llama2Model constructor to take llm_config directly #39602
lint.yml
on: pull_request
lintrunner
/
linux-job
11m 9s
link-check
/
...
/
linux-job
4m 30s
link-check
/
...
/
linux-job
4m 30s
android-java-format
/
linux-job
4m 44s
Annotations
1 error and 3 warnings
|
lintrunner / linux-job
Process completed with exit code 1.
|
|
UFMT format:
/pytorch/executorch/examples/models/llama/model.py#L0
Run `lintrunner -a` to apply this patch.
|
|
UFMT format:
/pytorch/executorch/backends/arm/test/models/test_llama.py#L0
Run `lintrunner -a` to apply this patch.
|
|
FLAKE8 F841:
/pytorch/executorch/examples/models/llama/export_llama_lib.py#L1223
local variable 'torch_dtype' is assigned to but never used
See https://www.flake8rules.com/rules/F841.html.
|