Comments (5)
Thank you for the benchmarks.
Some of the points do not match our experience. For example, CPU should not have a huge influence as those mostly govern I/O. Using SSDs or holding as much as possible in RAM for example may speed up the process substantially. When we benchmark only the prediction we see a clear benefit from faster GPUs and higher batch sizes. The supplement from our paper has a benchmark on speed as well (Supplemental Figure 11).
In general, please keep the Github issues for issues or questions with Prosit (i.e. errors, requests for clarifications) and consider pull requests or wiki entries for general comments. Thank you for sharing your results with us!
from prosit.
Some of the points do not match our experience. For example, CPU should not have a huge influence as those mostly govern I/O. Using SSDs or holding as much as possible in RAM for example may speed up the process substantially. When we benchmark only the prediction we see a clear benefit from faster GPUs and higher batch sizes.
The prediction is clearly single threaded, once this runs on 100% on a thread there is no I/O bottleneck. Otherwise the CPU would run 50% or less, then its clearly I/O. The 2080TI is faster than the 1080TI, no substantial difference. Then the fact (or elephant in the room) that the GPU is only fully utilized during the first 5% of the run, that's really interesting. So maybe that's the limiting step, because export is single threaded, basically it can not export the data fast enough. If the prediction would be actually multi-threaded on the CPU level then you still would have to stitch the results together and then the export could be potentially I/O limited. Overall nothing to worry about, predictions are very fast.
from prosit.
The new version after July 3rd with MS/MS and RT prediction utilized CPU much better, 50-60% of all threads are active. GPU use is still not observed after initial spike. An input file with 800k tryptic digests and 20 Mbyte file size uses 20 Gbyte RAM during prediction and finishes in 1 hour. Output file size is 3.3 GByte.
So the functionality for multiple and effective GPU predictions is also currently missing. See:
https://stackoverflow.com/questions/42409884/keras-tensorflow-prediction-on-multiple-gpus?rq=1
and
https://stackoverflow.com/questions/44255362/tensorflow-simultaneous-prediction-on-gpu-and-cpu
from prosit.
The CPU load you are seeing, comes from transforming the csv file into suitable numpy arrays and back. The prediction utilizes the GPU.
Currently, prediction speed is not a bottleneck that is why multi-gpu support is not high on our priority list. Pull requests are very welcome though :)
from prosit.
@gessulat
"pull requests" I wish, but its not my domain. If I would I'd probably focus on:
- maybe some native deployment of the prosit code so it could run under Windows. Basically without the Docker skeleton (which is great, but not working under WIN due to GPU pass-through)
- maybe some code that would do the prosit predictions just on the CPU (n=44 or 56)
without the requirement to install GPU dependencies, with tf.device('/cpu:0')? - maybe some general benchmarks so we can saturate the CPU with use of ramfs/tmpfs
for large(er) memory machines 100 to 500 GByte - maybe some prediction benchmarks that show use of a single/multiple GPUs is actually faster,
but as you mentioned the Keras/TF code is quite complicated
Overall I agree, for people working on a single genome or organism the calculations are quite fast,
running all uniprot with all major digestion methods under 2-3 CID voltages might cover all important experiments. Then one would need to calculate that once and store in a database. No need to recalculate. Basically a google for prosit CID MS/MS and RT predictions, much faster of course.
from prosit.
Related Issues (20)
- TMT model files not compatible with Prost codes provided here
- dlib downloads on the website don't work - Error 500 HOT 1
- Python API to get MS2 predicted spectra HOT 2
- Is this project abandoned? No responses in issue tracker since 2020 and it's 2023 now. HOT 3
- Please make sure that your uploaded "msms.txt" is also named "msms.txt"
- This task ID is unkown. Please check if your task has another URL or re-submit your task. HOT 1
- Error log which non-ncbi database
- Percolator subset-max-train Flag
- Error when running TMT models HOT 2
- Unable to download spectral library HOT 1
- Is there a way to run Prosit on Jupyter Notebook (Google Collab)?
- "Can't get the response from the server" HOT 1
- Prosit Download showing server issues HOT 3
- Prosit rescoring on own server HOT 1
- Error with spectral prediction HOT 1
- Prosit for No Enzyme searches
- urllib.error.HTTPError: HTTP Error 404: Not Found
- error":"Error: HttpClient.getResponse: Can't get the response from the server
- Which Columns Used From msms.txt for CE Calibration
- training with customized datasets
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prosit.