nanoporetech / dorado

Oxford Nanopore's Basecaller
https://nanoporetech.com/
Other
531 stars 63 forks source link

I am encountering an ANE evaluation error when running Dorado on macOS. #1087

Open GanchimegNamuunbayar opened 3 weeks ago

GanchimegNamuunbayar commented 3 weeks ago

Issue Report

Please describe the issue:

Please provide a clear and concise description of the issue you are seeing and the result you expect.

Steps to reproduce the issue:

Please list any steps to reproduce the issue.

Run environment:

Logs

HalfPhoton commented 3 weeks ago

Hi @GanchimegNamuunbayar, Can you add logs please?

GanchimegNamuunbayar commented 3 weeks ago

@HalfPhoton Thank you for your response. I have added logs to the issue report. Could you please reference the updated version.

HalfPhoton commented 3 weeks ago

You've only added the version information here - The -vv flags must be placed after the sub-command: dorado basecaller -vv to generate detailed logs.

Kind regards, Rich

GanchimegNamuunbayar commented 3 weeks ago

@HalfPhoton Thank you for the details. I have tried it as you said command: dorado basecaller -vv --batchsize 16 sup,4mC_5mC,6mA ~/desktop/pod5/ -r > ~/desktop/bam/calls.bam

These are the last lines before the computer shut down: [2024-10-22 17:42:51.715] [trace] Checking adapter/primer PCR_PSK_rev1 [2024-10-22 17:42:51.715] [trace] Checking adapter/primer PCR_PSK_rev2 [2024-10-22 17:42:51.715] [trace] Checking adapter/primer cDNA_VNP [2024-10-22 17:42:51.715] [trace] Checking adapter/primer cDNA_SSP [2024-10-22 17:42:51.715] [trace] Checking adapter/primer PCS110_forward [2024-10-22 17:42:51.715] [trace] Checking adapter/primer PCS110_reverse [2024-10-22 17:42:51.715] [trace] Checking adapter/primer RAD

HalfPhoton commented 2 weeks ago

Could you please write the logs to a file and share them? These last few lines aren't enough for us to see the issue.

dorado basecaller -vv --batchsize 16 sup,4mC_5mC,6mA ~/desktop/pod5/ -r > ~/desktop/bam/calls.bam 2> dorado.trace

Kind regards, Rich

HalfPhoton commented 2 weeks ago

Does you issue persist with dorado 0.8.2? It has a number of bug fixes which might be causing your crash.

GanchimegNamuunbayar commented 2 weeks ago

@HalfPhoton Thank you for your previous advice. I attempted to install a newer version, but the issue remains unresolved. The command for the logs executes successfully on smaller or fewer files; however, when processing larger datasets (~13GB), the system crashes and restarts due to a panic. I've included the trace file in a Google Drive link for your review, as I couldn't attach it here directly. Logs

HalfPhoton commented 1 week ago

Hi @GanchimegNamuunbayar,

For some reason I can't view these logs, can you create a ticket on the ONT customer support page please? We can then get these large log files and help you from there.

Please reference this GitHub issue and the great people at customer support will be able to get this information to me.

Kind regards, Rich

malton-ont commented 1 week ago

@HalfPhoton I've fixed the link for @GanchimegNamuunbayar, logs should be accessible now.

GanchimegNamuunbayar commented 1 day ago

Hi @HalfPhoton , I hope you're doing well! It's been a while since I shared the logs, and I just wanted to check in and see if there have been any updates or if you’ve had a chance to review them. Looking forward to your reply. Thank you again for your support!

Also thanks to @malton-ont for kindly fixing the link earlier—really appreciate the help!!

Best, Ganchimeg

malton-ont commented 1 day ago

Hi @GanchimegNamuunbayar,

dorado-0.8.3 was released yesterday and contains a couple of fixes for SUP basecalling on Apple silicon - could you give this a try?