News for hackers. Stuff that matters.

boywitharupee

Re:GPU Offload in Rust: Portable, Safe, and Fast on Monday August 17, 2026 @05:12PM (#49337725)
is this mainly about making host binaries self-contained for heterogenous workloads?

also, seems like this is mostly targeted towards HPC audience?

Re:Bonsai: Janestreet's UI Library on Tuesday August 04, 2026 @10:15AM (#49169333)
> has been looping indefinitely

this can mean WebContent process is crashing

Re:NASA Force on Friday April 17, 2026 @01:50PM (#47808608)
the timer and urgency of this reminds me of the movie Armageddon where they had limited time to form a crew for a space mission.
Re:NanoClaw Moved from Apple Containers to Docker on Sunday February 22, 2026 @03:06PM (#47114151)
they have a watchdog loop, it runs periodically
Re:CUDA Tile Open Sourced on Thursday December 25, 2025 @04:03PM (#46387032)
shouldn't the title be "CUDA Tile IR Open Sourced"?
Re:Faster, easier 2D vector rendering [video] on Thursday June 12, 2025 @11:52PM (#44265597)
is there a document or reference implementation that describes the full algorithm? tiling, sorting, merging, and strip conversion.
> In C++, it's an rvalue reference , which can be effectively thought of as an lvalue

hmm...this doesn't sound quite right? the comma operator's result in C++ is not an rvalue reference - it takes on exactly the value category of its right operand (which in this case is an lvalue)

Re:ThunderKittens: Simple, Fast, and Adorable AI Kernels on Wednesday October 30, 2024 @08:33PM (#42002206)
so, these are hand optimized primitives for specific model of nvidia gpus? do you still have to make launch/scheduling decisions to maximize occupancy? how does this approach scale to other target devices with specialized instruction sets and different architecture?
Re:Tracy: A real time, nanosecond resolution frame profiler on Tuesday September 24, 2024 @07:54AM (#41635556)
can someone explain how is profiling tools like this written for GPU applications? wouldn't you need access to internal runtime api?

for ex. Apple wraps Metal buffers as "Debug" buffers to record allocations/deallocations.

what kind of model architecture was used for this? is it safe to assume they used a transformer model or a variant of it?
Re:Fitting an Elephant with Four Non-Zero Parameters on Sunday July 14, 2024 @01:16PM (#40962107)
what's the purpose of this? is it one of those 'fun' problems to solve?
Re:GraphRAG (from Microsoft) is now open-source! on Tuesday July 02, 2024 @02:35PM (#40859280)
how different is this compared to Facebook's open-source tool Faiss[1]?

[1] https://github.com/facebookresearch/faiss/

In a similar fashion, you'll see that JAX has frontend code being open-sourced, while device-related code is distributed as binaries. For example, if you're on Google's TPU, you'll see libtpu.so, and on macOS, you'll see pjrt_plugin_metal_1.x.dylib.

The main optimizations (scheduler, vectorizer, etc.) are hidden behind these shared libraries. If open-sourced, they might reveal hints about proprietary algorithms and provide clues to various hardware components, which could potentially be exploited.

> At runtime, C&P generates executable code by copying the object code and patching the holes with runtime known values.

how would this work on OSs under hardened runtime rules?

Re:Show HN: Get paid to do your own ML research on Monday May 27, 2024 @11:05PM (#40496957)
will you also provide compute resources?
how would you compare this to the polytope model? https://en.wikipedia.org/wiki/Polytope_model
and is Griffin a state space model?
Re:ClangQL: A tool to run SQL-like query on C/C++ Code on Monday April 08, 2024 @12:11PM (#39971154)
i wonder if we can train a foundational model on this data which will eventually allow to semantically search the codebase?
what's the memory and compute requirements for this?
Re:LLaMA Now Goes Faster on CPUs on Monday April 01, 2024 @10:20AM (#39894423)
but which model to tokenize with? is there a leaderboard for models that are good for RAG?
Re:Tiny bitfield based text renderer (2022) on Saturday March 16, 2024 @12:24AM (#39723373)
is this known as a procedural generation?
Re:Building Meta’s GenAI Infrastructure on Tuesday March 12, 2024 @09:16PM (#39686982)
care to explain why attention has precision issues with fp8?
Re:Python 3.13 Gets a JIT on Wednesday January 10, 2024 @01:22PM (#38941503)
the title seems like a misnomer.

shouldn't this be "python 3.13 gets a new jit compiler" because python already has a jit.

Re:MLX: An array framework for Apple Silicon on Wednesday December 06, 2023 @07:04PM (#38551179)
JAX is a wrapper on top of XLA. Instead of writing pure python, you're writing JAX abstractions.

for ex, a simple loop in JAX:

  def solve(i, v): return i+v
  x = jax.lax.fori_loop(0, 5, solve, 10)
Re:Write shaders for the (sim) Vegas sphere on Thursday November 30, 2023 @12:11PM (#38475996)
> what the Komoglorov complexity of "NSFW GLSL Content" is

can you explain what you mean by above?

Re:Llamafile lets you distribute and run LLMs with a single file on Thursday November 30, 2023 @02:45AM (#38470817)
currently, on apple silicon "GPU" <> "Metal" are synonymous.

yes, there are other apis (opengl,opencl) to access the gpu but they're all deprecated.

technically, yes, this is using Metal.

in tinygrad, the llama2 model with Metal runtime produces 1k kernels. this means we have to compile them all, leading to both startup and runtime costs from repeated compilations and buffer bindings. someone suggested using one megakernel to call the rest. could dynamic partitioning help here?

Older »