cuBNM
A toolbox for efficient simulation of brain biophysical network models on GPUs
Cite this software
Description
cuBNM toolbox uses GPUs to efficiently run simulations of brain network models consisting of nodes which are connected through a connectome, and fit them to empirical neuroimaging data through integrated optimization algorithms.
GPU parallelization enables massive scaling of the simulations into higher number of simulations and nodes. Below you can see how computing time varies as a function of number of simulations and nodes on GPUs versus CPUs. For example, running 32,768 simulations (duration: 60s, nodes: 100) would take 3.8 days on a single CPU thread, but only 5.6 minutes on Nvidia A100 GPU, and 21.8 minutes on Nvidia GeForce RTX 4080 Super:

GPU usage is the primary focus of the toolbox but it also supports running the simulations on single or multiple cores of CPU. CPUs will be used if no GPUs are detected or if requested by the user.
Several commonly used models (e.g., reduced Wong-Wang, Jansen-Rit, Kuramoto, Wilson-Cowan) are implemented, and new models can be added via YAML definition files. A guide is included on the structure of model definition YAML files to help researchers implement custom models.
The simulated activity of model neurons is fed into the Balloon-Windkessel model to calculate simulated BOLD signal. Functional connectivity (FC) and functional connectivity dynamics (FCD) from the simulated BOLD signal are calculated efficiently on GPUs/CPUs and compared to FC and FCD matrices derived from empirical BOLD signals to assess similarity (goodness-of-fit) of the simulated to empirical BOLD signal. The toolbox supports parameter optimization algorithms including grid search and evolutionary optimizers (via pymoo), such as the covariance matrix adaptation-evolution strategy (CMA-ES). Parallelization within the grid or the iterations of evolutionary optimization is done at the level of simulations (across the GPU ‘blocks’), and nodes (across each block’s ‘threads’). The models can incorporate global or regional free parameters that are fit to empirical data using the provided optimization algorithms. Regional parameters can be homogeneous or vary across nodes based on a parameterized combination of fixed maps or independent free parameters for each node or group of nodes.
At its core the toolbox runs highly parallelized simulations using C++/CUDA, while the user interface is written in Python and allows for user control over simulation configurations:

Participating organisations
Reference papers
Mentions
- 1.Author(s): Alejandro Orozco Valero, Natalia Kopiś-Posiej, Víctor Rodríguez-González, Víctor Gutiérrez-de Pablo, Christian Morillas, Jesús Poza, Carlos Gómez, Pablo Martínez-Cañada, Paweł KrukowPublished in 202610.1038/s41398-026-04499-0
- 2.Author(s): Dogukan Koc, Bing Xu, Brandon Toribio Sanzo, Serena Defina, Alexander Neumann, Charlotte A. M. Cecil, Ryan L. Muetzel, Hanan El Marroun, Phil H. Lee, Henning TiemeierPublished in 202610.1038/s41380-026-03962-0
- 3.Author(s): Flávia A Verza, Ícaro S Freitas, Enzo P Valenzuela, Anthony A Grace, Francisco S Guimarães, Felipe V GomesPublished in Cerebral Cortex by Oxford University Press (OUP) in 202610.1093/cercor/bhaf342
- 4.Author(s): Kyesam Jung, Simon B. Eickhoff, Kaustubh R. PatilPublished in 202610.1073/pnas.2609630123
- 5.Author(s): Ghazal Mirzaee, Roshanak Latifikhereshki, Jonathan Chang, Shahrzad LatifiPublished in Machine Learning with Applications by Elsevier BV in 2026, page: 10090510.1016/j.mlwa.2026.100905
- 6.Author(s): Yongjie Zhou, Shunjie Yin, Min Luo, Shengmiao Ni, Rongting Zhu, Haiyan Li, Xinni Luo, Junchang Li, Lingyun Zeng, Xuchu Weng, Junrong Han, Lijuan HuoPublished in 202610.1186/s13034-026-01151-z
- 7.Author(s): Julia Rodriguez-Sanchez, Daniel J. Hauke, Dimitris A. Pinotsis, Lioba C.S. Berndt, Hope Oloye, Spero C. Nicholas, Holly K. Hamilton, Brian J. Roach, Peter M. Bachman, Aysenil Belger, Ricardo E. Carrión, Erica Duncan, Jason K. Johannesen, Gregory A. Light, Margaret A. Niznikiewicz, Karl J. Friston, Jean Addington, Carrie E. Bearden, Kristin S. Cadenhead, Diana O. Perkins, Elaine F. Walker, Scott W. Woods, Tyrone D. Cannon, Rick A. Adams, Daniel H. MathalonPublished in 202610.1016/j.biopsych.2026.04.007
- 8.Author(s): Richard A.I. Bethlehem, Sofie L. ValkPublished in 202610.1146/annurev-devpsych-111323-094508
- 9.Author(s): Rubén Herzog, Fernando Lehue, Agustina Legaz, Tiago Azzi, Josephine Cruzat, Hernan Hernandez, Nilton Custodio, Michela Pievani, Cecilia Gonzalez Campo, Jesús Cabrera-Álvarez, Pablo Barttfeld, David Aguillon, Lina M. Zapata-Restrepo, Joaquin Migeot, Fernando Maestú, Jordi Huguet, Adolfo M. García, Dante Sebastian Galvan Rial, Vicente Medel, Maira Okada de Oliveira, Guido Rocatti, Sarael Alcauter, Patrycja Dzianok, Stefanie D. Pina-Escudero, Pablo Reyes, Leonel Tadao Takada, Diana Matallana, José Alberto Avila-Funes, Hernando Santamaría-García, Marcelo Adrián Maito, Andrea Slachevsky, Maria Eugenia Godoy, Maria Isabel Behrens, Jennifer S. Yokoyama, Olivier Piguet, Martin A. Bruno, Bárbara Bruna, Yonatan Sanz Perl, Sebastian Moguilner, Arcadi Navarro, Kun Hu, Patricio Orio, Bruce Miller, Enzo Tagliazucchi, Claudia Duran-Aniotz, Carlos Coronel-Oliveros, Agustín IbáñezPublished in 202610.1038/s41551-026-01823-3
- 10.Author(s): Xin Zeng, Ge Zhang, Feiyan Wang, Yue Xiong, Ting Zhang, Changsong Zhou, Bharat Biswal, Dezhong Yao, Daqing GuoPublished in 202610.1038/s42003-026-11247-z
- 11.Author(s): Matthew Rosenblatt, Marlee Vandewouw, Henry Fox-Jurkowitz, Camille M. Williams, Yuanxin Zhong, Da Zhi, Yingzhe Zhang, Margaret L. Westwater, Armin Raznahan, Michael J. Gandal, Tian Ge, Dustin Scheinost, Jordan W. Smoller, Travis T. MallardPublished in 202610.1016/j.euroneuro.2026.113058
- 12.Author(s): Jessica Royer, Casey Paquola, Sara Larivière, Justine Y. Hansen, Sofie L. Valk, Bratislav Misic, Robert Leech, Jonathan Smallwood, Boris C. BernhardtPublished in Nature Reviews Neuroscience by Springer Science and Business Media LLC in 2026, page: 416-43410.1038/s41583-026-01038-0
- 13.Author(s): Francesca Saviola, Stefano Tambalo, Laura Beghini, Asia Ferrari, Barbara Cassone, Dimitri Van De Ville, Jorge JovicichPublished in Proceedings of the National Academy of Sciences by National Academy of Sciences in 202510.1073/pnas.2506513122
- 14.Author(s): Ruizhe Liu, Hyesang Chang, Yuan Zhang, Vinod MenonPublished in Developmental Cognitive Neuroscience by Elsevier BV in 2025, page: 10162810.1016/j.dcn.2025.101628
- 15.Author(s): Guoshi Li, Khoi Minh Huynh, Kim-Han Thung, Hoyt Patrick Taylor IV, Guoye Lin, Weili Lin, Sahar Ahmad, Pew-Thian YapPublished in Communications Biology by Springer Science and Business Media LLC in 202510.1038/s42003-025-08970-4
- 16.Author(s): Jason Z. Kim, Richard F. Betzel, Ahmad Beyh, Amber Howell, Amy Kuceyeski, Bart Larsen, Caio Seguin, Xi-Han Zhang, Avram Holmes, Linden ParkesPublished in Nature Communications by Springer Science and Business Media LLC in 202510.1038/s41467-025-66542-w
- 17.Author(s): Valerie J. Sydnor, Amar Ojha, Bart Larsen, Angela Martinez, Finnegan J. Calabro, Beatriz LunaPublished in Neuropsychopharmacology by Springer Science and Business Media LLC in 2025, page: 67-8510.1038/s41386-025-02246-5
- 18.Author(s): Yuehua Xu, Tengda Zhao, Mingrui Xia, Xuhong LiaoPublished in Journal of Pacific Rim Psychology by SAGE Publications in 202510.1177/18344909251392757
- 1.Author(s): Alessandro Fasse, Chiara Billi, Victor Garvalov, Matthew Morvan, Taylor Newton, Niels Kuster, Esra NeufeldPublished in 202610.64898/2026.07.08.737156
- 2.Author(s): Matthew Rosenblatt, Marlee Vandewouw, Henry Fox-Jurkowitz, Camille M. Williams, Yuanxin Zhong, Da Zhi, Yingzhe Zhang, Margaret L. Westwater, Armin Raznahan, Michael J. Gandal, Tian Ge, Dustin Scheinost, Jordan W. Smoller, Travis T. MallardPublished by openRxiv in 202610.64898/2026.06.22.733725
- 3.Published in 202610.7554/elife.111817.1.sa0
- 4.Author(s): Victor Barnes, Jace Cruddas, Trang Cao, Isaac Z. Pope, Ting Xu, Thomas Funck, Nicola Palomero-Gallagher, James C. Pang, Alex FornitoPublished by openRxiv in 202610.64898/2026.01.22.701178
- 5.Author(s): Alejandro Orozco Valero, Natalia Kopiś-Posiej, Víctor Rodríguez-González, Víctor Gutiérrez-de Pablo, Christian Morillas, Jesús Poza, Carlos Gómez, Pablo Martínez-Cañada, Paweł KrukowPublished by openRxiv in 202610.64898/2026.01.14.699432
- 6.Author(s): Liyi Qian, Sihan Ju, Zhenyu Li, Yongsheng Xie, Qi Yue, Liang ChenPublished in 202610.64898/2026.09.01.748520
- 7.Author(s): Matilde Bisi, Asia Ferrari, Jonas Karolis Degutis, Stefano Tambalo, Angela Ingrid Renton, Michael Vincent Lombardo, Jorge Jovicich, Dimitri Van De Ville, Francesca SaviolaPublished in 202610.64898/2026.10.30.763069
- 8.Author(s): Abdoreza Asadpour, Aanya Malaviya, James Cook, Alan George, Piyali Bhattacharya, Ifigeneia Manitsa, Martin P Wilson, Maria R DauvermannPublished in 202610.64898/2026.09.01.748001
- 9.Author(s): Isabelle Martin, Joshitha Arora, Lilah Hamill, Ethan Cho, Giacomo Scanavini, Ana Radanovic, Laiba Shaukat, N. Jeremy Hill, Sudhin A. Shah, Ludvik AlkhouryPublished in 202610.1016/j.neuropsychologia.2026.109600
- 10.Author(s): Yixiao Cao, Jue Wang, Xin Liu, Xiaoying Wang, Wenjin Chen, Yajie Yu, Mengzhuang Gou, Wei Li, Na Li, Jinghui Tong, Zhe Dong, Ting Xie, Ting Yu, Yanli Li, Song Chen, Takching Tai, Xingjie Yang, Zhiren Wang, Shujuan Pan, Xingguang Luo, Ping Zhang, Hu Deng, Li Tian, Xiaohong Li, Chiang-Shan R. Li, Yunlong TanPublished in 202610.21203/rs.3.rs-11688463/v1
- 11.Author(s): Linden Parkes, Valerie J. Sydnor, Amber Howell, John M. France, Andrew Westbrook, Bart LarsenPublished in 202610.64898/2026.10.21.760719
- 12.Author(s): Shane D McKeon, Daniel Petrie, Valerie Jill Sydnor, Zhengyang Wang, Junda Zhu, Alyssa Famalette, Will Foran, Ashley Clare Parr, Finnegan J Calabro, Taylor Abel, Christos Constantinidis, Beatriz LunaPublished in 202510.64898/2025.12.12.694027