# Found Bug in Flux

**URL:** <https://discourse.julialang.org/t/found-bug-in-flux/83483>\
**Category:** General Usage\
**Tags:** question, package, bug, flux\
**Created:** [June 28, 2022, 9:04pm UTC](https://discourse.julialang.org/t/found-bug-in-flux/83483 "2022-06-28T21:04:17Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Jack\_N](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jack_n/32/37265_2.png) [@Jack\_N](https://discourse.julialang.org/u/Jack_N)\
**Post date:** [June 30, 2022, 4:58am UTC](https://discourse.julialang.org/t/found-bug-in-flux/83483/5 "2022-06-30T04:58:42Z")

</div>

Thank you for your response. Unfortunately I cannot go into the details of the data but I can try to give you some more clarity. As mentioned in my original post here [How to take full advantage of GPU Parallelism on Nested Sequential Data in Flux - #4 by jonathan-laurent](https://discourse.julialang.org/t/how-to-take-full-advantage-of-gpu-parallelism-on-nested-sequential-data-in-flux/83128/4), I have data in the form of sequences of sequences which I would like to analyze. While I could probably just concatenate the sub-sequences and process with only one recurrent model as one sequence, I believe that the model structure I have chosen will much better be able to follow the structure of my data.

I appreciate your advice to use a more common approach, but my main question now is simply, how I can process the columns of 2D slices of 3D data one slice at a time in a Flux model chain which still allows for the gradient to be computed and takes advantage of processing each column of the slice in parallel on a GPU?

I believe that my initial MWE on this post clearly shows the data manipulation I am trying to do with 3D data. I would greatly appreciate it if you could give me some direction on how to implement that in a way in which the gradient can be computed and which can be computed taking advantage of the GPU. Then I should be able to apply that to my full model chain!

Thank you for your help,

Jack

---

_[View the full topic](https://discourse.julialang.org/t/found-bug-in-flux/83483)._
