Repository navigation
Use new inference function and expose batch size as inference parameter - #172
Conversation
6ebf947 to
51f7310
Compare
|
@lufre1 @stmartineau99 : this uses a new implementation of the prediction function from Please check out once that this works for your current applications, then we can merge it. |
|
I checked #172 (51f7310) on our mitochondria / cristae pipeline. The setup: A bug: When the forward pass raises (in our case CUDA OOM), the prediction can hang forever instead of raising the error. In one run, cristae with 64×512×512 tiles at Cause (torch_em 0.10.8,
This happens exactly when the failing batch is the one taken with A CPU repro, with a model that raises in Using if remaining_producers.decrement() == 0 and not stop_event.is_set():
try:
for _ in range(n_consumers):
_safe_put(input_queue, _STOP, stop_event)
except _Aborted:
pass(and the same for Correctness
Speed (sum over the tomograms, speed-up vs. old)
From our side
|
|
I have fixed the error regarding the non-terminating prediction in constantinpape/torch-em#901 and also made a release of |
|
Thanks! I re-checked #172 (51f7310) with torch_em 0.10.10 on the A100 MIG 1g.10gb slice, with the same scripts as before:
One suggestion: bump the requirement to From our side this is good to merge. |
No description provided.