-
Notifications
You must be signed in to change notification settings - Fork 37
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
Resnet device #410
Draft
ShawnXuan
wants to merge
8
commits into
main
Choose a base branch
from
resnet_device
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Resnet device #410
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
graph测试脚本: 运行报错信息如下: [ERROR](GRAPH:TrainGraph_0:TrainGraph) building plan got error.
Traceback (most recent call last):
File "/data1/home/zengqunhong/models/Vision/classification/image/resnet50/train.py", line 390, in <module>
trainer()
File "/data1/home/zengqunhong/models/Vision/classification/image/resnet50/train.py", line 223, in __call__
self.train()
File "/data1/home/zengqunhong/models/Vision/classification/image/resnet50/train.py", line 228, in train
self.train_one_epoch()
File "/data1/home/zengqunhong/models/Vision/classification/image/resnet50/train.py", line 248, in train_one_epoch
loss, pred, label = self.train_graph()
File "/data1/home/zengqunhong/miniconda3/envs/torchnpu/lib/python3.9/site-packages/oneflow/nn/graph/graph.py", line 284, in __call__
self._compile(*args, **kwargs)
File "/data1/home/zengqunhong/miniconda3/envs/torchnpu/lib/python3.9/site-packages/oneflow/nn/graph/graph.py", line 852, in _compile
return self._compile_new(*args, **kwargs)
File "/data1/home/zengqunhong/miniconda3/envs/torchnpu/lib/python3.9/site-packages/oneflow/nn/graph/graph.py", line 876, in _compile_new
self.finish_compile_and_init_runtime()
File "/data1/home/zengqunhong/miniconda3/envs/torchnpu/lib/python3.9/site-packages/oneflow/nn/graph/graph.py", line 1427, in finish_compile_and_init_runtime
self._c_nn_graph.compile_plan_for_runtime()
oneflow._oneflow_internal.exception.RuntimeError: Error: TaskType: 1, DeviceType: 6 has not been registered oneflow-npu合并支持graph PR: https://github.com/Oneflow-Inc/oneflow-npu/pull/217 报错信息如下: Stack trace (most recent call last) in thread 3030764:
Object "/data1/home/zengqunhong/miniconda3/envs/torchnpu/lib/python3.9/site-packages/oneflow/../oneflow.libs/liboneflow-1561515c.so", at 0xfffed5bbca17, in
Object "/data1/home/zengqunhong/miniconda3/envs/torchnpu/lib/python3.9/site-packages/oneflow/../oneflow.libs/liboneflow-1561515c.so", at 0xfffed5bbac2b, in Thread::PollMsgChannel()
Object "/data1/home/zengqunhong/miniconda3/envs/torchnpu/lib/python3.9/site-packages/oneflow/../oneflow.libs/liboneflow-1561515c.so", at 0xfffed57eb8d7, in
Object "/data1/home/zengqunhong/miniconda3/envs/torchnpu/lib/python3.9/site-packages/oneflow/../oneflow.libs/liboneflow-1561515c.so", at 0xfffed549b0c7, in Kernel::Launch(KernelContext*) const
Object "/data1/home/zengqunhong/miniconda3/envs/torchnpu/lib/python3.9/site-packages/oneflow/../oneflow.libs/liboneflow-1561515c.so", at 0xfffed549aa63, in Kernel::Forward(KernelContext*) const
Object "/data1/home/zengqunhong/miniconda3/envs/torchnpu/lib/python3.9/site-packages/oneflow/../oneflow.libs/liboneflow-1561515c.so", at 0xfffed54e08b3, in UserKernel::ForwardDataContent(KernelContext*) const
Object "/data1/home/zengqunhong/oneflow-npu/build/temp.linux-aarch64-cpython-39/oneflow_npu/liboneflow_npu.so", at 0xfffe6c5d0678, in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.