pytorch / pytorch/executorch

Use a empty .py file, and run with examples/arm/run.sh, it still working

Open
#14,327 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

module: arm partner: arm
Dominant language
Python
Stars
5k
Forks
1.2k
Avg merge
2d 10h
Merged PRs (30d)
581

Description

I create a empty .py file, and run with below command:
examples/arm/run.sh --target=ethos-u85-512 ----model_name=test-empty-file.py

The script still working and it seems go through the model list builtin:

    test_model=(
        "softmax"   # 0
        "add"       # 1
        "add3"      # 2
        "qadd"      # 3
        "qadd2"     # 4
        "qops"      # 5
        "mv2"       # 6
    )

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with examples/arm/run.sh and reproduce the command using an empty test-empty-file.py. Read how --model_name is handled and where the built-in test_model list is selected; the expected behavior for an empty model file still needs to be clarified before defining completion.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, shell
Domain
cli, embedded-iot
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.