[ET][Memory planning] Improve greedy memory planning. #28695
lint.yml
on: pull_request
lintrunner
/
linux-job
8m 15s
android-java-format
/
linux-job
4m 49s
Annotations
2 errors and 2 warnings
MYPY var-annotated:
util/activation_memory_profiler.py#L56
Need type annotation for "unique_specs" (hint: "unique_specs: set[<type>] = ...")
To disable, use ` # type: ignore[var-annotated]`
|
lintrunner / linux-job
Process completed with exit code 1.
|
FLAKE8 C408:
pytorch/executorch/exir/tests/test_memory_planning.py#L540
Unnecessary dict call - rewrite as a literal.
See https://pypi.org/project/flake8-comprehensions/#rules.
|
FLAKE8 C408:
pytorch/executorch/exir/tests/test_memory_planning.py#L541
Unnecessary dict call - rewrite as a literal.
See https://pypi.org/project/flake8-comprehensions/#rules.
|