Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] pnnx convert torch narrow #4918

Merged
merged 2 commits into from Sep 4, 2023
Merged

Conversation

zyt1024
Copy link
Contributor

@zyt1024 zyt1024 commented Aug 5, 2023

No description provided.

@zyt1024
Copy link
Contributor Author

zyt1024 commented Aug 9, 2023

code-format / code-format (pull_request) Failing after 1m

Run stefanzweifel/git-auto-commit-action@v4
Started: bash /home/runner/work/_actions/stefanzweifel/git-auto-commit-action/v4/entrypoint.sh
INPUT_REPOSITORY value: .
INPUT_STATUS_OPTIONS: 
INPUT_FILE_PATTERN: .
INPUT_BRANCH value: pnnx-torch-narrow
From https://github.com/Tencent/ncnn
 * [new branch]      dependabot/github_actions/pypa/cibuildwheel-2.14.1 -> origin/dependabot/github_actions/pypa/cibuildwheel-2.14.1
 * [new branch]      master     -> origin/master
fatal: invalid reference: pnnx-torch-narrow
Error: Invalid status code: 128
    at ChildProcess.<anonymous> (/home/runner/work/_actions/stefanzweifel/git-auto-commit-action/v4/index.js:17:19)
    at ChildProcess.emit (node:events:527:28)
    at maybeClose (node:internal/child_process:1092:[16](https://github.com/Tencent/ncnn/actions/runs/5769335272/job/15642119270?pr=4918#step:7:17))
    at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) {
  code: 128
}
Error: Invalid status code: 128
    at ChildProcess.<anonymous> (/home/runner/work/_actions/stefanzweifel/git-auto-commit-action/v4/index.js:[17](https://github.com/Tencent/ncnn/actions/runs/5769335272/job/15642119270?pr=4918#step:7:18):[19](https://github.com/Tencent/ncnn/actions/runs/5769335272/job/15642119270?pr=4918#step:7:20))
    at ChildProcess.emit (node:events:5[27](https://github.com/Tencent/ncnn/actions/runs/5769335272/job/15642119270?pr=4918#step:7:28):[28](https://github.com/Tencent/ncnn/actions/runs/5769335272/job/15642119270?pr=4918#step:7:29))
    at maybeClose (node:internal/child_process:1092:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:[30](https://github.com/Tencent/ncnn/actions/runs/5769335272/job/15642119270?pr=4918#step:7:31)2:5)

这个错误原因是啥呀。。

@nihui
Copy link
Member

nihui commented Aug 9, 2023

code-format / code-format (pull_request) Failing after 1m

Run stefanzweifel/git-auto-commit-action@v4
Started: bash /home/runner/work/_actions/stefanzweifel/git-auto-commit-action/v4/entrypoint.sh
INPUT_REPOSITORY value: .
INPUT_STATUS_OPTIONS: 
INPUT_FILE_PATTERN: .
INPUT_BRANCH value: pnnx-torch-narrow
From https://github.com/Tencent/ncnn
 * [new branch]      dependabot/github_actions/pypa/cibuildwheel-2.14.1 -> origin/dependabot/github_actions/pypa/cibuildwheel-2.14.1
 * [new branch]      master     -> origin/master
fatal: invalid reference: pnnx-torch-narrow
Error: Invalid status code: 128
    at ChildProcess.<anonymous> (/home/runner/work/_actions/stefanzweifel/git-auto-commit-action/v4/index.js:17:19)
    at ChildProcess.emit (node:events:527:28)
    at maybeClose (node:internal/child_process:1092:[16](https://github.com/Tencent/ncnn/actions/runs/5769335272/job/15642119270?pr=4918#step:7:17))
    at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) {
  code: 128
}
Error: Invalid status code: 128
    at ChildProcess.<anonymous> (/home/runner/work/_actions/stefanzweifel/git-auto-commit-action/v4/index.js:[17](https://github.com/Tencent/ncnn/actions/runs/5769335272/job/15642119270?pr=4918#step:7:18):[19](https://github.com/Tencent/ncnn/actions/runs/5769335272/job/15642119270?pr=4918#step:7:20))
    at ChildProcess.emit (node:events:5[27](https://github.com/Tencent/ncnn/actions/runs/5769335272/job/15642119270?pr=4918#step:7:28):[28](https://github.com/Tencent/ncnn/actions/runs/5769335272/job/15642119270?pr=4918#step:7:29))
    at maybeClose (node:internal/child_process:1092:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:[30](https://github.com/Tencent/ncnn/actions/runs/5769335272/job/15642119270?pr=4918#step:7:31)2:5)

这个错误原因是啥呀。。

需要你 fork 的仓库,启用 github action,然后commit一下触发 code-format 机器人工作

@zyt1024
Copy link
Contributor Author

zyt1024 commented Aug 9, 2023

code-format / code-format (pull_request) Failing after 1m

Run stefanzweifel/git-auto-commit-action@v4
Started: bash /home/runner/work/_actions/stefanzweifel/git-auto-commit-action/v4/entrypoint.sh
INPUT_REPOSITORY value: .
INPUT_STATUS_OPTIONS: 
INPUT_FILE_PATTERN: .
INPUT_BRANCH value: pnnx-torch-narrow
From https://github.com/Tencent/ncnn
 * [new branch]      dependabot/github_actions/pypa/cibuildwheel-2.14.1 -> origin/dependabot/github_actions/pypa/cibuildwheel-2.14.1
 * [new branch]      master     -> origin/master
fatal: invalid reference: pnnx-torch-narrow
Error: Invalid status code: 128
    at ChildProcess.<anonymous> (/home/runner/work/_actions/stefanzweifel/git-auto-commit-action/v4/index.js:17:19)
    at ChildProcess.emit (node:events:527:28)
    at maybeClose (node:internal/child_process:1092:[16](https://github.com/Tencent/ncnn/actions/runs/5769335272/job/15642119270?pr=4918#step:7:17))
    at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) {
  code: 128
}
Error: Invalid status code: 128
    at ChildProcess.<anonymous> (/home/runner/work/_actions/stefanzweifel/git-auto-commit-action/v4/index.js:[17](https://github.com/Tencent/ncnn/actions/runs/5769335272/job/15642119270?pr=4918#step:7:18):[19](https://github.com/Tencent/ncnn/actions/runs/5769335272/job/15642119270?pr=4918#step:7:20))
    at ChildProcess.emit (node:events:5[27](https://github.com/Tencent/ncnn/actions/runs/5769335272/job/15642119270?pr=4918#step:7:28):[28](https://github.com/Tencent/ncnn/actions/runs/5769335272/job/15642119270?pr=4918#step:7:29))
    at maybeClose (node:internal/child_process:1092:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:[30](https://github.com/Tencent/ncnn/actions/runs/5769335272/job/15642119270?pr=4918#step:7:31)2:5)

这个错误原因是啥呀。。

需要你 fork 的仓库,启用 github action,然后commit一下触发 code-format 机器人工作

谢谢nihui~~~,已解决问题

@zyt1024
Copy link
Contributor Author

zyt1024 commented Aug 11, 2023

nihui大佬~,门禁跑过了,这个代码什么时候可以合并哇。。

@nihui nihui merged commit b3fbbcc into Tencent:master Sep 4, 2023
3 checks passed
@nihui
Copy link
Member

nihui commented Sep 4, 2023

Thanks for your contribution !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants