Earlier quoted context omitted.
Is the performance equivalent in your scenario?
We have taken a slight performance hit, but the code is cleaner and much easier to extend.
A Differentiable Programming System to Bridge ML and Scientific Computing
11–20 of 75 posts
Re: A Differentiable Programming System to Bridge ML and Scientific Computing
#12Earlier quoted context omitted.
Does Swift have an equivalent to Python‘s numpy? It seems to lack a nice way of doing vector and matrix operations.
They built in Python interop so that you can use numpy in TFSwift
Re: A Differentiable Programming System to Bridge ML and Scientific Computing
#13Earlier quoted context omitted.
We have taken a slight performance hit, but the code is cleaner and much easier to extend.
If there's any benchmarks on the DiffEq side, feel free to reach out to us with them and we can take a crack at optimizing it. If it's something that's allowed to be shared, we'd love to add it to our DiffEqBenchmarks.jl repository to track the performance over time and understand the performance characteristics of your domain.
Any chance ya'll could eventually use a test model and script from me in a benchmark test suite.
Ex: I have a large synthetic test model from a university and plan on writing some code that uses a bunch of the sparse matrix and linear solve functionality of the language. This would be on a sparse ~70k row/column square matrix.
Re: A Differentiable Programming System to Bridge ML and Scientific Computing
#14Is this somehow similar to the new Swift Automatic Differentiation feature? https://github.com/tensorflow/swift/blob/master/docs/Automat...
Re: A Differentiable Programming System to Bridge ML and Scientific Computing
#15Earlier quoted context omitted.
If there's any benchmarks on the DiffEq side, feel free to reach out to us with them and we can take a crack at optimizing it. If it's something that's allowed to be shared, we'd love to add it to our DiffEqBenchmarks.jl repository to track the performance over time and understand the performance characteristics of your domain.
Is there a general way to do this with many of the libraries in Julia? Any chance ya'll could eventually use a test model and script from me in a benchmark test suite. Ex: I have a large synthetic test model from a university and plan on writing some code that uses a bunch of the sparse matrix and linear solve functionality of the language. This would be on a sparse ~70k row/column square matrix.
Your model sounds nice because it can use our automatic sparsity detection and matrix coloring. I'd love to give it a try.
https://github.com/JuliaDiffEq/SparseDiffTools.jl#automated-...
Re: A Differentiable Programming System to Bridge ML and Scientific Computing
#16Happy that this paper finally made it to arxiv. The biggest reason for writing it was to try and showcase some of the breadth of applications we see for really high quality first class AD support at the language level. There are several communities that need this technology, so it makes sense to try and build one system that can address all of them and share tricks. I'm also hoping this gives people a sense of why ou…
Re: A Differentiable Programming System to Bridge ML and Scientific Computing
#17Earlier quoted context omitted.
Does Swift have an equivalent to Python‘s numpy? It seems to lack a nice way of doing vector and matrix operations.
They built in Python interop so that you can use numpy in TFSwift
If you don't see the troll, that doesn't mean it isn't there, it's just waiting for you to cross.
Re: A Differentiable Programming System to Bridge ML and Scientific Computing
#18Re: A Differentiable Programming System to Bridge ML and Scientific Computing
#19Earlier quoted context omitted.
They built in Python interop so that you can use numpy in TFSwift
Doesn’t that introduce serious overhead compared to first class native arrays as in Julia or FORTRAN?
Re: A Differentiable Programming System to Bridge ML and Scientific Computing
#20Earlier quoted context omitted.
Does Swift have an equivalent to Python‘s numpy? It seems to lack a nice way of doing vector and matrix operations.
They built in Python interop so that you can use numpy in TFSwift