Under the Wire: Nearly HPC News (Aug 22)

By Doug Eadline

August 22, 2024

There has been a bit of delay after our initial launch of Under the Wire. We decided to create some cutting-edge graphics, produce a concurrent video blog, and squeeze in some vacation time since the first installment. Now that all this is in place, the UTW installments should show up at least twice a month.

The accompanying video blog will highlight the topics in each installment and show up within a week of the written article (or sooner).

On to the topics that may have slipped under the wire.

Free as in AI Beer

We all know the free software movement has dramatically affected HPC. From the Linux plumbing to the MPI-based applications, open source continues to fuel HPC growth. Early on, the concept of open-source software was confusing to many users. The “free as in speech” is a matter of liberty, not price, and it was the underlying “freedom” that was emphasized. Support and packaging notwithstanding, freely available source code also means the software (actually source code) is available for free, as in “free beer.”

For the most part, we had this all worked out, but when it comes to GenAI, the confusion is back. First, let’s assume I create a company and call it “OpenPizza” and produce some really good pizza. I decided to give free samples, but you must pay me if you want to serve my pizza in your restaurant.

Since I called it “open,” you would think the recipe would be openly available so people could see what was in my culinary masterpiece. Of course, someone could copy my creation, and I might trademark the name or realize that the pizza is also a gateway to upsell other items on the menu. But that is not going to happen. Not Free as in speech, not free as in beer, just free as in sample.

Moving on to the “open” LLMs, consider Llama3 from Meta. This LLM is available in various sizes, from huge GPU clusters to many low-power devices (even cell phones). Llama and thousands of other models are available from HuggingFace. These models are often called “open source” because they provide the model weights (the data that directs the model), but in reality, the data used to train the model is not available. A better name is probably “open weights” model. Open-weight models have some freedom because you have access to the full set of weights and can fine-tune or continue the pre-training run. Releasing the weights is a good start, but it does not give someone the freedom to fully recreate your model.

There are many practical issues with training data access. First, the data set is huge and will not fit on my new notebook, and the sysadmin will not like me downloading over 15 trillion tokens and requesting all the GPUs in the cluster for six months. That is not to say some organizations would not be interested in such an opportunity.

There are openly available training data sets and full instructions on creating your own LLM. The Olmo project provides models with full model weights, training code, training logs, training metrics in the form, and inference code. The training data is available as Dolma, an open dataset from a diverse mix of web content, academic publications, code, books, and comprehensive materials.

The Allen Institute for AI (AI2) recently released OLMo 7B, a truly open, state-of-the-art large language model that includes access to the pre-training data and training code. This project empowers researchers and developers to use the best and most open models to advance the open science of language models. (i.e., someone has to figure out what is going on in those GPUs)

Finally, I want to emphasize that I’m not advocating that anyone open or close their LLM; that is your choice; what I am asking is for better use of the terms “Open” and “Open Source.” We took 20 years to kind of figure those out. Let’s move forward in a good way. I am also available to discuss this further (free as in speech) over a beverage (free as in beer) and some OpenPizza.

[Update (23-Aug): Right after this article was posted, I found this news in my mailbox: We finally have a definition for open-source AI. A good start.]

A Good Thing™

Another story that may have slipped under the wire comes from super-site Phoronix. In a July story, Michael Larabel discusses “Device Memory TCP Nears The Finish Line For More Efficient Networked Accelerators“. Of course not something most people discuss at the summer picnic, yet it is important for many HPC users.

As mentioned in the article, Google engineers posted experimental Linux code for Device Memory TCP for more efficient transferring of data from GPUs/accelerators to network devices without going through a host CPU memory buffer.

Device Memory TCP (Devmem TCP) is a Linux kernel feature that transfers data to/from device memory without copying data through a host memory buffer. Many highly interconnected HPC systems that use TPUs, GPUs, NPUs, and other accelerator device types must use system memory to buffer data. Devmem TCP aims to avoid memory copies through the host system memory when sending or receiving data from those discrete devices across the network.

Suppose a GPU on one server needs to communicate with a GPU on another. In that case, the communication over standard TCP (meaning it is designed for Ethernet-based clusters) will bypass the kernel and allow direct reads and writes to the device. This process is very similar to what InfiniBand does so well — direct memory transfer from application to applicant without introducing any kernel overhead. Expect things to get faster.

We are going to give this feature a Martha Stewart “Good Thing™” acknowledgment. Nice work.

Fortran, Why Yes Fortran

I recently came across a paper about the Portability of Fortran’s DO CONCURRENT on GPUs. For those who may not know (or have forgotten), the DO CONCURRENT construct was introduced in ISO Fortran 2008. It tells the compiler that the iterations of the DO CONCURRENT loop are independent and can be executed in parallel (that means speed-up). It would also be nice if the compiler could target GPUs as parallel acceleration devices.

As the paper points out, there is a continuing interest in using standard languages like Fortran for accelerated computing to avoid hardware-specific vendor APIs. The DO CONCURRENT (DC) loop has been successfully demonstrated for Fortran codes on the Nvidia platforms. However, support for DC on other hardware platforms has taken longer to implement. Recently, both HPE (for AMD APIs) and Intel (for Intel APIs) have added DC GPU offload support to their compilers.

Example DC loop in the HipFT code. It computes the diffusion operator matrix-vector product for internal grid points.

The paper explores the current portability of using DC across GPU vendors using a production solar surface flux evolution code, HipFT. The authors discuss implementation and compilation details, including when/where using directive APIs for data movement is needed/desired compared to using a unified memory system. Performance results for both data center and consumer platforms are provided.

A few points to consider. First, hiding hardware APIs has earned today’s second “Good Thing™” award. Hiding APIs means codes become more portable, and we all like to move our codes from one hardware platform to another.

Second, looking at the authors, the following companies contributed: Predictive Science Inc., Nvidia, AMD, Intel, and HPE. Talk about playing nice. This kind of cooperation is notable, and it benefits the HPC community in a big way.

Rust Never Sleeps

The Rust language has been in the news lately, and I thought I would be one of the many tech writers who would drop the Neil Young Album as a sub-title. (Note: I also want to point out that, you know, I was there, man, back in the 70s, so from what I remember, it was all pretty cool, so I figure that gives me some kind of special license to use that sub-tile, but I digress)

The reason I am bringing up Rust is the recent announcement “DARPA: Translating All C to Rust (TRACTOR)“. Gulp. As stated on the page:

“After more than two decades of grappling with memory safety issues in C and C++, the software engineering community has reached a consensus. It’s not enough to rely on bug-finding tools. The preferred approach is to use “safe” programming languages that can reject unsafe programs at compile time, thereby preventing the emergence of memory safety issues.

The TRACTOR program aims to automate the translation of legacy C code to Rust. The goal is to achieve the same quality and style that a skilled Rust developer would produce, thereby eliminating the entire class of memory safety security vulnerabilities present in C programs. This program may involve novel combinations of software analysis, such as static analysis and dynamic analysis, and machine learning techniques like large language models.”

Rust Programming Language

Breathe, Doug, Breathe. Let’s break this down. First, memory-safe Rust is a good idea, C is great, and it takes some skill. I consider it a universal assembly language because it is low-level and portable across most hardware. It can also be like juggling chainsaws at times. Some people can juggle software chainsaws, but many security issues we encounter result from one of these chainsaws still flipping around in the air due to mistakes or inexperience.

Rust is now used in the Linux kernel, and it is growing fast. It provides a way to create “memory-safe programs (those that can’t be caused to let the bad guys in, no chainsaws). DARPA has good reason to want better security; the D stands for “defense.”

Going forward, using Rust is a great idea and should be considered for any new project. The announcement, however, was for tools to translate existing C code to Rust. The “existing” part is what has me hyperventilating.

I spent part of my career working on a tool that converted Fortran 77 to Fortran 77 with MPI calls. The project worked and taught us some interesting ideas about software conversion.

  1. Parsing Fortran 77 code is hard. You would not believe how some people write code. (I take that back; you probably would.) Of course, it would compile, but we were looking beyond basic compiler structures.
  2. Once parsed, there is no guarantee that what you discovered makes any sense, does not have bugs (bugs can manifest differently in different languages), or is efficient.
  3. We were asked about translating C code. The conversation was short and usually started and ended with one word, “pointers” (Fortran 77 has no such “feature.”).

A mandate to convert all DARPA-managed HPC C-based codes into Rust is a scary proposition. At this point, I don’t think there is a magic bullet even with the current level of GenAI; my Rust Never Sleeps hallucinations are going to be pretty tame compared to a code conversion LLM trained on all that 70’s C code scraped from the Internet.

Converting everything to Rust is a noble goal, but it may need to be thought through a bit more over some free AI beer.

 

 

Subscribe to HPCwire's Weekly Update!

Be the most informed person in the room! Stay ahead of the tech trends with industry updates delivered to you every week!

Argonne’s HPC/AI User Forum Wrap Up

September 11, 2024

As fans of this publication will already know, AI is everywhere. We hear about it in the news, at work, and in our daily lives. It’s such a revolutionary technology that even established events focusing on HPC specific Read more…

Quantum Software Specialist Q-CTRL Inks Deals with IBM, Rigetti, Oxford, and Diraq

September 10, 2024

Q-CTRL, the Australia-based start-up focusing on quantum infrastructure software, today announced that its performance-management software, Fire Opal, will be natively integrated into four of the world's most advanced qu Read more…

Computing-Driven Medicine: Sleeping Better with HPC

September 10, 2024

As a senior undergraduate student at Fisk University in Nashville, Tenn., Ifrah Khurram's calculus professor, Dr. Sanjukta Hota, encouraged her to apply for the Sustainable Research Pathways Program (SRP). SRP was create Read more…

LLNL Engineers Harness Machine Learning to Unlock New Possibilities in Lattice Structures

September 9, 2024

Lattice structures, characterized by their complex patterns and hierarchical designs, offer immense potential across various industries, including automotive, aerospace, and biomedical engineering. With their outstand Read more…

NSF-Funded Data Fabric Takes Flight

September 5, 2024

The data fabric has emerged as an enterprise data management pattern for companies that struggle to provide large teams of users with access to well-managed, integrated, and secured data. Now scientists working at univer Read more…

xAI Colossus: The Elon Project

September 5, 2024

Elon Musk's xAI cluster, named Colossus (possibly after the 1970 movie about a massive computer that does not end well), has been brought online. Musk recently posted the following on X/Twitter: "This weekend, the @xA Read more…

Shutterstock 793611091

Argonne’s HPC/AI User Forum Wrap Up

September 11, 2024

As fans of this publication will already know, AI is everywhere. We hear about it in the news, at work, and in our daily lives. It’s such a revolutionary tech Read more…

Quantum Software Specialist Q-CTRL Inks Deals with IBM, Rigetti, Oxford, and Diraq

September 10, 2024

Q-CTRL, the Australia-based start-up focusing on quantum infrastructure software, today announced that its performance-management software, Fire Opal, will be n Read more…

NSF-Funded Data Fabric Takes Flight

September 5, 2024

The data fabric has emerged as an enterprise data management pattern for companies that struggle to provide large teams of users with access to well-managed, in Read more…

Shutterstock 1024337068

Researchers Benchmark Nvidia’s GH200 Supercomputing Chips

September 4, 2024

Nvidia is putting its GH200 chips in European supercomputers, and researchers are getting their hands on those systems and releasing research papers with perfor Read more…

Shutterstock 1897494979

What’s New with Chapel? Nine Questions for the Development Team

September 4, 2024

HPC news headlines often highlight the latest hardware speeds and feeds. While advances on the hardware front are important, improving the ability to write soft Read more…

Critics Slam Government on Compute Speeds in Regulations

September 3, 2024

Critics are accusing the U.S. and state governments of overreaching by including limits on compute speeds in regulations and laws, which they claim will limit i Read more…

Shutterstock 1622080153

AWS Perfects Cloud Service for Supercomputing Customers

August 29, 2024

Amazon's AWS believes it has finally created a cloud service that will break through with HPC and supercomputing customers. The cloud provider a Read more…

HPC Debrief: James Walker CEO of NANO Nuclear Energy on Powering Datacenters

August 27, 2024

Welcome to The HPC Debrief where we interview industry leaders that are shaping the future of HPC. As the growth of AI continues, finding power for data centers Read more…

Everyone Except Nvidia Forms Ultra Accelerator Link (UALink) Consortium

May 30, 2024

Consider the GPU. An island of SIMD greatness that makes light work of matrix math. Originally designed to rapidly paint dots on a computer monitor, it was then Read more…

Atos Outlines Plans to Get Acquired, and a Path Forward

May 21, 2024

Atos – via its subsidiary Eviden – is the second major supercomputer maker outside of HPE, while others have largely dropped out. The lack of integrators and Atos' financial turmoil have the HPC market worried. If Atos goes under, HPE will be the only major option for building large-scale systems. Read more…

AMD Clears Up Messy GPU Roadmap, Upgrades Chips Annually

June 3, 2024

In the world of AI, there's a desperate search for an alternative to Nvidia's GPUs, and AMD is stepping up to the plate. AMD detailed its updated GPU roadmap, w Read more…

Nvidia Shipped 3.76 Million Data-center GPUs in 2023, According to Study

June 10, 2024

Nvidia had an explosive 2023 in data-center GPU shipments, which totaled roughly 3.76 million units, according to a study conducted by semiconductor analyst fir Read more…

Shutterstock_1687123447

Nvidia Economics: Make $5-$7 for Every $1 Spent on GPUs

June 30, 2024

Nvidia is saying that companies could make $5 to $7 for every $1 invested in GPUs over a four-year period. Customers are investing billions in new Nvidia hardwa Read more…

Comparing NVIDIA A100 and NVIDIA L40S: Which GPU is Ideal for AI and Graphics-Intensive Workloads?

October 30, 2023

With long lead times for the NVIDIA H100 and A100 GPUs, many organizations are looking at the new NVIDIA L40S GPU, which it’s a new GPU optimized for AI and g Read more…

Google Announces Sixth-generation AI Chip, a TPU Called Trillium

May 17, 2024

On Tuesday May 14th, Google announced its sixth-generation TPU (tensor processing unit) called Trillium.  The chip, essentially a TPU v6, is the company's l Read more…

Shutterstock 1024337068

Researchers Benchmark Nvidia’s GH200 Supercomputing Chips

September 4, 2024

Nvidia is putting its GH200 chips in European supercomputers, and researchers are getting their hands on those systems and releasing research papers with perfor Read more…

Leading Solution Providers

Contributors

IonQ Plots Path to Commercial (Quantum) Advantage

July 2, 2024

IonQ, the trapped ion quantum computing specialist, delivered a progress report last week firming up 2024/25 product goals and reviewing its technology roadmap. Read more…

Intel’s Next-gen Falcon Shores Coming Out in Late 2025 

April 30, 2024

It's a long wait for customers hanging on for Intel's next-generation GPU, Falcon Shores, which will be released in late 2025.  "Then we have a rich, a very Read more…

Some Reasons Why Aurora Didn’t Take First Place in the Top500 List

May 15, 2024

The makers of the Aurora supercomputer, which is housed at the Argonne National Laboratory, gave some reasons why the system didn't make the top spot on the Top Read more…

Department of Justice Begins Antitrust Probe into Nvidia

August 9, 2024

After months of skyrocketing stock prices and unhinged optimism, Nvidia has run into a few snags – a  design flaw in one of its new chips and an antitrust pr Read more…

Nvidia H100: Are 550,000 GPUs Enough for This Year?

August 17, 2023

The GPU Squeeze continues to place a premium on Nvidia H100 GPUs. In a recent Financial Times article, Nvidia reports that it expects to ship 550,000 of its lat Read more…

MLPerf Training 4.0 – Nvidia Still King; Power and LLM Fine Tuning Added

June 12, 2024

There are really two stories packaged in the most recent MLPerf  Training 4.0 results, released today. The first, of course, is the results. Nvidia (currently Read more…

xAI Colossus: The Elon Project

September 5, 2024

Elon Musk's xAI cluster, named Colossus (possibly after the 1970 movie about a massive computer that does not end well), has been brought online. Musk recently Read more…

Spelunking the HPC and AI GPU Software Stacks

June 21, 2024

As AI continues to reach into every domain of life, the question remains as to what kind of software these tools will run on. The choice in software stacks – Read more…

  • arrow
  • Click Here for More Headlines
  • arrow
HPCwire