# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?page=11

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 12

---

## [GPU performance degradation due to 'A \\ B' calculation](https://discourse.julialang.org/t/gpu-performance-degradation-due-to-a-b-calculation/136072)

<div class="topic-metadata">

**Author:** [@WG-ZHENG](https://discourse.julialang.org/u/WG-ZHENG)\
**Replies:** 7\
**Last updated:** [March 6, 2026, 8:35pm UTC](https://discourse.julialang.org/t/gpu-performance-degradation-due-to-a-b-calculation/136072 "2026-03-06T20:35:30Z")

</div>

I was trying to accelerate my algorithm via CUDA.jl. Howerver, it is frustrating that the GPU version of the computing runs slower than the CPU one. The CPU version of key calculations in my algorithm is defined as belo…

---

## [Does AmplNLWriter support most of the functionalities that jump natively provides through MathOptInterface?](https://discourse.julialang.org/t/does-amplnlwriter-support-most-of-the-functionalities-that-jump-natively-provides-through-mathoptinterface/135939)

<div class="topic-metadata">

**Author:** [@Mihir\_V146](https://discourse.julialang.org/u/Mihir_V146)\
**Replies:** 7\
**Last updated:** [March 6, 2026, 2:00am UTC](https://discourse.julialang.org/t/does-amplnlwriter-support-most-of-the-functionalities-that-jump-natively-provides-through-mathoptinterface/135939 "2026-03-06T02:00:53Z")

</div>

I am trying to decide if I should start making some kind of MathOptInterface for my solver to make jump interface directly with it or should i just use the AmplNLWriter to indirectly talk to jump. The solver I have alrea…

---

## [Implementing custom learning rule in Neuroblox.jl](https://discourse.julialang.org/t/implementing-custom-learning-rule-in-neuroblox-jl/133063)

<div class="topic-metadata">

**Author:** [@dmaioli](https://discourse.julialang.org/u/dmaioli)\
**Replies:** 3\
**Last updated:** [March 5, 2026, 5:45pm UTC](https://discourse.julialang.org/t/implementing-custom-learning-rule-in-neuroblox-jl/133063 "2026-03-05T17:45:40Z")

</div>

Hi, I am interested in doing spiking neural networks simulations in Julia. The package Neuroblox.jl seems very promising, and the lectures posted on MIT OpenCourseware on it make it clear that it is possible to build cu…

---

## [Conditioning stochastic inflows on lagged state variables in SDDP.jl (PAR(p) model)](https://discourse.julialang.org/t/conditioning-stochastic-inflows-on-lagged-state-variables-in-sddp-jl-par-p-model/135757)

<div class="topic-metadata">

**Author:** [@MagnoOcarlos](https://discourse.julialang.org/u/MagnoOcarlos)\
**Replies:** 9\
**Last updated:** [March 4, 2026, 11:35pm UTC](https://discourse.julialang.org/t/conditioning-stochastic-inflows-on-lagged-state-variables-in-sddp-jl-par-p-model/135757 "2026-03-04T23:35:46Z")

</div>

Conditioning stochastic inflows on lagged state variables in SDDP.jl (PAR(p) model) Hi all, I’m implementing a hydrothermal dispatch model (similar to the Brazilian NEWAVE) using SDDP.jl. The inflow process follows a Pe…

---

## [MTK with MonteCarloMeasurements Error](https://discourse.julialang.org/t/mtk-with-montecarlomeasurements-error/135988)

<div class="topic-metadata">

**Author:** [@optimal\_georg](https://discourse.julialang.org/u/optimal_georg)\
**Replies:** 7\
**Last updated:** [March 4, 2026, 2:05pm UTC](https://discourse.julialang.org/t/mtk-with-montecarlomeasurements-error/135988 "2026-03-04T14:05:21Z")

</div>

Hi out there! I am trying to use MonteCarloMeasurements.jl together with MTK to solve a differential equation with uncertain parameters. using ModelingToolkit, DifferentialEquations using MonteCarloMeasurements using C…

---

## [Performance of Pigeons.jl's AutoMALA on correlated targets](https://discourse.julialang.org/t/performance-of-pigeons-jls-automala-on-correlated-targets/135976)

<div class="topic-metadata">

**Author:** [@ysfoo](https://discourse.julialang.org/u/ysfoo)\
**Replies:** 1\
**Last updated:** [March 3, 2026, 8:13pm UTC](https://discourse.julialang.org/t/performance-of-pigeons-jls-automala-on-correlated-targets/135976 "2026-03-03T20:13:27Z")

</div>

I’ve seen Pigeons.jl advocated a few times here as a promising tool for parallel tempering. The package makes use of AutoMALA as a general-purpose sampler, instead of the popular NUTS sampler. The AutoMALA paper claims t…

---

## [How to ensure reproducibility when using CUDA.rand()?](https://discourse.julialang.org/t/how-to-ensure-reproducibility-when-using-cuda-rand/135987)

<div class="topic-metadata">

**Author:** [@WG-ZHENG](https://discourse.julialang.org/u/WG-ZHENG)\
**Replies:** 3\
**Last updated:** [March 3, 2026, 9:19am UTC](https://discourse.julialang.org/t/how-to-ensure-reproducibility-when-using-cuda-rand/135987 "2026-03-03T09:19:32Z")

</div>

It seems that it is not supported to pass a specified rng as argument to rand in CUDA.jl. The codes below raise an error: using CUDA rng = CUDA.RNG(42) a = CUDA.rand(rng, 1) ERROR: MethodError: no method matching rand…

---

## [How to plot a unfilled histogram (stairs) in Makie?](https://discourse.julialang.org/t/how-to-plot-a-unfilled-histogram-stairs-in-makie/135977)

<div class="topic-metadata">

**Author:** [@Abhro](https://discourse.julialang.org/u/Abhro)\
**Replies:** 1\
**Last updated:** [March 3, 2026, 3:28am UTC](https://discourse.julialang.org/t/how-to-plot-a-unfilled-histogram-stairs-in-makie/135977 "2026-03-03T03:28:16Z")

</div>

If I have a pre-fiitted histogram, how would I plot an unfilled histogram with Makie.jl? I can use hist and stephist for the raw data, but I’m not sure what to do about a Histogram object from StatsBase.jl Example: usi…

---

## [What is the canon way to randomly draw one (or more) parameter sets from a sampled distribution?](https://discourse.julialang.org/t/what-is-the-canon-way-to-randomly-draw-one-or-more-parameter-sets-from-a-sampled-distribution/135935)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 11\
**Last updated:** [March 2, 2026, 5:48pm UTC](https://discourse.julialang.org/t/what-is-the-canon-way-to-randomly-draw-one-or-more-parameter-sets-from-a-sampled-distribution/135935 "2026-03-02T17:48:15Z")

</div>

Using turing I have done n\_steps = 1000 n\_chains = 4 chain = sample(model, NUTS(), MCMCThreads(), n\_steps, n\_chains) I can plot the output using plot(chain) However, if I want to draw a random parameter set to do …

---

## [Best practices for testing numerical results that are unstable across package versions](https://discourse.julialang.org/t/best-practices-for-testing-numerical-results-that-are-unstable-across-package-versions/135847)

<div class="topic-metadata">

**Author:** [@jakobjpeters](https://discourse.julialang.org/u/jakobjpeters)\
**Replies:** 30\
**Last updated:** [March 2, 2026, 12:37pm UTC](https://discourse.julialang.org/t/best-practices-for-testing-numerical-results-that-are-unstable-across-package-versions/135847 "2026-03-02T12:37:47Z")

</div>

My team is using OrdinaryDiffEq.jl and several other numerical packages, where we are testing a variety of solver results to be within some tolerance. On multiple occasions, some of these tests have begun to fail after u…

---

## [Why does transform default to ungroup=true?](https://discourse.julialang.org/t/why-does-transform-default-to-ungroup-true/92544)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 2\
**Last updated:** [March 2, 2026, 10:54am UTC](https://discourse.julialang.org/t/why-does-transform-default-to-ungroup-true/92544 "2026-03-02T10:54:07Z")

</div>

In DataFrames, why does transform default to ungroup=true?

---

## [Finding mutations that Zygote complains about](https://discourse.julialang.org/t/finding-mutations-that-zygote-complains-about/135864)

<div class="topic-metadata">

**Author:** [@Neodym](https://discourse.julialang.org/u/Neodym)\
**Replies:** 19\
**Last updated:** [March 1, 2026, 6:47pm UTC](https://discourse.julialang.org/t/finding-mutations-that-zygote-complains-about/135864 "2026-03-01T18:47:53Z")

</div>

Hey, Apparently, I have some hidden mutations in my code that I cannot find. Unfortunately, Zygote easily finds them and complains about it. I get call stacks 40+ layers deep, the last of my own functions being near th…

---

## [Has the nested\_nlsolve\_kwargs keyword been removed from the SciML FIRK BVP solvers?](https://discourse.julialang.org/t/has-the-nested-nlsolve-kwargs-keyword-been-removed-from-the-sciml-firk-bvp-solvers/135934)

<div class="topic-metadata">

**Author:** [@ThermionicsGuy](https://discourse.julialang.org/u/ThermionicsGuy)\
**Replies:** 3\
**Last updated:** [March 1, 2026, 5:41pm UTC](https://discourse.julialang.org/t/has-the-nested-nlsolve-kwargs-keyword-been-removed-from-the-sciml-firk-bvp-solvers/135934 "2026-03-01T17:41:44Z")

</div>

I want to control the tolerances and choice of nonlinear solution algorithm in the nested solver for the RaduaIIa5 boundary value problem solver. The documentation I can find says to use the nested\_nlsolve\_kwargs keyword…

---

## [Memory Scratch Allocation Strategy Recommendations](https://discourse.julialang.org/t/memory-scratch-allocation-strategy-recommendations/135921)

<div class="topic-metadata">

**Author:** [@termi-official](https://discourse.julialang.org/u/termi-official)\
**Replies:** 1\
**Last updated:** [February 28, 2026, 7:16pm UTC](https://discourse.julialang.org/t/memory-scratch-allocation-strategy-recommendations/135921 "2026-02-28T19:16:02Z")

</div>

I have some small GPU program (finite element assembly of a heat problem) which I have written using a combination of CUDA and KernelAbstractions. The main kernel will be called repeatedly, so I want to preallocate the n…

---

## [Update to https://github.com/sterglee/JuliaDeepLearningFluxExamples project](https://discourse.julialang.org/t/update-to-https-github-com-sterglee-juliadeeplearningfluxexamples-project/135917)

<div class="topic-metadata">

**Author:** [@Stergios\_Papadimitri](https://discourse.julialang.org/u/Stergios_Papadimitri)\
**Replies:** 0\
**Last updated:** [February 28, 2026, 11:00am UTC](https://discourse.julialang.org/t/update-to-https-github-com-sterglee-juliadeeplearningfluxexamples-project/135917 "2026-02-28T11:00:41Z")

</div>

I like to announce that I have implemented many new models in the project.

---

## [Discount factor on graph edges and padding stages in SDDP.jl (NEWAVE-style)](https://discourse.julialang.org/t/discount-factor-on-graph-edges-and-padding-stages-in-sddp-jl-newave-style/135863)

<div class="topic-metadata">

**Author:** [@MagnoOcarlos](https://discourse.julialang.org/u/MagnoOcarlos)\
**Replies:** 1\
**Last updated:** [February 27, 2026, 12:49am UTC](https://discourse.julialang.org/t/discount-factor-on-graph-edges-and-padding-stages-in-sddp-jl-newave-style/135863 "2026-02-27T00:49:52Z")

</div>

Hi all, Following up on my previous question about Conditioning stochastic inflows on lagged state variables in SDDP.jl (PAR(p) model), I now have a question about applying the discount factor in the cost-to-go function…

---

## [Multithreading very slow](https://discourse.julialang.org/t/multithreading-very-slow/135711)

<div class="topic-metadata">

**Author:** [@Leibniz](https://discourse.julialang.org/u/Leibniz)\
**Replies:** 14\
**Last updated:** [February 26, 2026, 7:47pm UTC](https://discourse.julialang.org/t/multithreading-very-slow/135711 "2026-02-26T19:47:45Z")

</div>

Greetings, I am translating a C++ particle simulation code into Julia. In each iteration, the algorithm computes forces that are given by pairwise interactions, which leads to an O(N^2) operation, with N the number of p…

---

## [A non-classical ODE problem](https://discourse.julialang.org/t/a-non-classical-ode-problem/135868)

<div class="topic-metadata">

**Author:** [@Veenty](https://discourse.julialang.org/u/Veenty)\
**Replies:** 2\
**Last updated:** [February 26, 2026, 5:03pm UTC](https://discourse.julialang.org/t/a-non-classical-ode-problem/135868 "2026-02-26T17:03:03Z")

</div>

I have an evolution problem that I cannot cast in a classical form. \\frac{d}{dt} A u = u + F(u,v) \\\\ G(u) = 0 Where A is a bad matrix to invert, however (A - \\Delta t) is ok to invert. When I’m coding this with an imp…

---

## [Seeking low rank solution for two PSD matrices via \`SDPLR.jl\` in \`JuMP\`](https://discourse.julialang.org/t/seeking-low-rank-solution-for-two-psd-matrices-via-sdplr-jl-in-jump/135823)

<div class="topic-metadata">

**Author:** [@Shuvomoy\_Das\_Gupta](https://discourse.julialang.org/u/Shuvomoy_Das_Gupta)\
**Replies:** 9\
**Last updated:** [February 26, 2026, 2:24pm UTC](https://discourse.julialang.org/t/seeking-low-rank-solution-for-two-psd-matrices-via-sdplr-jl-in-jump/135823 "2026-02-26T14:24:46Z")

</div>

I am trying the SDPLR.jl solver in JuMP for finding low-rank solutions to SDPs and it is working quite nicely when the underlying semidefinite optimization problem has only one PSD variable X. How do I apply SDPLR.jl in J…

---

## [Should NonlinearLeastSquaresProblem be used for deep learning?](https://discourse.julialang.org/t/should-nonlinearleastsquaresproblem-be-used-for-deep-learning/135793)

<div class="topic-metadata">

**Author:** [@dmetivie](https://discourse.julialang.org/u/dmetivie)\
**Replies:** 11\
**Last updated:** [February 24, 2026, 4:03pm UTC](https://discourse.julialang.org/t/should-nonlinearleastsquaresproblem-be-used-for-deep-learning/135793 "2026-02-24T16:03:28Z")

</div>

From this JuliaCon talk Fast and Robust Least Squares / Curve Fitting by @ChrisRackauckas, I gathered that if you have a L2 loss function then you should be using NonlinearLeastSquaresProblem from the NonlinearSolve.jl p…

---

## [Need assistance PowerModelDistribution. jl](https://discourse.julialang.org/t/need-assistance-powermodeldistribution-jl/135785)

<div class="topic-metadata">

**Author:** [@Curtis96](https://discourse.julialang.org/u/Curtis96)\
**Replies:** 8\
**Last updated:** [February 24, 2026, 1:40am UTC](https://discourse.julialang.org/t/need-assistance-powermodeldistribution-jl/135785 "2026-02-24T01:40:04Z")

</div>

Hello everyone, I need your help. I am currently modelling a distribution network (13 buses) using Julia software via PowerModelDistribution with a MATHEMATICAL model. The problem I am encountering is that when calculati…

---

## [Downloading maps using OSM in Agents.jl. OpenSSLError](https://discourse.julialang.org/t/downloading-maps-using-osm-in-agents-jl-opensslerror/135751)

<div class="topic-metadata">

**Author:** [@Magnus\_Lilledahl](https://discourse.julialang.org/u/Magnus_Lilledahl)\
**Replies:** 4\
**Last updated:** [February 23, 2026, 8:39pm UTC](https://discourse.julialang.org/t/downloading-maps-using-osm-in-agents-jl-opensslerror/135751 "2026-02-23T20:39:22Z")

</div>

I am trying to use the OSM module og Agents.jl to download maps from openstreetmaps. With the following MWE using Agents map\_path = OSM.download\_osm\_network(:place\_name; place\_name = "Trondheim", networ…

---

## [Mooncake+ODE gradient error](https://discourse.julialang.org/t/mooncake-ode-gradient-error/135797)

<div class="topic-metadata">

**Author:** [@johnb](https://discourse.julialang.org/u/johnb)\
**Replies:** 1\
**Last updated:** [February 23, 2026, 6:35pm UTC](https://discourse.julialang.org/t/mooncake-ode-gradient-error/135797 "2026-02-23T18:35:47Z")

</div>

I’m trying out Mooncake.jl to obtain gradients through ODEs, but I keep getting uninitialized tangent issues and I’m not sure how to fix it. I’ve attached a small example problem below. Using DifferentiationInterface.jl…

---

## [Julia Flux Deep Learning Examples](https://discourse.julialang.org/t/julia-flux-deep-learning-examples/135788)

<div class="topic-metadata">

**Author:** [@Stergios\_Papadimitri](https://discourse.julialang.org/u/Stergios_Papadimitri)\
**Replies:** 0\
**Last updated:** [February 23, 2026, 11:48am UTC](https://discourse.julialang.org/t/julia-flux-deep-learning-examples/135788 "2026-02-23T11:48:04Z")

</div>

I created the project github dot com slash sterg24 slash JuliaDeepLearningFluxExamples that aims to develop good examples of deep learning with the Flux Julia’s framework

---

## [LinearSolveCUDAExt fails to compile](https://discourse.julialang.org/t/linearsolvecudaext-fails-to-compile/131693)

<div class="topic-metadata">

**Author:** [@sob](https://discourse.julialang.org/u/sob)\
**Replies:** 23\
**Last updated:** [February 20, 2026, 2:01pm UTC](https://discourse.julialang.org/t/linearsolvecudaext-fails-to-compile/131693 "2026-02-20T14:01:40Z")

</div>

As a dependency of DiffEqGPU (version 3.8,0), it fails to compile on Julia 1.11.6 (Linux). (Test) pkg\> precompile Precompiling project... ✗ LinearSolve → LinearSolveCUDAExt 33 dependencies successfully precompiled i…

---

## [Coloring individual tick labels in Makie](https://discourse.julialang.org/t/coloring-individual-tick-labels-in-makie/135750)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 4\
**Last updated:** [February 20, 2026, 1:18pm UTC](https://discourse.julialang.org/t/coloring-individual-tick-labels-in-makie/135750 "2026-02-20T13:18:45Z")

</div>

Is it possible to color individual labels in Makie? Example: fig, ax = scatter(1:5, 1:5) ax.xticks = 1:5 ax.xticklabelcolor = \[:white, :white, :red, :red, :white\] fig which errors. Context: I have this plot: and …

---

## [Makie: Axis through (0,0)](https://discourse.julialang.org/t/makie-axis-through-0-0/103968)

<div class="topic-metadata">

**Author:** [@mpirke](https://discourse.julialang.org/u/mpirke)\
**Replies:** 8\
**Last updated:** [February 20, 2026, 12:03pm UTC](https://discourse.julialang.org/t/makie-axis-through-0-0/103968 "2026-02-20T12:03:23Z")

</div>

Hi there! I wondered whether the following is possible in Makie. import math import numpy as np import matplotlib.pyplot as plt def sigmoid(x): a = \[\] for item in x: a.append(1/(1+math.exp(-item))) …

---

## [Automatic Differentiation of the flow of an ode : DifferentiationInterface, SciMLSensitivity](https://discourse.julialang.org/t/automatic-differentiation-of-the-flow-of-an-ode-differentiationinterface-scimlsensitivity/135730)

<div class="topic-metadata">

**Author:** [@joseph-gergaud](https://discourse.julialang.org/u/joseph-gergaud)\
**Replies:** 1\
**Last updated:** [February 20, 2026, 6:23am UTC](https://discourse.julialang.org/t/automatic-differentiation-of-the-flow-of-an-ode-differentiationinterface-scimlsensitivity/135730 "2026-02-20T06:23:04Z")

</div>

When I use the backend Zygote for the automatic differentiation with DifferentiationInterface for the flow of an ordinary differentiation equation, I have an error : Here is the code : using Pkg Pkg.activate(".") #Pkg.…

---

## [Turing constrain on observations of deterministic function](https://discourse.julialang.org/t/turing-constrain-on-observations-of-deterministic-function/135718)

<div class="topic-metadata">

**Author:** [@Fourier](https://discourse.julialang.org/u/Fourier)\
**Replies:** 3\
**Last updated:** [February 20, 2026, 4:00am UTC](https://discourse.julialang.org/t/turing-constrain-on-observations-of-deterministic-function/135718 "2026-02-20T04:00:05Z")

</div>

I have the following model function f(x) x^2 end @model function simplemodel() x ~ Normal(5, 1) y := f(x) return y end sample(simplemodel(), NUTS(), 50) |\> histogram As can be seen it involves the de…

---

## [How to create a differential model at run time?](https://discourse.julialang.org/t/how-to-create-a-differential-model-at-run-time/135704)

<div class="topic-metadata">

**Author:** [@thudjx](https://discourse.julialang.org/u/thudjx)\
**Replies:** 6\
**Last updated:** [February 20, 2026, 12:50am UTC](https://discourse.julialang.org/t/how-to-create-a-differential-model-at-run-time/135704 "2026-02-20T00:50:48Z")

</div>

I want to create a differential algebraic model by reading information from a file, thus I can only construct the model at run time. But I don’t know how to do this because the example models from documentation of Differ…

[Previous page](https://discourse.julialang.org/c/domain/10.md?page=10)

[Next page](https://discourse.julialang.org/c/domain/10.md?page=12)
