AI Company Observation / AMD

How AMD Makes the Case for Switching GPUs

From the compatibility of MI300X memory specifications with ROCm, see how a second GPU supplier enters the formal workflow.

Published:

AMD logo

The Second Supplier Must Really Be Able to Handle the Work

Imagine a software company that provides enterprise document search. They typically build indexes for clients and have models organize answers based on the found data. At the end of the month, a new client is preparing to launch, but the previously rented GPUs are insufficient. Another cloud provider can immediately offer instances powered by AMD GPUs. The purchasing department sees an additional supply source, while engineers need to confirm whether the program can start, whether peak performance will slow down, and where on-call personnel should look for solutions in case of malfunctions.

The company can first migrate the document index. It can be run at night and is easy to compare with identical documents. Instant Q&A can wait until the next round, as users will directly experience the latency. Even if only the index is migrated in the end, the purchasing department has another usable option. What AMD often strives for is for companies to be willing to hand over the initial work.

In 2023, AMD Entered the Memory Demand of Large Models with MI300X

AMD launched the Instinct MI300 series in December 2023. The MI300A integrates the CPU and GPU into a single design, while the MI300X features a GPU accelerator with 192 GB of HBM3 memory. These two designs address different needs for high-performance computing and generative AI.

To use a simplified example, a model with 70 billion parameters, each stored in 16-bit format, would have approximately 140 GB of weights alone. During actual execution, space must be reserved for inference programs and temporary storage during dialogue. As the number of users increases, this temporary storage also increases. Capacity ultimately becomes an operational issue. How large a model can a machine accommodate? How many users can it serve simultaneously? How many GPUs are needed?

If the workload can be concentrated on fewer GPUs while maintaining latency targets, deployment can become simpler. If the application already runs small models or has already reduced memory requirements using quantization, additional capacity may not be the most valuable. In this case, it's more important to measure how much work can be processed within a given budget and whether queuing is necessary during peak periods.

How Does ROCm Get Developers to Keep Their Original Programs?

ROCm is AMD's GPU computing software platform, while HIP assists in porting underlying GPU programs. PyTorch uses the torch.cuda interface on ROCm. Therefore, even if the program is written as `torch.device("cuda:0")`, the corresponding PyTorch version can still use it to point to the AMD GPU. Some models can retain the original program.

The real differences are usually at a lower level. Suppose an engineer uses a kit that only provides a CUDA-compiled version, and the model program is unchanged, but the container may still fail to load. Even if the kit can be changed, the output and speed still need to be retested. Finally, driver versions, monitoring metrics, alerts, and recovery also need to be handled. The amount of program modification required and the time it takes for the service to go live must be estimated separately.

The compatibility required by enterprises is spread across frameworks, kits, hardware, and cloud services. If a dependency is not ready, it may delay the launch. For customers, the way to assess the maturity of the ecosystem is to try each dependency list of the existing project and note which support can be contacted when encountering various problems.

Who Will Pay First? A team capable of independently migrating a task

Cloud service providers can centrally deploy similar inference work, handling containers and servers themselves, and then provide the tested configurations to multiple customers. Porting and maintenance costs can be shared. For a single enterprise, file vectorization, log classification, and nighttime summarization can also be a starting point. As long as the input and output are clearly defined, a small batch of data can be used for actual testing.

In the first round, run the same data in two environments, recording the completion time, number of reruns, and troubleshooting time. If AMD's rental fee is lower, but the first deployment takes two weeks longer, the enterprise can calculate how many files need to be processed to break even. If they are concerned about the original supplier's availability, they can also include backup value in their procurement decisions. Once it is confirmed that the nightly file processing can be delivered on time and the on-duty team can handle it, the next batch of work can be allocated.

Low traffic and peak traffic should also be tested separately. Some configurations perform well when there is only one request at a time, but require queuing when multiple people query simultaneously. First, define how long users are willing to wait, then gradually increase requests to find the capacity that still meets delivery conditions. This allows procurement to know how many resources should be reserved, and also lets engineers know when expansion is needed.

After the second vendor officially takes over, the team still needs to periodically rerun the original case. Updates to models, drivers, or inference tools can change previously measured performance. If the company retains deployment settings, test data, and failure handling methods, the next version can be accepted according to the same standards, and it is also easier to hand over maintenance responsibilities to another colleague.

Sources and Further Reading

Browse the AI Company Series

Contact on LINE