question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Illegal instruction (core dumped)

See original GitHub issue

I’m trying to do the tutorial at https://awslabs.github.io/sockeye/tutorials/seqcopy.html.

Here is what I did:

git clone https://github.com/awslabs/sockeye.git
cd sockeye
pip3 install -r requirements/requirements.txt
pip3 install .

The following message shoes up.

Successfully built sockeye Installing collected packages: sockeye Successfully installed sockeye-2.3.10

cd ..
mkdir seqcopytask
cd seqcopytask
wget https://raw.githubusercontent.com/awslabs/sockeye/master/docs/tutorials/seqcopy/genseqcopy.py
python3 genseqcopy.py
python3 -m sockeye.train -s data/train.source \
>                          -t data/train.target \
>                          -vs data/dev.source \
>                          -vt data/dev.target \
>                          --encoder transformer --decoder transformer \
>                          --num-layers 1:1 \
>                          --num-embed 32 \
>                          --transformer-model-size 32 \
>                          --transformer-feed-forward-num-hidden 64 \
>                          --transformer-attention-heads 4 \
>                          --use-cpu \
>                          --max-num-checkpoint-not-improved 3 \
>                          -o seqcopy_model
Illegal instruction (core dumped)

Is there a way to debug this?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bricksdontcommented, Feb 11, 2021

Also, please mention your OS, hardware, etc. One way to compile all of this information is to run:

curl --retry 10 -s https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py | python3

as recommended in the MXnet repo. Secondly, you could try to obtain a stacktrace by setting:

DMLC_LOG_STACK_TRACE_DEPTH=100

then running your training again.

0reactions
fhiebercommented, Mar 10, 2021

Closing for now, feel free to reopen if you have more questions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What exactly does "Illegal instruction (core dumped)" mean?
Yes, the CPU generates an interrupt/trap/whatever the architecture calls it, and then a signal is raised as explained in the duplicate link. – ......
Read more >
Illegal instruction(core dumped) error on Jetson Nano
Generally speaking, an "illegal instruction" error tends to happen when attempting to run something compiled for 1 CPU architecture on a ...
Read more >
What is an "Illegal Instruction -Core Dumped"
If that came from the kernel, it means your process tried to execute an illegal instruction. I don't use debuggers, so I cannot...
Read more >
Illegal instruction (core dumped) when the cpu Architecture
means the hardware has tried to execute an illegal instruction, i.e. an instruction not supported by the machine. This can happen if: 1)...
Read more >
Illegal instruction (core dumped) on import for numpy 1.19.5 ...
Installing numpy 1.19.5 from the manylinux2014 wheel causes a SIGILL. I have tested that this happens on Python 3.7 and 3.9, but numpy ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found