Open landmanbester opened 3 years ago
I believe this is related to predicting a sky model with a polynomial spectrum. This is supported in Codex Africanus but not in QuartiCal. I believe it should be relatively easy to fix.
@landmanbester There is now a PR that aims to address this in #112. Currently, it assumes the first case from the Codex docs. Could you please give it a test drive?
Thanks, will do
Ok, it's not falling over anymore but the memory footprint is crazy. I was 400GB into swap space on a machine with 500GB ram. I'm guessing I can improve this by chunking the problem up further but this is a pretty small MS, the memory footprint when running with identical chunking but using a MODEL_DATA column is only about 120GB
Also, as discussed here, the first parametrisation does not match that of wsclean
As discussed, this is a limitation of the codex predict. The codex predict will create arrays of size (source_chunk, row_chunk, chan_chunk, n_corr). You can naively think about this as each chunk of predict holding an array the size of source_chunk*data. If you have many threads, this can work out to increasing the memory footprint by an order of magnitude or two. You can partially mitigate this by setting input_model.source_chunks
to one.
Edit: This is precisely why we are holding out for @sjperkins new implementation. It should avoid allocating these huge arrays.
I am trying to calibrate while providing the pks1934-638 sky model in caracal. I ran tigger-convert on it to get a lsm.html model and pointed input_model.recipe at it. It falls over with a long error message, part of which reads
There is a telling little warning earlier on which does not end up in the log file viz.
Not sure if it's related. Full log can be found on oates at /home/bester/projects/ESO137/outputs.qc