github.com/xjdr-alt/ent...
github.com/xjdr-alt/ent...
Performance tip of the day: use Float32 instead of Float. Turned this from unusable into almost usable. 😅
#playdate #EmbeddedSwift #mandelbrot #fractals
Performance tip of the day: use Float32 instead of Float. Turned this from unusable into almost usable. 😅
#playdate #EmbeddedSwift #mandelbrot #fractals
"... reducing from float32 (32 bits) to float16 (16 bits) or int8 (8 bits) should yield ideal 2× or 4× gains, respectively. However, such improvements are not observed in practice."
"... reducing from float32 (32 bits) to float16 (16 bits) or int8 (8 bits) should yield ideal 2× or 4× gains, respectively. However, such improvements are not observed in practice."
Kiln (0.3.0) adds float32 support, OME-Zarr v0.4, slice views and more.
github.com/MPanknin/kil...
Vibrio cholerae tomogram from CryoET Data Portal.
cryoetdataportal.czscience.com
#WebGPU #OME-Zarr #CryoET
Kiln (0.3.0) adds float32 support, OME-Zarr v0.4, slice views and more.
github.com/MPanknin/kil...
Vibrio cholerae tomogram from CryoET Data Portal.
cryoetdataportal.czscience.com
#WebGPU #OME-Zarr #CryoET
- Range, nearest-neighbor queries
- Persist indexes as bytes, reuse them later
- Supports float32 for 2x less memory
- Enables GeoParquet spatial partitioning
github.com/kylebarron/g...
- Range, nearest-neighbor queries
- Persist indexes as bytes, reuse them later
- Supports float32 for 2x less memory
- Enables GeoParquet spatial partitioning
github.com/kylebarron/g...
The model I downloaded is bfloat16. That has surprisingly poor decimal-digit precision.
If Qwen 3 was trained in float32, 814 tightly spaced vectors could totally collapse into the same point.
🤔
There is a point in Qwen 3 4B Instruct 2507's embedding space where 814 tokens all live.
These 814 tokens (out of 151,936) map to exactly the same point — their vector representations are bit-for-bit identical. The model literally can't tell them apart.
The model I downloaded is bfloat16. That has surprisingly poor decimal-digit precision.
If Qwen 3 was trained in float32, 814 tightly spaced vectors could totally collapse into the same point.
🤔
func (g *Game) Draw(screen *ebiten.Image) {
screen.Fill(g.background)
for _, ball := range g.balls {
vector.FillCircle(screen, float32(ball.X), float32(ball.Y), float32(ball.Radius), ball.color, false)
}
func (g *Game) Draw(screen *ebiten.Image) {
screen.Fill(g.background)
for _, ball := range g.balls {
vector.FillCircle(screen, float32(ball.X), float32(ball.Y), float32(ball.Radius), ball.color, false)
}
Which suggests that we might be looking at a collapse during training due to bfloat16's limited precision. If they'd trained in float32, these tokens would have been separated by a small distance.
Which suggests that we might be looking at a collapse during training due to bfloat16's limited precision. If they'd trained in float32, these tokens would have been separated by a small distance.