Skip to content
Discussion options

You must be logged in to vote

Not a DJL problem. Your VM's CPU is missing an instruction set TensorFlow needs.

#  SIGILL (0x4) at pc=0x00007fbae62a154a, pid=3013, tid=3039
#  C  [libtensorflow_framework.so.2+0x153454a]  google::protobuf::internal::OnShutdownRun(...)

SIGILL is illegal instruction, the CPU got an opcode it doesn't implement. TensorFlow's official x86_64 Linux builds have required AVX since 1.6 and tensorflow-native-cpu-2.16.1-linux-x86_64 is one of them. Your physical box has AVX, the VM is presenting a generic CPU model that masks it.

OnShutdownRun is protobuf static init, so it dies during library load before your code runs. Matches your log, platform detected then gone.

Check on both machines:

grep …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fjea
Comment options

Answer selected by fjea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants