-
Notifications
You must be signed in to change notification settings - Fork 27
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
beam search call result in Killed #32
Comments
@edwardpwtsoi you are running out of memory and the OOM killer is kicking in. I can successfully decode your Try increasing $ # beam_cut_threshold=0
/usr/bin/time -v python test.py
Command being timed: "python test.py"
User time (seconds): 8.06
System time (seconds): 19.55
Percent of CPU this job got: 123%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:22.43
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 42,787,016
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 10706916
Voluntary context switches: 148
Involuntary context switches: 2336
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
$
$ # beam_cut_threshold=0.000125
$ /usr/bin/time -v python test.py
Command being timed: "python test.py"
User time (seconds): 3.36
System time (seconds): 4.11
Percent of CPU this job got: 388%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:01.92
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 2,734,556
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 693781
Voluntary context switches: 137
Involuntary context switches: 679
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0 |
Thank you for your reply, @iiSeymour. I could decode it when I am not using docker as well. And I had set the --oom-kill-disable while running the docker container, but it still doesn't work out. May I know did the above result run with docker? |
Background
There is a single sample which caused a Killed situation when I was using the library with docker. The base image I used is python:3.8. I couldn't find the cause of it. Would you mind have a look and help? Thank you
The data
This the posterior array saved as json after calling the tolist method
A Docker Container with the posterior.json and dependencies installed
Steps to reproduce
pip list output:
The text was updated successfully, but these errors were encountered: