Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints

Liste des GroupesRevenir à col misc 
Sujet : Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints
De : Pancho.Jones (at) *nospam* proton.me (Pancho)
Groupes : comp.os.linux.misc
Date : 13. Oct 2024, 11:45:46
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <veg8cq$k36i$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
On 10/13/24 03:54, 186282@ud0s4.net wrote:

The new technique is basic—instead of using complex
floating-point multiplication (FPM), the method uses integer
addition. Apps use FPM to handle extremely large or small
numbers, allowing applications to carry out calculations
using them with extreme precision. It is also the most
energy-intensive part of AI number crunching.
 
That isn't really true. Floats can handle big and small, but the reason people use them is for simplicity.
The problem is that typical integer calculations are not closed, the result is not an integer. Addition is fine, but the result of division is typically not an integer. So if you use integers to model a problem every time you do a division (or exp, log, sin, etc) you need to make a decision about how to force the result into an integer.
Floats actually use integral values for exponent and mantissa, but they automatically make ballpark reasonable decisions about how to force the results into integral values for mantissa and exponent, meaning operations are effectively closed (ignoring exceptions).  So the programmer doesn't have to worry, so much.
Floating point ops are actually quite efficient, much less of a concern than something like a branch misprediction. A 20x speed up (energy saving) sounds close to a theoretical maximum. I would be surprised if it can be achieved in anything but a few cases.

Date Sujet#  Auteur
13 Oct 24 * Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints36186282@ud0s4.net
13 Oct 24 +* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints12Richard Kettlewell
13 Oct 24 i+* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints8The Natural Philosopher
13 Oct 24 ii`* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints7Pancho
14 Oct 24 ii `* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints6The Natural Philosopher
14 Oct 24 ii  +* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints2Computer Nerd Kev
14 Oct 24 ii  i`- Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints1The Natural Philosopher
15 Oct 24 ii  `* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints3186282@ud0s4.net
15 Oct 24 ii   `* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints2The Natural Philosopher
16 Oct 24 ii    `- Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints1186282@ud0s4.net
15 Oct 24 i`* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints3186282@ud0s4.net
15 Oct 24 i +- Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints1Mike Scott
15 Oct 24 i `- Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints1Richard Kettlewell
13 Oct 24 `* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints23Pancho
15 Oct 24  `* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints22186282@ud0s4.net
15 Oct 24   +* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints9The Natural Philosopher
16 Oct 24   i`* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints8186282@ud0s4.net
16 Oct 24   i +- Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints1Pancho
16 Oct 24   i `* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints6Richard Kettlewell
18 Oct 24   i  `* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints5186282@ud0s4.net
18 Oct 24   i   `* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints4Richard Kettlewell
18 Oct 24   i    `* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints3186282ud0s3
18 Oct 24   i     `* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints2Chris Ahlstrom
18 Oct 24   i      `- Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints1The Natural Philosopher
15 Oct 24   `* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints12rbowman
15 Oct 24    `* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints11Chris Ahlstrom
16 Oct 24     `* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints10rbowman
16 Oct 24      `* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints9186282@ud0s4.net
16 Oct 24       `* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints8Chris Ahlstrom
16 Oct 24        +* Less politics, more Linux! (was: Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints)3vallor
16 Oct 24        i`* Re: Less politics, more Linux!2Chris Ahlstrom
16 Oct 24        i `- Re: Less politics, more Linux!1vallor
16 Oct 24        +- Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints1The Natural Philosopher
16 Oct 24        `* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints3rbowman
17 Oct 24         `* Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints2Chris Ahlstrom
17 Oct 24          `- Re: Well DUH ! AI People Finally Realize They Can Ditch Most Floating-Point for Big Ints1The Natural Philosopher

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal