10x Faster Than NumPy (GPU Magnet Simulation)

Поділитися
Вставка
  • Опубліковано 14 гру 2024

КОМЕНТАРІ • 22

  • @markusbuchholz3518
    @markusbuchholz3518 Рік тому +17

    You are an exceptional and distinctive individual, and your channel has been instrumental in helping numerous people appreciate advanced concepts in physics and mathematics. Although my primary area of expertise is in software applied in the robotics field, your channel has opened my mind to think beyond my usual scope. Thank you for your contributions, and I wish you all the best in achieving your goals. Have a good day!

  • @wafflenuno
    @wafflenuno Рік тому +5

    Super cool series so far! I've wanted to get into GPU computing for a while, but as a grad physics student, the books on this seemed so dense and lacking in scientific computing. This series is a whole lot easier to get through. Thank you for the great video!

  • @Nabla_Squared
    @Nabla_Squared Рік тому +3

    I love this series, I made 2D Ising model in C++ with metropolis but other implementation. And for 300x300 spins, and 300.000 steps in time, take like 20 minutes to run. So this implementation in python is impressive more faster. Maybe I'm going to use that code to the final protect of the simulation course.
    Thanks for all this work for us!

    • @Ricocossa1
      @Ricocossa1 Рік тому

      You can also do cuda/openCL with C++ if you like C++. Torch is nice for doing all that under the hood.

    • @Nabla_Squared
      @Nabla_Squared Рік тому

      @@Ricocossa1 yeah, I know that, but I don't know nothing about cuda already, and this python code use the same power but in a pretty simple way. So until I learn cuda, this is the best option

  • @panoskotoulas759
    @panoskotoulas759 Рік тому +3

    Me crying while my laptop is burning and the kernels are dying when he mentions that "most people have access to a GPU these days"

  • @haldanesghost
    @haldanesghost Рік тому

    The Ising model sometimes makes its way into evolutionary biology (spin glasses in general tbqh). Thanks for covering this in general along with the implementation!

  • @stephenowinoomondi-si8mk
    @stephenowinoomondi-si8mk Рік тому

    Cool science and coding. I love your channel man. keep doing this, we learn a lot

  • @jasperpostema7098
    @jasperpostema7098 8 місяців тому

    How could you use the kernel convolution in case of the Random Bond Ising model, where bonds are +J or -J according to some probability distribution function?

  • @varunahlawat9013
    @varunahlawat9013 Рік тому

    4:14
    Bro is hitting gym daily!

  • @HitAndMissLab
    @HitAndMissLab Рік тому

    Can this simulation be done to actually match real world magnetic materials?
    What one needs to do so he can simulate behaving various materials in the magnetic field?

  • @renzostefanmp7937
    @renzostefanmp7937 Рік тому

    Can we do this on a Colab premium account?

  • @ItumelengS
    @ItumelengS Рік тому

    Not going to use it, but my word, this was some interesting topic

  • @AJ-et3vf
    @AJ-et3vf Рік тому

    Great video 📷📸 thank you 👍😊

  • @WasimAbdul_1994
    @WasimAbdul_1994 Рік тому

    I tried i::4, j::4 but that does not work. can you help me understand why?

  • @fxtech-art8242
    @fxtech-art8242 Рік тому

    cool stuff

  • @alizia1847
    @alizia1847 3 дні тому

    Bro. Use cupy!

  • @jdcrunchman999
    @jdcrunchman999 Рік тому

    I made it to the end of the video, I'm just trying to understand the math. It's a little beyond me, so it looks like I got to visit 3brown1blue some more to learn more math. I'm using an M1 Mac. Not sure how fast it will run.

  • @arunsebastian4035
    @arunsebastian4035 Рік тому

    😍