From 08ff5ba04bf5728459b8bdfa3b7eaaee63844aba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1ll=20Haraldsson?= Date: Fri, 29 Sep 2023 17:58:35 +0000 Subject: [PATCH 1/2] Fix typos - Update ReadMe.md --- ReadMe.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ReadMe.md b/ReadMe.md index 9a88540..74ec34e 100755 --- a/ReadMe.md +++ b/ReadMe.md @@ -10,7 +10,7 @@ ## Design Philosophy - + **Modularity**: each main function within ```LimberJack.jl``` has its own module. New functions can be added by including extra modules. ```LimberJack.jl``` has the following modules: + + **Modularity**: each main function within ```LimberJack.jl``` has its own module. New functions can be added by including extra modules. ```LimberJack.jl``` has the following modules: | Module | function | | ----------- | :----------- | @@ -23,8 +23,8 @@ | ```theory.jl``` | Computes large data vectors that combine many spectra | | ```tracers.jl``` | Computes the kernels associated with each type of kernel | -+ **Object-oriented**: ```LimberJack.jl``` mimics ```CCL.py``` class structure by using ```Julia```'s ```structures```. -+ **Transparency**: ```LimberJack.jl``` is fully written in ```Julia``` without needing to inerface to any other programming language (```C```, ```Python```...) to compute thoretical predictions. This allows the user full access to the code from input to output. ++ **Object-oriented**: ```LimberJack.jl``` mimics ```CCL.py``` class structure by using ```Julia```'s ```structures```. ++ **Transparency**: ```LimberJack.jl``` is fully written in ```Julia``` without needing to interface to any other programming language (```C```, ```Python```...) to compute thoretical predictions. This allows the user full access to the code from input to output. ## Goals @@ -74,6 +74,6 @@ Once you have installed ```Julia``` you can install ```LimberJack.jl``` followin ## Challenges -1. **Parallelization**: the current threading parallelization of ```LimberJack.jl``` is far away from the optimal one over number of threads scaling. Future works could study alternative parallalization schemes or possible inneficiencies in the code. -2. **GPU's**: ```LimberJack.jl``` currently cannot run on GPU's which are known to significantly speed-up cosmological inference. Future works could study implementing ```Julia``` GPU libraries such as ```CUDA.jl```. +1. **Parallelization**: the current threading parallelization of ```LimberJack.jl``` is far away from the optimal one over number of threads scaling. Future works could study alternative parallalization schemes or possible ineficiencies in the code. +2. **GPU's**: ```LimberJack.jl``` currently cannot run on GPUs which are known to significantly speed-up cosmological inference. Future works could study implementing ```Julia``` GPU libraries such as ```CUDA.jl```. 3. **Backwards-AD**: currently ```LimberJack.jl```'s preferred AD mode is forward-AD. However, the key computation of cosmological inference, obtaining the $\chi^2$, is a map from N parameters to a scalar. For a large number of parameters, backwards-AD is in theory the preferred AD mode and should significantly speed up the computation of the gradient. Future works could look into making ```LimberJack.jl``` compatible with the latest ```Julia``` AD libraries such as ```Zygote.jl``` to implement efficient backwards-AD. From bcd6e8f64b4162c94646cfdd7c32bc8f0274963e Mon Sep 17 00:00:00 2001 From: CompatHelper Julia Date: Sun, 1 Oct 2023 00:36:03 +0000 Subject: [PATCH 2/2] CompatHelper: bump compat for NumericalIntegration to 0.3, (keep existing compat) --- Project.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 48e806e..5a9a04f 100755 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "LimberJack" uuid = "6b86205d-155a-4b14-b82d-b6a149ea78f2" authors = ["Jaime Ruiz-Zapatero ", "David Alonso", "Andrina Nicola", "Arrykrishna Mootoovaloo", "James Sullivan", "Marco Bonic"] -version = "0.1.0" +version = "0.1.1" [deps] Artifacts = "56f22d72-fd6d-98f1-02f0-08ddc0907c33" @@ -19,7 +19,7 @@ BoltExt = "Bolt" [compat] Interpolations = "0.14.7" -NumericalIntegration = "0.2.0" +NumericalIntegration = "0.2.0, 0.3" julia = "1.9" [extras]