# Is Julia Falling Behind in Relevance? (because it's not used in LLM research?)

**URL:** <https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048>\
**Category:** Offtopic\
**Created:** [May 18, 2023, 9:02am UTC](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048 "2023-05-18T09:02:16Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![mcreel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mcreel/32/30088_2.png) [@mcreel](https://discourse.julialang.org/u/mcreel)\
**Post date:** [May 18, 2023, 12:50pm UTC](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048/21 "2023-05-18T12:50:29Z")

</div>

There is stuff in Julia, for example:

> **[GitHub - chengchingwen/Transformers.jl: Julia Implementation of Transformer...](https://github.com/chengchingwen/Transformers.jl)**
>
> Julia Implementation of Transformer models. Contribute to chengchingwen/Transformers.jl development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)\
**Post date:** [May 18, 2023, 12:51pm UTC](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048/22 "2023-05-18T12:51:06Z")

</div>

> [@nilshg](#):
>
> From our previous interactions I seem to recall that you are an economics/finance academic using Julia for research and teaching purposes? I don’t really see how other people building LLMs in other languages has any impact on that?

I do not like to limit my inquiry [I have lately explored building LLM - type models for jazz improvisational styles]

---

<div class="post-metadata">

**Author:** ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)\
**Post date:** [May 18, 2023, 12:54pm UTC](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048/23 "2023-05-18T12:54:03Z")

</div>

> [@mcreel](#):
>
> There is stuff in Julia, for example:

Thank you for this. I did see this, but am not at the level to be able to make use of this yet - maybe as I get more knowledgeable.

---

<div class="post-metadata">

**Author:** ![johnmyleswhite](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johnmyleswhite/32/31_2.png) [@johnmyleswhite](https://discourse.julialang.org/u/johnmyleswhite)\
**Post date:** [May 18, 2023, 12:59pm UTC](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048/24 "2023-05-18T12:59:31Z")

</div>

I feel like this thread is going to go on for a very long time but not get much beyond three true observations:

1. Julia is not the dominant language for deep learning and is unlikely to become it soon. Those who want to work in deep learning are often better off using Python, the dominant language.
2. The ability to make use in language L of capabilities built using deep learning does not depend on language L being the dominant language for deep learning.
3. There is interesting programming work outside of deep learning that Julia is contributing to.

---

<div class="post-metadata">

**Author:** ![mrufsvold](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mrufsvold/32/31600_2.png) [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Post date:** [May 18, 2023, 1:14pm UTC](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048/25 "2023-05-18T13:14:00Z")

</div>

1. 

> [@lmiq](#):
>
> In the future we’ll all be dead.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [May 18, 2023, 1:19pm UTC](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048/26 "2023-05-18T13:19:36Z")

</div>

> [@compleat](#):
>
> I believe that LLMs will become the dominant way in which humans interact with computers in the future […] To prevaricate on this (imo) could end up leaving Julia in the ‘niche’ category

This does not follow. Consider the following:

1. at the moment most people who are not programmers interact with computers via some GUI,
2. Julia could not be described as having a comparative advantage in writing GUIs, even by people who otherwise love the language,
3. yet Julia widely used for scientific computing.

You are confusing user interfaces with programming languages. Some languages have a comparative advantage in implementing user interfaces, but this itself is a relatively niche area and mostly taken over by “toolkits”, to which languages can bind to.

---

<div class="post-metadata">

**Author:** ![LaurentPlagne](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/laurentplagne/32/10103_2.png) [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Post date:** [May 18, 2023, 2:34pm UTC](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048/27 "2023-05-18T14:34:56Z")

</div>

The applications of Large Language Models are impressive but I feel that the impact of this field on global energy consumption deserves to be seriously questioned. We are no longer talking about a few 10^4 (10^5?) HPC simulation designers/users who can, through their applications (e.g. Climate Simulation) easily find their justification. We are talking about 10^9 humans who can use computationally intensive means (GPU/TPU) on a daily basis for subtitling or automatic translation of a youtube video (for example).

This is all very fun (like everyone else I played with copilot and so on) but it seemed to me that the global energy consumption was a primary issue that should form the framework of our judgement on the emergence of this or that innovation, as amazing as it is.

To stay in the realm of amazement: I am literally flabbergasted that one can imagine that the field of Large Language Models is close to a hegemonic situation in the whole of scientific research.

Translated by a famous LLMs engine from French 😉

_Les applications des Grands Modèles de Langage sont impressionnantes mais j’ai le sentiment que l’impact de ce domaine sur la consommation énergétique mondiale mérite d’être sérieusement questionné. On ne parle plus ici de quelques 10^4 (10^5 ?) concepteurs/utilisateurs de simulation HPC qui peuvent, par leur applications (p.ex. Simulation du Climat) trouver facilement leur justification. On parle ici de 10^9 humains qui peuvent utiliser quotidiennement des moyens de calcul intensifs (GPU/TPU) pour un sous-titrage ou une traduction automatique d’une vidéo youtube (par exemple)._

_Tout ça est très fun (comme tout le monde j’ai joué avec copilot et consorts) mais il m’a semblé que la consommation énergétique globale était un enjeu premier qui devrait former le cadre de notre jugement sur l’émergence de telle ou telle innovation aussi stupéfiante soit-elle._

_Pour rester dans le domaine de la stupéfaction : je suis littéralement sidéré qu’on puisse imaginer que le domaine des Grands Modèles de Langage soit proche d’une situation hégémonique dans l’ensemble de la recherche scientifique._

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [May 18, 2023, 2:42pm UTC](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048/28 "2023-05-18T14:42:11Z")

</div>

Can someone give an estimate on how much energy your translation/post has consumed? Like in “typical energy used for km with a car?”, some unit I can easily comprehend even if it is very inaccurate?  
Serious question!

---

<div class="post-metadata">

**Author:** ![LaurentPlagne](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/laurentplagne/32/10103_2.png) [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Post date:** [May 18, 2023, 2:55pm UTC](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048/29 "2023-05-18T14:55:41Z")

</div>

I am clearly not a specialist of this topic (but I do use GPUs). Anyway “Large Model” is meaningful and this implies to access a large number of data for inference (the training is probably negligible).

I am pretty sure that this forum can provide a good estimate.

A first link from google.

> **[ChatGPT’s Electricity Consumption](https://towardsdatascience.com/chatgpts-electricity-consumption-7873483feac4)**
>
> ChatGPT may have consumed as much electricity as 175,000 people in January 2023.

---

<div class="post-metadata">

**Author:** ![g2g](https://avatars.discourse-cdn.com/v4/letter/g/41988e/32.png) [@g2g](https://discourse.julialang.org/u/g2g)\
**Post date:** [May 18, 2023, 3:05pm UTC](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048/30 "2023-05-18T15:05:00Z")

</div>

> [@compleat](#):
>
> What I am talking about appears to have even taken Hinton by surprise.

You may be interested in what a couple other prominent AI researchers think about LLMs. In [this video](https://youtu.be/BY9KV8uCtj4?t=450) of a conversation between Yann LeCun and Andrew Ng, Yann says

> We as humans are very language oriented. We think that when something is fluent it is also intelligent, but that’s not true and those systems have a very superficial understanding of reality.

An “understanding of reality” requires a mental model of the world. As far as I can tell, Julia would be good at that sort of modeling.

---

<div class="post-metadata">

**Author:** ![Amval](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/amval/32/6217_2.png) [@Amval](https://discourse.julialang.org/u/Amval)\
**Post date:** [May 18, 2023, 4:40pm UTC](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048/31 "2023-05-18T16:40:06Z")

</div>

Are LLMs the new kid on the blockchain?

In all seriousness, LLMs have a lot of promise in terms of usefulness. However, it seems largely irrelevant in which language they are written. Plus, one could argue they are _barely_ written in Python anyway. There’s a lot of movement in the open source community regarding models. But I think, at some point they will be a commodity.

---

<div class="post-metadata">

**Author:** ![rikh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rikh/32/204104_2.png) [@rikh](https://discourse.julialang.org/u/rikh)\
**Post date:** [May 18, 2023, 5:25pm UTC](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048/32 "2023-05-18T17:25:58Z")

</div>

> [@LaurentPlagne](#):
>
> The applications of Large Language Models are impressive but I feel that the impact of this field on global energy consumption deserves to be seriously questioned.

The consumption is not so bad if you look at what a human requires for say 30 minutes of work. For that work, a person needs transport, previous education, communication, entertainment and sometimes medical support.

More generally, I think there is a bright future ahead for computing. Just think about it: what if everything around us is 10 times better software wise? It’s likely that it will happen because just go back 10 years in time and you would never have imagined how things look nowadays. Also, Moore’s law and Dennard scaling slowed down, so software engineers will have to work harder to keep performance improvements going. Julia has a nice place for performance related research since there is a lot of flexibility for compiler-related work (e.g., Julia’s SIMD implementation which was just bolted on if I understand correctly).

Will all this work be done by LLVM’s some day? Yes maybe some day. However not today yet.

---

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [May 18, 2023, 5:28pm UTC](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048/33 "2023-05-18T17:28:22Z")

</div>

> [@rikh](#):
>
> Just think about it: what if everything around us is 10 times better software wise? It’s likely that it will happen because just go back 10 years in time and you would never have imagined how things look nowadays.

 ![image](https://global.discourse-cdn.com/julialang/original/3X/b/a/ba2456cb5129635e06682953d5a5c9aba3257c61.jpeg)

---

<div class="post-metadata">

**Author:** ![rikh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rikh/32/204104_2.png) [@rikh](https://discourse.julialang.org/u/rikh)\
**Post date:** [May 18, 2023, 6:41pm UTC](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048/34 "2023-05-18T18:41:28Z")

</div>

Yes it’s easy to point out the bad sides, but there are also many good sides. Things have gotten much better in transport, medicine and entertainment. We can now learn arcane topics via YouTube or have a smooth video calls across the world for example. Whether one wastes their life on social media is a choice.

---

<div class="post-metadata">

**Author:** ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)\
**Post date:** [May 18, 2023, 7:24pm UTC](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048/35 "2023-05-18T19:24:57Z")

</div>

The fact that people have chosen to mock and ridicule me for asking a simple question on here is unfortunate, and telling. I may be wrong, but I don’t think the surprising impact LLM’s have had in the past six months is a ‘flash in the pan’. [I remember when people mocked Deep Learning as ‘hype’]  
I think that if Julia developers fail to make a concerted effort to catch up in this area, Julia could end up as a mere novelty footnote in the annals of computing history (akin to APL - elegant, but ephemeral).

---

<div class="post-metadata">

**Author:** ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Post date:** [May 18, 2023, 7:42pm UTC](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048/36 "2023-05-18T19:42:07Z")

</div>

@compleat I see very little hint of mockery or ridicule here besides one sarcastic quip. What I see is quite a bit of earnest engagement to a fairly provocative post. Please read folks’ writings here assuming the best of intentions here — and if you see something that rubs you the wrong way, please flag it for moderator attention.

---

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [May 18, 2023, 7:56pm UTC](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048/37 "2023-05-18T19:56:37Z")

</div>

If that was me, sorry, I was just taking the thread with ease. I do think though that these long term anguish about the future of languages is a bit exaggerated. If we are using Julia now it is because, now, it is useful and pleasant.

---

<div class="post-metadata">

**Author:** ![rikh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rikh/32/204104_2.png) [@rikh](https://discourse.julialang.org/u/rikh)\
**Post date:** [May 18, 2023, 8:14pm UTC](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048/38 "2023-05-18T20:14:11Z")

</div>

> [@compleat](#):
>
> Over the past several years, I have been (happily) moving more and more of my work to the Julia ecosystem, but I see that plan has suddenly been dropped on its head, as there seem to be no serious development tools or packages for LLM’s in Julia (that I know of),

If I may say something about this upon re-reading. Irregardless of whether Julia is the right language, learning one language made me better at other languages. But yes, I also sometimes jealously look at the number of stars at some new shiny Python package.

---

<div class="post-metadata">

**Author:** ![jlapeyre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jlapeyre/32/4514_2.png) [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Post date:** [May 18, 2023, 8:28pm UTC](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048/39 "2023-05-18T20:28:15Z")

</div>

Well there was the quip about how we’re always hearing flat screen TVs are around the corner and they never arrive. That could be interpreted as a bit of a jab, but it was a point in your favor. Sarcasm can be concise and effective, but unfortunately also offensive. In any case, aside from the title that seemed to generalize too much, the question of the relevance of Julia in light of the public LLMs is legitimate, and not unreasonable to raise.

---

<div class="post-metadata">

**Author:** ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)\
**Post date:** [May 18, 2023, 8:45pm UTC](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048/40 "2023-05-18T20:45:23Z")

</div>

> [@jlapeyre](#):
>
> In any case, aside from the title that seemed to generalize too much, the question of the relevance of Julia in light of the public LLMs is legitimate, and not unreasonable to raise.

Thank you [noted about the possibly ‘over-generalised’ title]

[Previous page](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048.md?page=1)

[Next page](https://discourse.julialang.org/t/is-julia-falling-behind-in-relevance-because-its-not-used-in-llm-research/99048.md?page=3)
