# TorchFort: An Online Deep Learning Interface for HPC programs on NVIDIA GPUs

**URL:** <https://fortran-lang.discourse.group/t/torchfort-an-online-deep-learning-interface-for-hpc-programs-on-nvidia-gpus/6264>\
**Category:** Announcements\
**Created:** [August 2, 2023, 9:25pm UTC](https://fortran-lang.discourse.group/t/torchfort-an-online-deep-learning-interface-for-hpc-programs-on-nvidia-gpus/6264 "2023-08-02T21:25:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![pcosta](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/pcosta/32/5504_2.png) [@pcosta](https://fortran-lang.discourse.group/u/pcosta)\
**Post date:** [August 2, 2023, 9:25pm UTC](https://fortran-lang.discourse.group/t/torchfort-an-online-deep-learning-interface-for-hpc-programs-on-nvidia-gpus/6264/1 "2023-08-02T21:25:15Z")

</div>

I think this new library may be interesting for those who want to do Deep Learning on NVIDIA GPUs directly from Fortran codes.

> **[GitHub - NVIDIA/TorchFort: An Online Deep Learning Interface for HPC programs...](https://github.com/NVIDIA/TorchFort)**
>
> An Online Deep Learning Interface for HPC programs on NVIDIA GPUs - GitHub - NVIDIA/TorchFort: An Online Deep Learning Interface for HPC programs on NVIDIA GPUs

---

<div class="post-metadata">

**Author:** ![milancurcic](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/milancurcic/32/2_2.png) [@milancurcic](https://fortran-lang.discourse.group/u/milancurcic)\
**Post date:** [August 2, 2023, 10:35pm UTC](https://fortran-lang.discourse.group/t/torchfort-an-online-deep-learning-interface-for-hpc-programs-on-nvidia-gpus/6264/2 "2023-08-02T22:35:12Z")

</div>

Thanks for posting this. There are two more similar projects (possibly less up-to-date) I’m aware of:

- [pytorch-fortran](https://github.com/alexeedm/pytorch-fortran)
- [Fortran Torch Adapter (FTA)](https://github.com/luc99hen/FTA)

When I first started [neural-fortran](https://github.com/modern-fortran/neural-fortran) in the summer of 2018, Keras (high-level API over TensorFlow) was significantly more widely used than PyTorch, and so it was my main source of inspiration, especially user API-wise. However, PyTorch has since overtaken TensorFlow in popularity, and I’ve also heard a few notable people (e.g. George Hotz, creator of [tinygrad](https://tinygrad.org/); Chris Lattner, creator of LLVM, Swift, Mojo) praise PyTorch for its design. This motivates me to study PyTorch more to better understand ML frameworks and even get inspiration for neural-fortran where applicable.

TorchFort is a very cool name for a project, but I think it was a missed opportunity to call it torch.f90. 🙂

---

<div class="post-metadata">

**Author:** ![rwmsu](https://avatars.discourse-cdn.com/v4/letter/r/48db29/32.png) [@rwmsu](https://fortran-lang.discourse.group/u/rwmsu)\
**Post date:** [August 3, 2023, 11:19am UTC](https://fortran-lang.discourse.group/t/torchfort-an-online-deep-learning-interface-for-hpc-programs-on-nvidia-gpus/6264/3 "2023-08-03T11:19:12Z")

</div>

TorchFort is a very cool name for a project, but I think it was a missed opportunity to call it torch.f90. 🙂

How about FlowTorch =\> Fortran Learning Optimized with Torch 😁

---

<div class="post-metadata">

**Author:** ![septc](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/septc/32/77_2.png) [@septc](https://fortran-lang.discourse.group/u/septc)\
**Post date:** [August 4, 2023, 11:33am UTC](https://fortran-lang.discourse.group/t/torchfort-an-online-deep-learning-interface-for-hpc-programs-on-nvidia-gpus/6264/4 "2023-08-04T11:33:40Z")

</div>

Thanks for sharing the info, it looks interesting 🔦 💡

Btw, I’ve also come across this post (probably related to the above library).

- [Massimiliano Fatica on LinkedIn: #deeplearning #deeplearning | 13 comments](https://www.linkedin.com/posts/massimiliano-fatica-616138_deeplearning-activity-7075875287770513408-4KYx)

Though I have no idea about the background, I feel that review processes are sometimes essentially “broken” (because of politics/preference/conflict of interest (?), etc, etc, …)

---

<div class="post-metadata">

**Author:** ![pcosta](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/pcosta/32/5504_2.png) [@pcosta](https://fortran-lang.discourse.group/u/pcosta)\
**Post date:** [August 9, 2023, 8:15am UTC](https://fortran-lang.discourse.group/t/torchfort-an-online-deep-learning-interface-for-hpc-programs-on-nvidia-gpus/6264/5 "2023-08-09T08:15:31Z")

</div>

Indeed, definitely related and a very bizarre example of when badly managed peer-review can hurt researchers ☹

---

<div class="post-metadata">

**Author:** ![FLNewbiee](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/flnewbiee/32/2155_2.png) [@FLNewbiee](https://fortran-lang.discourse.group/u/FLNewbiee)\
**Post date:** [August 12, 2023, 4:43pm UTC](https://fortran-lang.discourse.group/t/torchfort-an-online-deep-learning-interface-for-hpc-programs-on-nvidia-gpus/6264/6 "2023-08-12T16:43:25Z")

</div>

Why not the easiest and simplest _FoTorch_?

---

<div class="post-metadata">

**Author:** ![FLNewbiee](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/flnewbiee/32/2155_2.png) [@FLNewbiee](https://fortran-lang.discourse.group/u/FLNewbiee)\
**Post date:** [August 12, 2023, 4:51pm UTC](https://fortran-lang.discourse.group/t/torchfort-an-online-deep-learning-interface-for-hpc-programs-on-nvidia-gpus/6264/7 "2023-08-12T16:51:46Z")

</div>

> [@milancurcic](#):
>
> TorchFort is a very cool name for a project, but I think it was a missed opportunity to call it torch.f90. 🙂

Both might be the worst choices. 🤔 I could never imagine that naming would be a kind of art, too. Name is a symbol more than just a character string. 😉😀
