-
Accelerating Berends-Giele recursion for gluons in arbitrary dimensions over finite fields
Authors:
Juan M. Cruz-Martinez,
Giuseppe De Laurentis,
Mathieu Pellen
Abstract:
This work provides a proof of concept for the computation of pure gluonic amplitudes in quantum chromodynamics (QCD) on graphics processing units (GPUs). The implementation relies on the Berends-Giele recursion algorithm and, for the first time on a GPU, enables the numerical computation of amplitudes in an arbitrary number of space-time dimensions and over finite fields. This demonstrates the adv…
▽ More
This work provides a proof of concept for the computation of pure gluonic amplitudes in quantum chromodynamics (QCD) on graphics processing units (GPUs). The implementation relies on the Berends-Giele recursion algorithm and, for the first time on a GPU, enables the numerical computation of amplitudes in an arbitrary number of space-time dimensions and over finite fields. This demonstrates the advantages of hardware acceleration, not only for the computation of tree-level amplitudes for real-radiation processes in four dimensions over complex numbers but also for generating loop integrands for virtual corrections in $d$ dimensions over finite fields. The associated computer program is publicly available.
△ Less
Submitted 10 February, 2025;
originally announced February 2025.
-
Extending MadFlow: device-specific optimization
Authors:
Stefano Carrazza,
Juan M. Cruz-Martinez,
Gabriele Palazzo
Abstract:
In this proceedings we demonstrate some advantages of a top-bottom approach in the development of hardware-accelerated code. We start with an autogenerated hardware-agnostic Monte Carlo generator, which is parallelized in the event axis. This allow us to take advantage of the parallelizable nature of Monte Carlo integrals even if we don't have control of the hardware in which the computation will…
▽ More
In this proceedings we demonstrate some advantages of a top-bottom approach in the development of hardware-accelerated code. We start with an autogenerated hardware-agnostic Monte Carlo generator, which is parallelized in the event axis. This allow us to take advantage of the parallelizable nature of Monte Carlo integrals even if we don't have control of the hardware in which the computation will run (i.e., an external cluster). The generic nature of such an implementation can introduce spurious bottlenecks or overheads. Fortunately, said bottlenecks are usually restricted to a subset of operations and not to the whole vectorized program. By identifying the more critical parts of the calculation one can get very efficient code and at the same time minimize the amount of hardware-specific code that needs to be written. We show benchmarks demonstrating how simply reducing the memory footprint of the calculation can increase the performance of a $2 \to 4$ process.
△ Less
Submitted 25 November, 2022;
originally announced November 2022.
-
PDFFlow: hardware accelerating parton density access
Authors:
Marco Rossi,
Stefano Carrazza,
Juan M. Cruz-Martinez
Abstract:
We present PDFFlow, a new software for fast evaluation of parton distribution functions (PDFs) designed for platforms with hardware accelerators. PDFs are essential for the calculation of particle physics observables through Monte Carlo simulation techniques. The evaluation of a generic set of PDFs for quarks and gluons at a given momentum fraction and energy scale requires the implementation of i…
▽ More
We present PDFFlow, a new software for fast evaluation of parton distribution functions (PDFs) designed for platforms with hardware accelerators. PDFs are essential for the calculation of particle physics observables through Monte Carlo simulation techniques. The evaluation of a generic set of PDFs for quarks and gluons at a given momentum fraction and energy scale requires the implementation of interpolation algorithms as introduced for the first time by the LHAPDF project. PDFFlow extends and implements these interpolation algorithms using Google's TensorFlow library providing the possibility to perform PDF evaluations taking fully advantage of multi-threading CPU and GPU setups. We benchmark the performance of this library on multiple scenarios relevant for the particle physics community.
△ Less
Submitted 15 December, 2020;
originally announced December 2020.
-
VegasFlow: accelerating Monte Carlo simulation across platforms
Authors:
Juan M. Cruz-Martinez,
Stefano Carrazza
Abstract:
In this work we demonstrate the usage of the VegasFlow library on multidevice situations: multi-GPU in one single node and multi-node in a cluster. VegasFlow is a new software for fast evaluation of highly parallelizable integrals based on Monte Carlo integration. It is inspired by the Vegas algorithm, very often used as the driver of cross section integrations and based on Google's powerful Tenso…
▽ More
In this work we demonstrate the usage of the VegasFlow library on multidevice situations: multi-GPU in one single node and multi-node in a cluster. VegasFlow is a new software for fast evaluation of highly parallelizable integrals based on Monte Carlo integration. It is inspired by the Vegas algorithm, very often used as the driver of cross section integrations and based on Google's powerful TensorFlow library. In this proceedings we consider a typical multi-GPU configuration to benchmark how different batch sizes can increase (or decrease) the performance on a Leading Order example integration.
△ Less
Submitted 19 February, 2021; v1 submitted 19 October, 2020;
originally announced October 2020.
-
Constructing PineAPPL grids on hardware accelerators
Authors:
Stefano Carrazza,
Juan M. Cruz-Martinez,
Christopher Schwan
Abstract:
In this proceedings we demonstrate how to implement and construct the PineAPPL grids, designed for fast-interpolation of Monte Carlo simulation with electroweak and QCD corrections, using the VegasFlow framework for Monte Carlo simulation on hardware accelerators. We provide an example of synchronous and asynchronous filling operations of PineAPPL grids from Monte Carlo events generated by VegasFl…
▽ More
In this proceedings we demonstrate how to implement and construct the PineAPPL grids, designed for fast-interpolation of Monte Carlo simulation with electroweak and QCD corrections, using the VegasFlow framework for Monte Carlo simulation on hardware accelerators. We provide an example of synchronous and asynchronous filling operations of PineAPPL grids from Monte Carlo events generated by VegasFlow. We compare the performance of this procedure on multithreading CPU and GPU.
△ Less
Submitted 24 September, 2020;
originally announced September 2020.
-
PDFFlow: parton distribution functions on GPU
Authors:
Stefano Carrazza,
Juan M. Cruz-Martinez,
Marco Rossi
Abstract:
We present PDFFlow, a new software for fast evaluation of parton distribution functions (PDFs) designed for platforms with hardware accelerators. PDFs are essential for the calculation of particle physics observables through Monte Carlo simulation techniques. The evaluation of a generic set of PDFs for quarks and gluon at a given momentum fraction and energy scale requires the implementation of in…
▽ More
We present PDFFlow, a new software for fast evaluation of parton distribution functions (PDFs) designed for platforms with hardware accelerators. PDFs are essential for the calculation of particle physics observables through Monte Carlo simulation techniques. The evaluation of a generic set of PDFs for quarks and gluon at a given momentum fraction and energy scale requires the implementation of interpolation algorithms as introduced for the first time by the LHAPDF project. PDFFlow extends and implements these interpolation algorithms using Google's TensorFlow library providing the capabilities to perform PDF evaluations taking fully advantage of multi-threading CPU and GPU setups. We benchmark the performance of this library on multiple scenarios relevant for the particle physics community.
△ Less
Submitted 14 September, 2020;
originally announced September 2020.
-
VegasFlow: accelerating Monte Carlo simulation across multiple hardware platforms
Authors:
Stefano Carrazza,
Juan M. Cruz-Martinez
Abstract:
We present VegasFlow, a new software for fast evaluation of high dimensional integrals based on Monte Carlo integration techniques designed for platforms with hardware accelerators. The growing complexity of calculations and simulations in many areas of science have been accompanied by advances in the computational tools which have helped their developments. VegasFlow enables developers to delegat…
▽ More
We present VegasFlow, a new software for fast evaluation of high dimensional integrals based on Monte Carlo integration techniques designed for platforms with hardware accelerators. The growing complexity of calculations and simulations in many areas of science have been accompanied by advances in the computational tools which have helped their developments. VegasFlow enables developers to delegate all complicated aspects of hardware or platform implementation to the library so they can focus on the problem at hand. This software is inspired on the Vegas algorithm, ubiquitous in the particle physics community as the driver of cross section integration, and based on Google's powerful TensorFlow library. We benchmark the performance of this library on many different consumer and professional grade GPUs and CPUs.
△ Less
Submitted 20 May, 2020; v1 submitted 28 February, 2020;
originally announced February 2020.
-
Studying the parton content of the proton with deep learning models
Authors:
Juan M Cruz-Martinez,
Stefano Carrazza,
Roy Stegeman
Abstract:
Parton Distribution Functions (PDFs) model the parton content of the proton. Among the many collaborations which focus on PDF determination, NNPDF pioneered the use of Neural Networks to model the probability of finding partons (quarks and gluons) inside the proton with a given energy and momentum. In this proceedings we make use of state of the art techniques to modernize the NNPDF methodology an…
▽ More
Parton Distribution Functions (PDFs) model the parton content of the proton. Among the many collaborations which focus on PDF determination, NNPDF pioneered the use of Neural Networks to model the probability of finding partons (quarks and gluons) inside the proton with a given energy and momentum. In this proceedings we make use of state of the art techniques to modernize the NNPDF methodology and study different models and optimizers in order to improve the quality of the PDF: improving both the quality and efficiency of the fits. We also present the evolutionary_keras library, a Keras implementation of the Evolutionary Algorithms used by NNPDF.
△ Less
Submitted 20 July, 2020; v1 submitted 16 February, 2020;
originally announced February 2020.