smousavi05 / EQTransformer

EQTransformer, a python package for earthquake signal detection and phase picking using AI.
https://rebrand.ly/EQT-documentations
MIT License
308 stars 150 forks source link

GPU usage at the EQTransformer #168

Open birsenc opened 2 weeks ago

birsenc commented 2 weeks ago

Dear @smousavi05 and all,

We are running EQTransformer at HPC using CPU. We have more than 100 seismic stations and 3 years of data. We want to accelerate the speed of predicition. I have questions related to this issue.

Thank you very much in advance

smousavi05 commented 1 week ago

@birsenc thank you for reaching out. In your case GPUs won't help. They are just useful for training and model building. What you need is to parallemize it over the number of stations (and perhaps months) using many more CPUs. I have implemented a crude parallel process (this is what the number of CPU parameter is for) but you may improve it by running a higher order parallelization.