# Latest

**URL:** https://discourse.julialang.org/latest.md?page=256

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

**Page:** 257

---

## [MKLSparse with AMD cpu](https://discourse.julialang.org/t/mklsparse-with-amd-cpu/50559)

<div class="topic-metadata">

**Author:** [@Bruno\_Amorim](https://discourse.julialang.org/u/Bruno_Amorim)\
**Replies:** 5\
**Last updated:** [December 11, 2024, 8:25pm UTC](https://discourse.julialang.org/t/mklsparse-with-amd-cpu/50559 "2024-12-11T20:25:18Z")

</div>

As discussed in other threads Acceleration of Intel MKL on AMD Ryzen CPU’s Hack: AMD Ryzen/TR/Epyc + Intel Math Kernel Library (MKL) Intel MKL descriminates against AMD cpu’s (although this might be changing). Does t…

---

## [PackageCompiler create\_app never finishes in Julia 1.11.x](https://discourse.julialang.org/t/packagecompiler-create-app-never-finishes-in-julia-1-11-x/123724)

<div class="topic-metadata">

**Author:** [@dhl](https://discourse.julialang.org/u/dhl)\
**Replies:** 2\
**Last updated:** [December 11, 2024, 7:05pm UTC](https://discourse.julialang.org/t/packagecompiler-create-app-never-finishes-in-julia-1-11-x/123724 "2024-12-11T19:05:52Z")

</div>

There seems to be a breaking difference in behavior between Julia 1.10.x and 1.11.x with the create\_app call in PackageCompiler. Effectively the issue is that following works under julia 1.10.x and fails (never finishes…

---

## [Invalid LLVM IR was generated](https://discourse.julialang.org/t/invalid-llvm-ir-was-generated/123720)

<div class="topic-metadata">

**Author:** [@Nosferican](https://discourse.julialang.org/u/Nosferican)\
**Replies:** 1\
**Last updated:** [December 11, 2024, 7:00pm UTC](https://discourse.julialang.org/t/invalid-llvm-ir-was-generated/123720 "2024-12-11T19:00:31Z")

</div>

I am trying to understand and debug the issue presented at https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by\_date/2024-12/10/Econometrics.primary.log. Is there a way to test the functionality that NanoSo…

---

## [How to use Lux with Enzyme](https://discourse.julialang.org/t/how-to-use-lux-with-enzyme/122920)

<div class="topic-metadata">

**Author:** [@odddot](https://discourse.julialang.org/u/odddot)\
**Replies:** 6\
**Last updated:** [December 11, 2024, 6:08pm UTC](https://discourse.julialang.org/t/how-to-use-lux-with-enzyme/122920 "2024-12-11T18:08:51Z")

</div>

Hi, I am trying to use Lux with Enzyme, and I cannot get it to work in a simple example. The only complete (and working) example that I have found is this: Compiling Lux Models using Reactant.jl | Lux.jl Docs, which is …

---

## [ERROR: Tried to remove agent with ID 66 from the space, but that agent is not on the space](https://discourse.julialang.org/t/error-tried-to-remove-agent-with-id-66-from-the-space-but-that-agent-is-not-on-the-space/122674)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 7\
**Last updated:** [December 11, 2024, 5:12pm UTC](https://discourse.julialang.org/t/error-tried-to-remove-agent-with-id-66-from-the-space-but-that-agent-is-not-on-the-space/122674 "2024-12-11T17:12:25Z")

</div>

I was wondering what is most efficient and issue free way to create random positions for agents. At the moment Im using this where sides = \[1e3, 1e2, 5e2\] positions = \[sides .\* rand(SVector{3,Float64}) for \_ in 1:num…

---

## [Nelder Mead requires derivatives?](https://discourse.julialang.org/t/nelder-mead-requires-derivatives/123697)

<div class="topic-metadata">

**Author:** [@aris](https://discourse.julialang.org/u/aris)\
**Replies:** 6\
**Last updated:** [December 11, 2024, 3:59pm UTC](https://discourse.julialang.org/t/nelder-mead-requires-derivatives/123697 "2024-12-11T15:59:44Z")

</div>

Hello everyone I was playing around with optimizing a problem using some code that looks as follows: using Optimization using OptimizationOptimJL function cost(u,p) # define the cost function here end prob = Opti…

---

## [\[ANN\] EnumSets.jl](https://discourse.julialang.org/t/ann-enumsets-jl/123671)

<div class="topic-metadata">

**Author:** [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Replies:** 6\
**Last updated:** [December 11, 2024, 3:57pm UTC](https://discourse.julialang.org/t/ann-enumsets-jl/123671 "2024-12-11T15:57:52Z")

</div>

I am pleased to announce EnumSets.jl. From the readme: EnumSets This packages allows to create a very fast immutable type that represents a set of enum values. julia\> using EnumSets julia\> @enum Lang Python Julia …

---

## [ModelingToolkit & Fractional Differential Equations?](https://discourse.julialang.org/t/modelingtoolkit-fractional-differential-equations/123705)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 6\
**Last updated:** [December 11, 2024, 3:57pm UTC](https://discourse.julialang.org/t/modelingtoolkit-fractional-differential-equations/123705 "2024-12-11T15:57:35Z")

</div>

I noticed some time ago that someone discussed a new package on Fractional Differential Equation solvers – I had not heard of this before, so I didn’t pay much attention. Now, I see that in electrochemistry, it is relat…

---

## [Compatibility of alternative representation of Expressions with SymbolicUtils.jl](https://discourse.julialang.org/t/compatibility-of-alternative-representation-of-expressions-with-symbolicutils-jl/123707)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 1\
**Last updated:** [December 11, 2024, 3:50pm UTC](https://discourse.julialang.org/t/compatibility-of-alternative-representation-of-expressions-with-symbolicutils-jl/123707 "2024-12-11T15:50:52Z")

</div>

Hello, with my student we are trying to reproduce this Facebook’s paper (GitHub - facebookresearch/neural-rewriter: Learning to Perform Local Rewriting for Combinatorial Optimization) in Julia. At the moment, we use Met…

---

## [Cannot differentiate through a multivariate log normal probability density with Zygote](https://discourse.julialang.org/t/cannot-differentiate-through-a-multivariate-log-normal-probability-density-with-zygote/123571)

<div class="topic-metadata">

**Author:** [@DoktorMike](https://discourse.julialang.org/u/DoktorMike)\
**Replies:** 4\
**Last updated:** [December 11, 2024, 3:10pm UTC](https://discourse.julialang.org/t/cannot-differentiate-through-a-multivariate-log-normal-probability-density-with-zygote/123571 "2024-12-11T15:10:38Z")

</div>

I’ve built a loss function based on the negative log likelihood of a multivariate log normal distribution. However, when I try to calculate the gradients I hit the following error which I would think stems from the handl…

---

## [Nonlinear program with JuMP not following all constraints](https://discourse.julialang.org/t/nonlinear-program-with-jump-not-following-all-constraints/123691)

<div class="topic-metadata">

**Author:** [@Yuricst](https://discourse.julialang.org/u/Yuricst)\
**Replies:** 2\
**Last updated:** [December 11, 2024, 3:09pm UTC](https://discourse.julialang.org/t/nonlinear-program-with-jump-not-following-all-constraints/123691 "2024-12-11T15:09:20Z")

</div>

Hello! I am trying to solve a nonlinear nonconvex NLP using JuMP. More specifically, I would like to write a wrapper that accepts a somewhat generic objective/constraint evaluation function f\_fitness and generates a JuM…

---

## [How to execute .sql file](https://discourse.julialang.org/t/how-to-execute-sql-file/123675)

<div class="topic-metadata">

**Author:** [@slwu89](https://discourse.julialang.org/u/slwu89)\
**Replies:** 10\
**Last updated:** [December 11, 2024, 2:55pm UTC](https://discourse.julialang.org/t/how-to-execute-sql-file/123675 "2024-12-11T14:55:41Z")

</div>

Hi, I am just getting started with using databases in Julia and am confused how I could read SQL commands from a file (for example, test.sql as below). I am using DuckDB.jl but the question is generic across SQLite.jl, e…

---

## [\[Flux + Yao\] Variable quantum circuits with trainable parameters](https://discourse.julialang.org/t/flux-yao-variable-quantum-circuits-with-trainable-parameters/123706)

<div class="topic-metadata">

**Author:** [@mbm204](https://discourse.julialang.org/u/mbm204)\
**Replies:** 1\
**Last updated:** [December 11, 2024, 2:46pm UTC](https://discourse.julialang.org/t/flux-yao-variable-quantum-circuits-with-trainable-parameters/123706 "2024-12-11T14:46:07Z")

</div>

I’m doing quantum machine learning in Yao and Flux. The construction of the quantum circuits within Yao is fairly straightforward but contains a gate construction that depends on the number of qubits involved. When setti…

---

## [Google's Willow new quantum chip](https://discourse.julialang.org/t/googles-willow-new-quantum-chip/123639)

<div class="topic-metadata">

**Author:** [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Replies:** 7\
**Last updated:** [December 11, 2024, 2:18pm UTC](https://discourse.julialang.org/t/googles-willow-new-quantum-chip/123639 "2024-12-11T14:18:16Z")

</div>

Google’s Willow new quantum chip: “lends credence to the notion that quantum computation occurs in many parallel universes, in line with the idea that we live in a multiverse, a prediction first made by David Deutsch.” …

---

## [Understanding multi-dimensional array indexing performance](https://discourse.julialang.org/t/understanding-multi-dimensional-array-indexing-performance/123683)

<div class="topic-metadata">

**Author:** [@miguelborrero](https://discourse.julialang.org/u/miguelborrero)\
**Replies:** 7\
**Last updated:** [December 11, 2024, 2:11pm UTC](https://discourse.julialang.org/t/understanding-multi-dimensional-array-indexing-performance/123683 "2024-12-11T14:11:47Z")

</div>

Hi there, My understanding is that Julia chooses column-major ordering for storing a multi-dimensional array in linear memory. I was testing the performance differences of own-implemented functions that sum over the ele…

---

## [Avoiding allocations and run-time dispatch with ForwardDiff](https://discourse.julialang.org/t/avoiding-allocations-and-run-time-dispatch-with-forwarddiff/123699)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 2\
**Last updated:** [December 11, 2024, 1:29pm UTC](https://discourse.julialang.org/t/avoiding-allocations-and-run-time-dispatch-with-forwarddiff/123699 "2024-12-11T13:29:24Z")

</div>

I have an optimization problem which involves solving an ODE and finding the input to the “system” such that an objective is minimized. A MWE of a toy problem is below: import Optimization import ForwardDiff import Opti…

---

## [Flux and Metal circular dependencies in 1.10.7](https://discourse.julialang.org/t/flux-and-metal-circular-dependencies-in-1-10-7/123698)

<div class="topic-metadata">

**Author:** [@Andrea\_Pagnani](https://discourse.julialang.org/u/Andrea_Pagnani)\
**Replies:** 2\
**Last updated:** [December 11, 2024, 11:25am UTC](https://discourse.julialang.org/t/flux-and-metal-circular-dependencies-in-1-10-7/123698 "2024-12-11T11:25:16Z")

</div>

Dearests, I was inspecting my new MacBook pro M4 GPU capabilities. I created a TestMetal package on a fresh new environment in 1.10.7. I added Metal and Flux but received warnings that a circular dependency was detected…

---

## [dSpace and Julia](https://discourse.julialang.org/t/dspace-and-julia/103209)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 8\
**Last updated:** [December 11, 2024, 10:58am UTC](https://discourse.julialang.org/t/dspace-and-julia/103209 "2024-12-11T10:58:46Z")

</div>

Today I talked on a social event with a number of professors for control engineering about Matlab and Julia. They all told me, they would love to replace Matlab with Julia, but they have dSpace control hardware that only…

---

## [Nothing and type stability in kwargs](https://discourse.julialang.org/t/nothing-and-type-stability-in-kwargs/123532)

<div class="topic-metadata">

**Author:** [@kockahonza](https://discourse.julialang.org/u/kockahonza)\
**Replies:** 6\
**Last updated:** [December 11, 2024, 10:50am UTC](https://discourse.julialang.org/t/nothing-and-type-stability-in-kwargs/123532 "2024-12-11T10:50:29Z")

</div>

Hi, so this is a fairly general question, but is it possible to use Nothing without type stability related performance hits? A specific example I have now is a simple simulator where I want to implement multiple optional…

---

## [PhD in scientific computing in Augsburg](https://discourse.julialang.org/t/phd-in-scientific-computing-in-augsburg/123692)

<div class="topic-metadata">

**Author:** [@sloede](https://discourse.julialang.org/u/sloede)\
**Replies:** 0\
**Last updated:** [December 11, 2024, 7:51am UTC](https://discourse.julialang.org/t/phd-in-scientific-computing-in-augsburg/123692 "2024-12-11T07:51:40Z")

</div>

We have an open PhD position in scientific computing at the High-Performance Scientific Computing Lab at the University of Augsburg in Germany! The position involves the development of efficient methods for large-scale …

---

## [Documenter.jl - Removing unwanted versions of generated documentation in 2024](https://discourse.julialang.org/t/documenter-jl-removing-unwanted-versions-of-generated-documentation-in-2024/123690)

<div class="topic-metadata">

**Author:** [@g-gundam](https://discourse.julialang.org/u/g-gundam)\
**Replies:** 2\
**Last updated:** [December 11, 2024, 8:51am UTC](https://discourse.julialang.org/t/documenter-jl-removing-unwanted-versions-of-generated-documentation-in-2024/123690 "2024-12-11T08:51:14Z")

</div>

Backstory I made a tagging mistake that I unwisely pushed up anyway, and now there’s documentation for a non-existent version of my (unregistered) library. Home · TechnicalIndicatorCharts.jl There is no v1.2, and I…

---

## [HDF5.jl and YAXArrays.jl integration](https://discourse.julialang.org/t/hdf5-jl-and-yaxarrays-jl-integration/123674)

<div class="topic-metadata">

**Author:** [@kamilmroz12](https://discourse.julialang.org/u/kamilmroz12)\
**Replies:** 3\
**Last updated:** [December 11, 2024, 8:30am UTC](https://discourse.julialang.org/t/hdf5-jl-and-yaxarrays-jl-integration/123674 "2024-12-11T08:30:44Z")

</div>

Hi, I am working on a script to create a YAXArrays dataset from an HDF5 file. The idea is to iterate over the datasets in a selected group and combine them into a single dataset. The first issue I encountered is the ina…

---

## [LazyBridgeOptimizer not working with copy\_to](https://discourse.julialang.org/t/lazybridgeoptimizer-not-working-with-copy-to/123366)

<div class="topic-metadata">

**Author:** [@thibault-vignon](https://discourse.julialang.org/u/thibault-vignon)\
**Replies:** 9\
**Last updated:** [December 11, 2024, 7:52am UTC](https://discourse.julialang.org/t/lazybridgeoptimizer-not-working-with-copy-to/123366 "2024-12-11T07:52:39Z")

</div>

Hi, I’m writing a script in order to convert files from CBF to NL format. See example below: src = MOI.FileFormats.Model(format = MOI.FileFormats.FORMAT\_CBF); MOI.read\_from\_file(src, "path\_to\_file"); dest = MOI.FileForm…

---

## [Sorting instability issue](https://discourse.julialang.org/t/sorting-instability-issue/123660)

<div class="topic-metadata">

**Author:** [@PanT12](https://discourse.julialang.org/u/PanT12)\
**Replies:** 11\
**Last updated:** [December 11, 2024, 1:59am UTC](https://discourse.julialang.org/t/sorting-instability-issue/123660 "2024-12-11T01:59:02Z")

</div>

Hello, everyone, I work with Julia Version 1.10.2 and want to ask a question about the sorting function in Julia. Suppose I run the following code: time\_sort = zeros(100,1); for i = 1:100 n = 10^6 x0 = rand(n); tim…

---

## [Julia SEGFAULT debian](https://discourse.julialang.org/t/julia-segfault-debian/123682)

<div class="topic-metadata">

**Author:** [@alexcu2718](https://discourse.julialang.org/u/alexcu2718)\
**Replies:** 3\
**Last updated:** [December 11, 2024, 1:46am UTC](https://discourse.julialang.org/t/julia-segfault-debian/123682 "2024-12-11T01:46:16Z")

</div>

Hi all, This is a reissue of my issue from reddit: I’ve been trying to learn Julia lately, originally I was getting along pretty well. However, since I reinstalled my distro (switched from Ubuntu to Debian 12), I’ve n…

---

## [\[ANN\] GeoTIFF.jl](https://discourse.julialang.org/t/ann-geotiff-jl/123679)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 1\
**Last updated:** [December 10, 2024, 11:25pm UTC](https://discourse.julialang.org/t/ann-geotiff-jl/123679 "2024-12-10T23:25:52Z")

</div>

Load and save GeoTIFF files in native Julia with GeoTIFF.jl The package is developed on top of the incredible TiffImages.jl package by @tlnagy Examples of usage in the README:

---

## [Universal differential equations (UDE) with modern SciML stack (Lux, Enzyme, ...)](https://discourse.julialang.org/t/universal-differential-equations-ude-with-modern-sciml-stack-lux-enzyme/120869)

<div class="topic-metadata">

**Author:** [@nurban](https://discourse.julialang.org/u/nurban)\
**Replies:** 6\
**Last updated:** [December 10, 2024, 9:59pm UTC](https://discourse.julialang.org/t/universal-differential-equations-ude-with-modern-sciml-stack-lux-enzyme/120869 "2024-12-10T21:59:31Z")

</div>

I am interested in implementing training universal partial differential equation (UPDE) systems. I understand from @ChrisRackauckas that the SciML ecosystem is increasingly moving toward Lux and Enzyme. (And which opti…

---

## [Trouble importing Dataset from MLDataset using VScode](https://discourse.julialang.org/t/trouble-importing-dataset-from-mldataset-using-vscode/123585)

<div class="topic-metadata">

**Author:** [@Abhay\_Chandra](https://discourse.julialang.org/u/Abhay_Chandra)\
**Replies:** 1\
**Last updated:** [December 10, 2024, 5:57pm UTC](https://discourse.julialang.org/t/trouble-importing-dataset-from-mldataset-using-vscode/123585 "2024-12-10T17:57:59Z")

</div>

I am trying to use the CIFAR10 Dataset using the MLDataset pakage of Julia, but I confirm for confirmation to download, the REPL gets stuck(i guess), and via VS code notifications I just see this (attached below) wh…

---

## [\>= 2gb sysimages for Mac?](https://discourse.julialang.org/t/2gb-sysimages-for-mac/123672)

<div class="topic-metadata">

**Author:** [@dgleich](https://discourse.julialang.org/u/dgleich)\
**Replies:** 0\
**Last updated:** [December 10, 2024, 5:52pm UTC](https://discourse.julialang.org/t/2gb-sysimages-for-mac/123672 "2024-12-10T17:52:51Z")

</div>

Is there any limit to the size of a Julia sysimage on macOS? Currently, the answer seems to be yes… 2GB limit to sysimage size? · Issue #1019 · JuliaLang/PackageCompiler.jl · GitHub However, I’m trying to see if Julia c…

---

## [Blur image](https://discourse.julialang.org/t/blur-image/123670)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 2\
**Last updated:** [December 10, 2024, 5:34pm UTC](https://discourse.julialang.org/t/blur-image/123670 "2024-12-10T17:34:18Z")

</div>

Is there a package that can blur an image (represented as a Matrix{RGB{Float16}}, or anything similar)? No need for fancy bokeh simulation, just some basic Gaussian blur with a given radius, or whatever is fast. Asking …

[Previous page](https://discourse.julialang.org/latest.md?page=255)

[Next page](https://discourse.julialang.org/latest.md?page=257)
