Skip to content

[WIP] pnnx convert torch narrow#4918

Merged
nihui merged 2 commits intoTencent:masterfrom
zyt1024:pnnx-torch-narrow
Sep 4, 2023
Merged

[WIP] pnnx convert torch narrow#4918
nihui merged 2 commits intoTencent:masterfrom
zyt1024:pnnx-torch-narrow

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 zyt1024 force-pushed the pnnx-torch-narrow branch from 9f270ca to abd787d Compare August 9, 2023 11:29
@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
@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.

2 participants