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

vgg16 benchmark #71

Open
syifan opened this issue May 30, 2024 Discussed in #70 · 0 comments
Open

vgg16 benchmark #71

syifan opened this issue May 30, 2024 Discussed in #70 · 0 comments
Labels
bug Something isn't working

Comments

@syifan
Copy link
Contributor

syifan commented May 30, 2024

Discussed in #70

Originally posted by sroy729 May 30, 2024
Is this the intended behavior after running the vgg16 benchmark? I first git clone the repo, then ran the script inside benchmark/dnn/dataset/imagenet/data/download.sh. After that cded to sample/vgg16 and did go build. It compiled and gave an executable, which I ran using ./vgg16 -timing -report-all.

2024/05/30 20:21:35 /home/roy_linux/test/mgpusim/benchmarks/dnn/gputraining/dataparallelism.go:39: Epoch 0
2024/05/30 20:21:35 /home/roy_linux/test/mgpusim/benchmarks/dnn/gputraining/dataparallelism.go:49: Batch 0
Im2Col input [8 3 224 224], kernel [3 3], stride [1 1], padding [1 1], dilation [1 1], output [27 401408]
2024/05/30 23:05:05 /home/roy_linux/test/mgpusim/driver/driver.go:117: Panic: Could not find parent task
goroutine 960 [running]:
runtime/debug.Stack()
        /usr/local/go/src/runtime/debug/stack.go:24 +0x5e
runtime/debug.PrintStack()
        /usr/local/go/src/runtime/debug/stack.go:16 +0x13
github.com/sarchlab/mgpusim/v3/driver.(*Driver).runEngine.func1()
        /home/roy_linux/test/mgpusim/driver/driver.go:118 +0xaa
panic({0x9b0060?, 0xc64f80?})
        /usr/local/go/src/runtime/panic.go:770 +0x132
github.com/sarchlab/mgpusim/v3/timing/cu.(*CPIStackTracer).handleReqEnd(0xc0092ffce0, {{0xc13cf6eee8, 0x13}, {0xc5fbc834e0, 0xb}, {0xa636fb, 0x7}, {0x97f78b, 0xc}, {0xc000031c08, ...}, ...})
        /home/roy_linux/test/mgpusim/timing/cu/cpistacktracer.go:312 +0x205
github.com/sarchlab/mgpusim/v3/timing/cu.(*CPIStackTracer).handleTaskEnd(0xc0092ffce0, {{0xc13cf6eee8, 0x13}, {0xc5fbc834e0, 0xb}, {0xa636fb, 0x7}, {0x97f78b, 0xc}, {0xc000031c08, ...}, ...})
        /home/roy_linux/test/mgpusim/timing/cu/cpistacktracer.go:359 +0xf8
github.com/sarchlab/mgpusim/v3/timing/cu.(*CPIStackTracer).EndTask(0xc0092ffce0, {{0xc14b25ff20, 0x13}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, ...}, ...})
        /home/roy_linux/test/mgpusim/timing/cu/cpistacktracer.go:232 +0x105
github.com/sarchlab/akita/v3/tracing.(*traceHook).Func(0xc14b25fed8?, {{0x7f24bba52b28, 0xc0006f8f08}, 0xf65330, {0xa347e0, 0xc4e1e00d80}, {0x0, 0x0}})
        /home/roy_linux/go/pkg/mod/github.com/sarchlab/akita/[email protected]/tracing/tracehook.go:39 +0x23e
github.com/sarchlab/akita/v3/sim.(*HookableBase).InvokeHook(...)
        /home/roy_linux/go/pkg/mod/github.com/sarchlab/akita/[email protected]/sim/hook.go:81
github.com/sarchlab/akita/v3/tracing.EndTask({0xc14b25ff20, 0x13}, {0xc6c280, 0xc0006f8f08})
        /home/roy_linux/go/pkg/mod/github.com/sarchlab/akita/[email protected]/tracing/api.go:151 +0x179
github.com/sarchlab/akita/v3/tracing.TraceReqFinalize({0xc66f60?, 0xc0e76a7880?}, {0xc6c280, 0xc0006f8f08})
        /home/roy_linux/go/pkg/mod/github.com/sarchlab/akita/[email protected]/tracing/api.go:208 +0x54
github.com/sarchlab/mgpusim/v3/timing/cu.(*ComputeUnit).handleScalarDataLoadReturn(0xc0006f8f08, 0x3fa4ad237df84235, 0xc0ed632880)
        /home/roy_linux/test/mgpusim/timing/cu/computeunit.go:472 +0x1b3
github.com/sarchlab/mgpusim/v3/timing/cu.(*ComputeUnit).processInputFromScalarMem(0xc0006f8f08, 0x3fa4ad237df84235)
        /home/roy_linux/test/mgpusim/timing/cu/computeunit.go:439 +0x65
github.com/sarchlab/mgpusim/v3/timing/cu.(*ComputeUnit).processInput(0xc0006f8f08, 0x3fa4ad237df84235)
        /home/roy_linux/test/mgpusim/timing/cu/computeunit.go:171 +0x65
github.com/sarchlab/mgpusim/v3/timing/cu.(*ComputeUnit).Tick(0xc0006f8f08, 0x3fa4ad237df84235)
        /home/roy_linux/test/mgpusim/timing/cu/computeunit.go:120 +0xe5
github.com/sarchlab/akita/v3/sim.(*TickingComponent).Handle(0xc000a68b80, {0xc6a6a8?, 0xc1f1ee1bc0?})
        /home/roy_linux/go/pkg/mod/github.com/sarchlab/akita/[email protected]/sim/ticker.go:140 +0x3f
github.com/sarchlab/akita/v3/sim.(*SerialEngine).Run(0xc000182510)
        /home/roy_linux/go/pkg/mod/github.com/sarchlab/akita/[email protected]/sim/serialengine.go:96 +0x357
github.com/sarchlab/mgpusim/v3/driver.(*Driver).runEngine(0xc00018e9c0)
        /home/roy_linux/test/mgpusim/driver/driver.go:125 +0xaa
created by github.com/sarchlab/mgpusim/v3/driver.(*Driver).runAsync in goroutine 15
        /home/roy_linux/test/mgpusim/driver/driver.go:108 +0x18a
```</div>
@syifan syifan added the bug Something isn't working label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant