<img alt="" src="https://secure.insightful-enterprise-intelligence.com/783141.png" style="display:none;">

publish-dateOctober 15, 2024

5 min read

Updated-dateUpdated on 3 Feb 2026

Understanding Why LLMs Struggle with Spelling and How to Fix It

Written by

Damanpreet Kaur Vohra

Damanpreet Kaur Vohra

Technical Copywriter, NexGen cloud

Share this post

Table of contents

You’ve probably heard of the famous "strawberry🍓" problem with LLMs that's been taking the internet by storm. This is when some LLMs fail to count how many "r's" are in the word "strawberry." While this may seem like a minor quirk, it raises important questions about how LLMs function and why they encounter such errors. 

You might wonder, “How can advanced models capable of generating entire essays or coding solutions stumble over a basic spelling?” The answer lies in the way these models process language and generate text. Real-world applications like chatbot interactions, customer support or automated content creation where precision matters, mistakes like these raise questions about advancements in AI. 

Continue reading this article as we will explore the reasons behind this issue that contribute to these errors.

Chatting with an LLM

Let’s consider a practical example of the 'Strawberry' problem in a chatbot setting. Below I interact with an LLM to ask how many "r’s" are in the word "strawberry." See what the LLM chatbot answered:

In this conversation, we see the LLM initially spelling the word correctly but then introducing an error in the second response by counting the "r’s" incorrectly. This inconsistency is a direct result of the LLM’s probabilistic text generation and tokenisation process.

Tokenisation: The Root of the Problem

In tokenisation, words are split into smaller units called tokens rather than individual characters. For instance, "strawberry" could be tokenised as: 'straw', 'berry'. Words (or parts of words, called tokens) are turned into numbers (vectors) that represent their meanings and relationships to other words. These numbers don’t store things like how a word is spelled, just what the word means in context. For example, an LLM can easily tell that “female” and “woman” are similar in meaning. But it’s not good at spelling “woman” as W-O-M-A-N because it doesn’t save the actual letters, only the numerical meaning.

Check out our Quick Guide to Troubleshooting Most Common LLM Issues

Probabilistic Nature of LLMs: Precision vs Creativity

Another key reason for LLM errors lies in the probabilistic nature of their language generation. LLMs are trained to predict the most likely next token based on the context. They don't “know” correct spellings in the way a rule-based system would but instead make predictions based on patterns they've learned from large datasets.

This probabilistic approach allows LLMs to excel in creative tasks like writing narratives or answering open-ended questions. However, it also introduces variability in tasks that require high precision, such as spelling or formatting specific output. In creative writing, generating plausible text is the goal but in spelling the output must conform to rigid standards.

How to Solve the Strawberry Problem?

To minimise the impact of LLM misspellings or errors, you can use Chain of Thought techniques, leverage reasoning models and/or fine-tune your LLM model, especially for real-world applications where precision matters. By adjusting these models on specific datasets, you can improve their ability to accurately perform such tasks. Fine-tuning can help the model internalise correct patterns and reduce the likelihood of errors.

At Hyperstack, you can fine-tune your models with the latest cloud infrastructure, using powerful GPUs like the NVIDIA A100 80GB, NVIDIA H100 PCIe and NVIDIA H100 SXM designed to handle demanding LLM workloads. Our NVIDIA A100 and NVIDIA H100 PCIe cards also include an NVLink option that enables scaling for large models that require high data throughput. Fine-tuning on our platform is also more cost-effective thanks to our Hibernation feature, which lets you pause your workloads when not in use, helping you manage costs while maximising efficiency. Our latest high-speed networking with up to 350Gbps also helps improve performance by reducing latency for multi-node fine-tuning of LLMs. Learn how to improve LLM fine-tuning and inference with High-speed networking in our blog.

Get Started with Hyperstack Today to Boost Your LLM Performance 

Related Blogs

FAQs

Why do LLMs struggle with spelling despite their advanced capabilities?

LLMs generate text probabilistically and often focus on context rather than specific letter sequences, leading to errors in tasks requiring precision.

How does tokenisation affect LLM spelling accuracy?

Tokenisation breaks words into tokens, which can miss crucial character details, leading to inconsistent spelling outputs.

Can fine-tuning solve LLM spelling errors?

Yes, fine-tuning an LLM on specific datasets can reduce errors and improve precision in spelling tasks.

How does Hyperstack help in fine-tuning LLMs?

Hyperstack offers powerful GPUs like the NVIDIA A100 and H100, designed to handle LLM workloads efficiently, improving performance and accuracy.

Subscribe to Hyperstack!

Enter your email to get updates to your inbox every week

Related content

Stay updated with our latest articles.

case-studies Case Study link

Inside Hyperstack: How Every Code Change Gets Scanned for Secrets

The Key You Pasted In "Just to Test" You are wiring up a ...

The Key You Pasted In "Just to Test"

You are wiring up a new integration and want to see whether the call works before you build it properly. You paste the API key straight into the file, run the code and it works. A meeting starts, the change gets committed with the rest of your work and the key is now part of your codebase.

Most developers have done this at least once and most of the time nothing bad follows. The trouble is that a key sitting in code can be read by anyone who can read that code, today and for as long as the history of that code exists.

Your work runs on Hyperstack, and the systems behind the platform are built and configured from our own code.

A key that leaked from that code could open one of those systems, which is why our DevOps team has added a scanner that checks every code change for passwords, API keys and tokens saved by mistake.

Our latest blog explains how it works and why it is built the way it is. It also shows how you can set up the same free tool on your own projects, starting with the code that holds your Hyperstack API key.

Leaked Keys Are Common and They Stay Valid for Years

The scale of the problem is larger than most teams assume. GitGuardian counted 28.65 million new hardcoded secrets in public GitHub commits in 2025, a 34% rise on the year before. Secrets tied to AI services grew faster still, reaching about 1.28 million, up 81%, and that matters for anyone building AI products because model provider keys and inference credentials are part of the daily work of an AI team.

Leaked keys also tend to keep working long after they leak. Truffle Security published research on 29 September 2026 that scanned 224 million public GitHub repositories and found 543,699 unique credentials that still authenticated when tested in July 2026. Half of those working credentials had been exposed for more than two years.

Both companies sell secret scanning products, so it is fair to read their figures with that in mind. These numbers describe public code in general and say nothing about Hyperstack, but the pattern they point to is consistent: keys leak often, and once a key has leaked it usually stays valid until someone deliberately cancels it.

Deleting a Secret Does Not Remove It

Code lives in Git, and every change a developer saves into Git is a commit. Git keeps every commit, much like the version history in a shared document. If a developer notices a key a week later and deletes the line, the current version of the file is clean but last week's commit still holds the key. Anyone who copies the repository gets every past commit with it, so they get the key as well.

This changes what fixing a leak actually means. Removing the line is necessary, but the fix is rotation: cancelling the exposed key with the service that issued it and issuing a new one, so the copy left in the history no longer opens anything. Other research from Truffle Security makes the same point from the other side, listing deleted repositories, overwritten files and rewritten history among the common clean-up steps that still left working keys active.

It also explains the cost curve that shaped our design. A secret caught on a laptop costs the developer a few seconds to delete. A secret caught after it reaches shared code has to be rotated, which involves the owner of that service and every system that uses the key. A secret that reaches the live platform or public code becomes a security problem in its own right, so we put a check at each point where catching it is cheaper than at the next.

Three Checks Between a Laptop and the Live Platform

Code does not go straight from a developer's laptop to production. It moves through a shared development copy, then through staging and pre-production, which are rehearsal copies of the platform, and only then to the live environment. An automated pipeline tests and builds the code along the way, and the secret scan now runs inside that pipeline by itself, so nobody has to remember to run it.

A change meets the scanner at three points on that journey:

  1. On the laptop, before each commit. A pre-commit hook runs the scanner against the change a developer is about to save. If it finds something that looks like a secret, the commit is refused and the developer is shown the file and line. Each developer switches the hook on once in their copy of a project, and after that it takes about a second per commit.
  2. On every change sent to shared code. When a developer pushes commits or opens a pull request, the pipeline scans before anything is built. It reads only the new commits so it stays quick on everyday work. Once a project is in blocking mode, which we come to below, a finding stops the pipeline there, so nothing is packaged and nothing is deployed.
  3. On the full history, before going live. When a change moves to pre-production, the last rehearsal before the live platform, the scanner reads the entire history of the project, including old versions of every file. This scan takes longer, and it is the one that finds a secret saved months ago and deleted since.

Small scans on every change and one full scan before release is a deliberate trade. Scanning the full history on every push would slow every developer down to recheck commits that have already been checked and scanning only new commits everywhere would miss anything that was there before the scanner arrived. Splitting the work this way keeps everyday changes fast and still gives every release a complete check.

The scan is one shared building block that every project plugs into, so the rules are the same across the platform instead of being configured differently by each team. Changes that only touch a project's README file get a small scan of their own, so documentation is checked as well. A developer can skip the laptop check if they choose to, but the pipeline runs the same scan regardless, so skipping it only moves the catch to a point where it costs more to fix.

The Scanner Must Not Become a Leak Itself

A scanner that finds a secret has to report it somewhere, and that report is one more place the secret could leak from. Pipeline logs are read by many people and kept for a long time, and the results file a scan saves is often downloaded and passed around. Our scanner redacts the value in both, recording which file and line the finding is on without ever printing the secret itself.

The pipeline also posts a summary to our team chat each time it runs, and that summary now includes the number of secrets found. When there is a finding the message turns red, so the person who made the change sees it straight away without the value appearing anywhere new.

Warn First, Clean Up, Then Block

Turning on a blocking check across an established codebase has an obvious problem. Most mature projects have something in their history that looks like a secret, whether that is an old key, a test value or a placeholder. If the scanner blocked from day one, the first full-history scan would stop releases on projects that have not added anything new.

So the rollout runs in two phases. In the first, the scanner runs on every project but only warns: findings appear in the report and in the chat summary and nothing is stopped. Teams use that window to go through what the scanner has flagged, keeping in mind that a finding is anything that looks like a secret, and many turn out to be test values or placeholders rather than real credentials.

Every finding goes through the same four steps. If it is a real secret, it is rotated first, since the old value stays in the history whatever else happens, and then removed from the current code if it is still there. The finding is then marked as handled in an ignore list using its fingerprint, a unique ID the scanner gives every finding, so the full-history scan does not flag the same old value on every run. The team then runs the full scan locally to confirm nothing is left.

Once a project comes back clean, it moves to blocking, where a finding fails the scan and the build and release are skipped. During the warning phase, we are clear with every developer that a new secret on a normal change has to be fixed straight away, even though the pipeline lets it through.

This pattern of warning first, cleaning up and then blocking works for most new controls. It gets the tool running on real code from the start, gives each team an accurate picture of what is already there and avoids the day when a well-intentioned check freezes every release.

How Betterleaks Tells a Key From a Word

Betterleaks is a free, open-source scanner announced in March 2026 by Zach Rice, who also wrote Gitleaks, one of the most widely used secret scanners of the last decade. Much of its detection comes from rules that match known key formats, such as the fixed prefixes many providers put at the start of their tokens. The harder case is a generic secret with no recognisable prefix, sitting in a line of code next to ordinary variable names.

Older scanners handle that case by measuring entropy, which is how random a string looks. Betterleaks adds a test based on a tokeniser, the same kind of tool language models use to split text into pieces. A tokeniser is trained on ordinary text, so a common word or variable name splits into a few familiar pieces, while a random key breaks into many short ones because the tokeniser has rarely seen those character combinations. How many pieces a string breaks into, relative to its length, is a useful signal of whether a person wrote it or a machine generated it.

Articles about Betterleaks often quote a 98.6% figure. It comes from a test of this one filter on a benchmark dataset, and it is not the share of real-world secrets the tool catches. No scanner catches every secret, and ours is no exception, which is why scanning sits alongside rotation and careful handling of keys rather than replacing them.

How to Set Up the Same Checks on Your Own Code

Your Hyperstack API key is a sensible place to start because it authorises calls against your account and deserves the same care as any production credential. The setup below mirrors our three checks and works on any Git repository. The commands are written for Betterleaks 1.9.0. Version 2 changes some of the options, so once the scanner is installed, run betterleaks version to check which one you have.

Install the scanner. Betterleaks is a single binary, available through the usual package managers or as a container image:

brew install betterleaks
# or
docker pull ghcr.io/betterleaks/betterleaks:v1
# or
go install github.com/betterleaks/betterleaks@latest

Scan your full history once. Run the scanner against your repository to see what is already there, old commits included. If it finds a real key, rotate it before you do anything else: create a new key, update the systems that use it and revoke the old one, then remove the value from the code.

betterleaks git . --verbose --redact

Add the laptop check. Betterleaks ships a hook for the open-source pre-commit framework. Install the framework first with pip install pre-commit or brew install pre-commit. Then add the hook to a .pre-commit-config.yaml file in your repository and run pre-commit install once in each copy of the project:

repos:
  - repo: https://github.com/betterleaks/betterleaks
    rev: v1.9.0
    hooks:
      - id: betterleaks

The first commit after installing takes a few minutes because the hook builds the scanner locally. After that it scans only your staged changes, which takes about a second.

Add the pipeline check. Run the same scan as a step in your CI pipeline before the build step, with redaction switched on so the value never appears in your logs. Make sure the job fetches the full Git history first, because some CI systems fetch only the latest commit by default. On GitHub Actions, for example, set fetch-depth: 0 on the checkout step. Betterleaks returns a non-zero exit code when it finds a secret, which most CI systems treat as a failed step, so the build stops there. If you have older findings to work through first, add --exit-code 0 to run it in warning mode, where findings are still reported but the step passes. Remove the flag once your history is clean to switch it to blocking.

Handle false positives explicitly. When the scanner flags a test value or a placeholder on a line you have not committed yet, add a betterleaks:allow comment on that line. For a value that is already in your history, list the finding's fingerprint in a .betterleaksignore file at the root of your repository instead, because a comment added later does not change the old commit. Add --legacy-print to the scan command to see each finding's fingerprint. Either way, the decision is written down where a reviewer can see it.

The simplest protection of all is to keep the key out of the code in the first place. Read it from an environment variable or a secrets manager, so the scanner has nothing to find.

What This Means for the Platform You Build On

Every change to Hyperstack's code is now scanned for secrets, and once a project is in blocking mode a finding stops the release until it has been dealt with. No scanner can promise that a secret will never get through, but one of the most common ways keys leak, a value pasted in during testing and then forgotten, now meets up to three checks before it can reach the systems your workloads depend on.

The same tool and the same three checkpoints are free to use on your own projects. Start with a full-history scan of the repository that holds your Hyperstack API key and you will quickly see whether it finds anything you need to rotate.

New to Hyperstack?

Sign up to launch GPU virtual machines on NVIDIA GPUs and generate your first API key. Set up the checks in your repository before that key goes anywhere near your code.

FAQs

What is secret scanning and why does it matter for code stored in Git?

Secret scanning is an automated check that reads code for passwords, API keys and tokens that were saved by mistake. It matters in Git because every commit is kept in the project's history, so a key that reaches a repository stays usable by anyone with a copy of the code until the key itself is cancelled.

If I delete an API key from my code, is it still exposed?

Yes, because deleting the line only cleans the current version of the file while earlier commits in the Git history still hold the key. The real fix is to rotate the key by revoking it with the service that issued it and creating a new one, so the copy left in the history no longer works.

Does Hyperstack's secret scanning change anything for customers using the platform?

Nothing changes in how you use Hyperstack, since the scanner checks our own internal code rather than your workloads or data. It reduces the chance that a key behind the systems your work runs on ever reaches the live platform, which is why we wanted to show how it works.

Can Betterleaks catch every leaked secret in a repository?

No scanner catches every secret, and the 98.6% figure often quoted for Betterleaks comes from a benchmark test of one of its filters rather than its real-world detection rate. Scanning works best as one layer alongside keeping keys out of code and rotating any key that may have been exposed.

How do I stop my Hyperstack API key from leaking in my own projects?

Keep the key out of your code by reading it from an environment variable or a secrets manager, then run a full-history Betterleaks scan on the repository to check that nothing is already there. Adding the Betterleaks pre-commit hook on your laptop and the same scan in your CI pipeline gives you a check before every commit and before every build.

Damanpreet Kaur Vohra

Damanpreet Kaur Vohra

calendar 8 Oct 2026

•

Read More
case-studies Case Study link

Running a Multi-Program AI Research Environment on Hyperstack ...

Note: All metrics and scenarios in this case study are ...

Note: All metrics and scenarios in this case study are illustrative. Specific outcomes depend on workload architecture, deployment configuration and operational context.

Where Three Infrastructure Challenges Meet

The institute sits at the intersection of three research domains.

  1. Part academic, grant-funded and operating under national genetic data governance obligations.

  2. Part pharma-partnered, running generative molecular design and biomarker modelling under IP protection requirements.

  3. Part genomics, with whole-genome sequencing pipelines and foundation model fine-tuning running on patient-derived genetic data.

That combination produces a compliance posture most infrastructure providers are not built for. GDPR obligations apply throughout. The EU AI Act classifies the institute's genomic modelling as high-risk. National frameworks consistent with GDPR Article 9 apply to genetic data handling. The infrastructure doesn't just need to perform. It needs to be auditable, residency-compliant and defensible in an ethics review.

Two environments had been tried. Neither held.

Public Cloud

Public cloud worked for smaller, earlier workloads. It stopped working once the institute scaled into foundation model fine-tuning and distributed molecular design training. Shared tenancy was flagged directly in an ethics review, creating an open compliance question with no clean answer.

Then, benchmark variance across consecutive runs on the same VM configuration began breaking reproducibility. Same job and same VM type on two consecutive days. But the throughput numbers differed. No changes were made by the team.

For a research organisation where reproducibility is a scientific standard, not a preference, benchmark variance is not an inconvenience. It is a problem that costs researchers time and under the wrong circumstances, delays a grant milestone. That is what happened. A drug design training run overran its window. A board review was missed.

On-Premises Hardware

The on-premises cluster was one grant cycle behind on memory. Foundation model fine-tuning requires high-memory GPU configurations. The hardware available could not accommodate the memory footprint required for the multi-omics integration models or the genomic foundation model. Upgrading required procurement, which required a grant cycle that the team did not have.

The common thread across both failure modes was variance. Unpredictable performance on public cloud, insufficient and unupgradeable capacity on-premises. In a regulated research environment, variance is not just an operational problem. It is a scientific problem and a legal risk at the same time.

The Infrastructure Decision

Requirements review surfaced four non-negotiable constraints before any infrastructure option was evaluated.

Single-tenant isolation was mandatory. Shared tenancy had been flagged in an ethics review. Any multi-tenant environment was ruled out at the start of the process.

EU data residency was required. Genetic data governed under Article 9 frameworks and national health data regulations cannot move freely across jurisdictions. The infrastructure needed to sit within the correct legal boundary, not approximate it.

High-memory GPU configurations were required for two specific workloads. Multi-omics integration modelling and genomic foundation model fine-tuning both carry memory footprints that eliminate most commodity GPU configurations. NVIDIA B300 class hardware were specified from the outset.

Contract length needed to align with grant cycles. Twelve-month minimum contracts are not a constraint for a research organisation running on 12 to 36-month grant windows. They are aligned.

Why Secure Private Cloud

The Dedicated Cloud deployment model was chosen specifically because it offloads infrastructure, OS lifecycle, orchestration, and platform monitoring to Hyperstack. The institute's engineering capacity is allocated to research workloads, not cluster management. Running a managed platform internally would have required headcount the team does not have and the capability the grant cycle does not fund.

The delivery model also mattered for procurement. Secure Private Cloud is not self-serve and is not accessible via a public cloud UI. It is commissioned as a bespoke, customer-specific deployment with access controls and governance defined as part of the build. That commissioning model aligns with how the institute's ethics board and legal team expect a regulated platform to be procured, governed, and audited. The absence of a self-serve access path removed a category of risk from the compliance conversation before it started.

The EU region deployment was placed in a Tier 3+ data centre. That selection provides evidence of availability standards, physical security controls, and redundancy architecture. It supports the institute's compliance posture without being the compliance posture itself. Data residency, access controls, and audit logging carry the regulatory weight. The data centre tier carries the operational credibility.

The Build: Five Workloads, Ordered by Demand

Five workloads now run concurrently on the environment. They are ordered below by infrastructure demand, most resource-intensive first.

1. Genomic Foundation Model Fine-Tuning

The most infrastructure-intensive workload on the environment. Fine-tuning genomic foundation models on patient-derived genetic data requires high-memory GPU configurations, high-bandwidth inter-node communication, and persistent storage for checkpoint continuity.

InfiniBand fabric was selected for this workload. At this scale, the all-reduce communication overhead on distributed training runs justifies a dedicated fabric optimised for server-to-server bandwidth and latency. NVIDIA B300 Clusters provide the memory headroom the model footprint requires.

Shared Storage Volumes handle checkpoint persistence. Training runs that overran their window on the public cloud due to benchmark variance are now completing on schedule. Secure Object Storage holds dataset retention, with server-side encryption and controlled access paths consistent with the institute's genetic data governance obligations.

2. Generative Molecular Design

Pharma-partnered workload. Runs under IP protection requirements, which means the single-tenant boundary is not just a compliance preference. It is a contractual position with the institute's pharma partners.

InfiniBand fabric supports distributed training across this workload as well. NVMe scratch storage handles active run data during training. The workload competes for infrastructure with the genomic foundation model runs. Workload scheduling under the Dedicated Cloud model handles allocation without the institute's team managing scheduler configuration manually.

3. Protein Structure Prediction

High-memory GPU requirement, but different from the foundation model fine-tuning workload. The memory demand here comes from model inference and structure computation rather than training data volume. NVIDIA B300 configurations cover the footprint.

RoCE fabric was selected for this workload. The communication pattern is less all-reduce intensive than the genomic fine-tuning and molecular design runs. RoCE on Ethernet provides RDMA performance at lower operational overhead where the workload profile does not require the full InfiniBand configuration.

Shared Storage Volumes handle persistent artefact storage across runs.

4. Multi-Omics Integration Modelling

This workload integrates genomic, proteomic, and transcriptomic data. The model architecture requires high memory across the integration layers. NVIDIA B300 memory configurations were specified to accommodate the full multi-omics footprint without the memory pressure that forced checkpoint fragmentation on the prior on-premises hardware.

RoCE fabric handles inter-node communication. A parallel filesystem supports shared high-throughput file access across nodes. The workload runs concurrently with the genomic fine-tuning and molecular design workloads.

5. Whole-Genome Sequencing Pipelines

This is a bioinformatics analysis workload, not a training workload. WGS pipelines process patient-derived sequencing data through alignment, variant calling and annotation pipelines. They run concurrently with the four ML training workloads above and compete for infrastructure resources.

SLURM batch scheduling handles WGS job management. The parallel filesystem provides the shared, high-throughput file access that WGS pipelines require across nodes. NVMe scratch handles staging and intermediate compute. The workload benefits from the same single-tenant isolation and audit logging as the ML training workloads.

What Changed

Runs that were breaking against benchmark variance on public cloud are now consistent. The institute's engineering team stopped re-running experiments to confirm whether a result was real or a platform artefact:

  • Experiment reproducibility followed. Stable throughput on dedicated hardware means consecutive runs on the same configuration produce results the team can trust. For a research organisation, that is the foundation of valid scientific output.

  • The compliance review posture changed. Ethics review questions about shared tenancy no longer have an open answer. Single-tenant isolation with defined access controls and audit logging gives the institute's ethics and legal teams a defensible position. The infrastructure is not a liability in a compliance conversation. It is evidence.

  • The IP protection position with pharma partners became cleaner. Generative molecular design runs on a dedicated environment with no shared tenancy, no hidden subprocessors, and access boundaries defined at the contract stage. That is a materially stronger position than a public cloud deployment with shared tenancy.

  • The researchers' time allocation shifted. Before the migration, a portion of the team's time was spent re-running experiments to establish whether a result reflected actual model behaviour or a platform artefact. On dedicated hardware with stable throughput, that question does not arise. The team runs experiments once and trusts the output.

  • The missed grant milestone has not recurred. The drug design training run that overran its board review window was the event that made the infrastructure decision urgent. That class of failure has not happened since the environment went live.

The Operational Layer

Hyperstack's 24/7 NOC provides continuous monitoring for an organisation where infrastructure failure during a grant window is a direct business risk. Severity 1 incidents carry a 30-minute response commitment and a four-hour target resolution. For a research team running long training jobs against hard milestones, that is the operational standard the environment needs to meet.

Machine Learning Engineer support during onboarding handled migration from two prior environments. Moving workloads from public cloud, on-premises hardware, and EuroHPC onto a single new environment is not straightforward. The MLE engagement covered workload migration, data transfer, and initial benchmarking before the environment moved into production. The institute's team did not carry that work alone.

The Technical Customer Success Manager provides a single accountability point across a multi-program environment. The institute does not manage separate relationships with separate support teams for each workload. One person owns delivery, escalation, and ongoing optimisation across the full stack.

Acceptance testing ran before the environment went into production. The institute validated GPU throughput, InfiniBand performance, and storage behaviour against predefined success criteria using real workloads. The environment was confirmed against agreed benchmarks before any production training run was submitted. For a research organisation, that step matters. Starting a grant-critical training run on infrastructure that has not been validated is how a missed milestone happens.

Scheduled maintenance carries 14 days' notice and does not count as downtime. Emergency maintenance is limited to critical fixes. For a team running training jobs against grant milestones, predictable change windows are not a nice-to-have. They are how the team schedules work.

Conclusion

For organisations operating at the intersection of AI, genomics and regulated research, infrastructure decisions are no longer just technical considerations. They directly affect scientific reproducibility, compliance readiness, intellectual property protection and the ability to meet critical funding and research milestones.

In this case, public cloud variability and ageing on-premises infrastructure created barriers that could not be solved through incremental improvements. By moving to a dedicated Secure Private Cloud environment with single-tenant isolation, EU data residency and high-memory GPU resources, the institute gained the consistency, governance, and scalability required for its most demanding workloads.

The result was not simply better performance. It was a more reliable foundation for research, a stronger compliance posture, improved partner confidence and the ability for scientists to focus on discovery rather than infrastructure limitations.

Running a Regulated AI Research Program at this Scale?

Book a scoping call with the Hyperstack team. The conversation starts with your workload requirements, compliance obligations and timeline, not a product demo.

FAQs

How does a Secure Private Cloud support AI research compliance requirements?

A Secure Private Cloud provides dedicated infrastructure, controlled access, audit logging, and data residency controls. These capabilities help research organisations meet obligations related to genetic data governance, GDPR compliance, and other regulatory frameworks while maintaining operational flexibility.

Why is single-tenant infrastructure important for regulated research environments?

Single-tenant environments eliminate resource sharing with other organisations. This helps address compliance concerns, strengthens IP protection, and provides a more defensible position during ethics reviews, audits, and partner due diligence processes.

What workloads benefit most from high-memory GPU infrastructure?

Workloads such as genomic foundation model fine-tuning, multi-omics integration modelling, protein structure prediction, and generative molecular design often require large GPU memory footprints. High-memory GPUs help prevent bottlenecks and support larger, more complex models.

How does dedicated infrastructure improve experiment reproducibility?

Dedicated infrastructure removes many of the variables associated with shared environments. Consistent hardware allocation and stable performance help researchers achieve repeatable results across training runs, improving confidence in scientific outcomes.

Can Secure Private Cloud environments support multiple research workloads simultaneously?

Yes. A Secure Private Cloud can support diverse workloads running concurrently, including AI model training, bioinformatics pipelines, molecular design applications, and genomics research. Resource allocation and workload scheduling help ensure performance remains predictable across projects.

Damanpreet Kaur Vohra

Damanpreet Kaur Vohra

calendar 15 Jun 2026

•

Read More
case-studies Case Study link

Omics to Digital Twins: What Running AI-Intensive Health ...

1. The Problem A European biomedical research consortium ...

1. The Problem

A European biomedical research consortium operating shared AI infrastructure across multiple research programmes. Six concurrent AI workload types. One funding and reporting timeline. And an infrastructure environment that had started failing them in specific, measurable ways.

The institute had been running its AI pipelines across a mix of public cloud instances and on-premises hardware. On paper, that sounds like a reasonable hybrid. In reality, it had produced two categories of failure. The environment was supporting multiple research teams simultaneously, spanning genomics, medical imaging, simulation and clinical AI workloads.

On the public cloud side, the issue was not cost. It was reproducibility. Benchmark variance across shared instances meant that the same training configuration, run on consecutive days, returned different throughput numbers. No code changes. No configuration drift. The environment itself was the variable. For omics pipelines where experiment comparison is the core scientific method, that variance is not an inconvenience. It breaks the work. The institute's ethics review board flagged shared tenancy as a data governance concern during a mid-project audit. A distributed training run for a protein structure model missed a grant reporting milestone because the job was held back under multi-tenant network congestion at a point where the timeline had no slack.

On-premises hardware introduced a different set of constraints. The GPU cluster had been procured two grant cycles earlier. By the time the institute was running physics-informed digital twin simulations and 3D anatomy reconstruction at scale, the hardware was not matched to the workload. A capital refresh was on the roadmap but procurement lead times made it irrelevant to the current deadline. The team was tuning workloads around hardware limits rather than the other way around.

The conclusion from the architecture review was that neither environment gave the institute the right balance of performance predictability, single-tenant isolation and governance that a multi-team regulated AI environment requires.

2. The Infrastructure Decision

The architecture review surfaced three non-negotiable requirements.

Single-tenant Isolation

The ethics review flag was not going away. Any future environment needed to eliminate shared-tenancy exposure, with access controls and governance defined as part of the build rather than coming afterwards.

EU Data Residency

The institute's patient-derived omics data and medical imaging datasets carry GDPR obligations and EU AI Act high-risk classification. The environment needed to sit within the EU jurisdiction. Sovereign build positioning with reduced exposure to the US CLOUD Act was a requirement for the legal team, not a preference.

Performance Predictability Across Concurrent Workloads

Training runs, inference pipelines and simulation jobs were running in parallel. Any oversubscription or shared scheduling contention would introduce the same reproducibility problems that the public cloud had already caused.

These three requirements together ruled out public cloud and made a case for private deployment. The question was which deployment model within Hyperstack's Secure Private Cloud matched the institute's operational profile.

Metal Only and Managed Metal were discounted quickly. The institute did not have an internal infrastructure engineering team to own the stack above bare metal or the OS layer. Managed Platform was viable but left a gap: the institute's AI workflows needed the platform-level optimisation, VRAM management and day-one model support that only Dedicated Cloud delivers.

Dedicated Cloud was selected. The institute's AI teams would focus on workloads. Hyperstack would own everything from hardware through orchestration, scheduling and secure isolation.

Responsibility Layer Dedicated Cloud (Managed by Hyperstack)
Power / Cooling ✓
Physical Security ✓
Hardware & Firmware ✓
Network & Storage ✓
OS Lifecycle ✓
Orchestrator ✓
GPU Availability & Health ✓
GPU Optimisation ✓
Cluster Uptime ✓
Infrastructure Monitoring ✓
Workload / Application Monitoring The Institute's AI teams
Workloads & ModelsThe  The Institute's AI teams
Logical Data Security The Institute's AI teams
Secure Isolation ✓

3. The Build

With the deployment model confirmed, the architecture was assembled workload by workload based on infrastructure demand, starting with the most resource-intensive systems. Different research programmes placed different demands on the environment, so the final architecture combined HPC scheduling, MLOps orchestration and multiple storage tiers within the same deployment.

Physics-Informed Digital Twins and Surgical Robotics Simulation

These are the workloads with the highest networking requirements. Digital twin simulations running physics engines across multiple nodes, and surgical robotics simulation with real-time feedback loops, both depend on consistent, low-latency GPU-to-GPU communication. All-reduce stall under congestion is a direct blocker for these workloads. The architecture specified InfiniBand fabric, with NVIDIA ConnectX-8 SuperNICs at the interconnect layer. This was not a performance preference. It was the minimum specification for multi-node simulation workloads at this scale to run without communication bottlenecks degrading output fidelity.

Storage for these workloads: local NVMe scratch for high-throughput simulation state staging during runs, with Secure Object Storage for long-term artefact and log retention.

Also Read: Why Storage Is Becoming the Bottleneck for AI Inference

Omics Pipelines and Protein/Molecular Structure Modelling

Omics workloads (variant calling, multi-omics integration, genomic feature extraction) run as HPC-style batch jobs. They are compute-intensive, often long-running, and need a scheduler that handles queue management, job prioritisation, and resource allocation at the cluster level. SLURM was the orchestration choice here. Managed SLURM, deployed on Kubernetes, giving the institute HPC-style batch scheduling with GPU-aware queue management and multi-queue support across concurrent jobs.

Protein and molecular structure modelling shares the same orchestration layer but has distinct storage requirements. Model checkpointing during long training runs needs persistent volumes that survive node changes. Shared Storage Volumes (SSVs) were specified for this, persistent block volumes attached to VMs, retaining checkpoints and datasets across restarts.

Fabric selection for omics and molecular modelling: RoCE (Ethernet) with RDMA-capable paths. The workloads benefit from RDMA-capable GPU-NIC data paths for distributed training efficiency, and the operational characteristics of Ethernet (including familiarity and cost profile) were appropriate at this scale. InfiniBand's operational overhead was not justified for workloads that do not require its peak bandwidth.

Medical Imaging Inference and 3D Anatomy Reconstruction

Medical imaging inference runs as a continuous pipeline: model serving, pre-processing, and output validation in sequence. This is an MLOps workload, not a batch job, and it was orchestrated on Kubernetes, GPU-enabled, with CNCF-standard tooling and enterprise-grade add-ons for monitoring and namespace management.

3D anatomy reconstruction sits at the boundary between inference and simulation. It requires sustained throughput for volumetric rendering and multi-view reconstruction, with fast checkpoint access during iterative runs. Storage: local NVMe scratch for active reconstruction jobs, SSVs for persisting intermediate and final volumes, and a parallel filesystem for shared high-throughput file access across the nodes involved in concurrent reconstruction tasks.

Both workloads ran on RoCE fabric. At the scale of the institute's imaging and reconstruction pipelines, RoCE delivered the required performance without the InfiniBand operational overhead.

EU Region and Data Centre Selection

The environment was deployed within an EU jurisdiction, in a Tier 3+ data centre selected to meet the institute's GDPR obligations and EU AI Act high-risk classification requirements. Patient-derived data does not leave EU jurisdiction. The sovereign build positioning addressed the legal team's concerns around the US CLOUD Act without requiring the institute to redesign workload architecture around a fixed public region.

4. What Changed

Before the Dedicated Cloud deployment, the institute's infrastructure produced three categories of operational drag.

Training run stability was unreliable. On a shared public cloud, throughput variance across equivalent runs was persistent enough that researchers had stopped trusting benchmark results. In a Dedicated Cloud deployment with fully reserved resources and no shared scheduling contention, that variance is materially reduced and becomes operationally predictable. In deployments of this type, teams have reported the ability to run the same training configuration on consecutive days and treat the results as comparable. For the institute's grant reporting, comparability was a prerequisite for the science.

Experiment reproducibility had been compromised by the environment itself. Removing shared tenancy removes the variable. Single-tenant isolation, combined with deterministic performance characteristics, means that when an experiment produces a different result, the difference is in the experiment, not the infrastructure.

Compliance review outcomes changed materially. The ethics review flag on shared tenancy was resolved by design: there is no shared tenancy in a Secure Private Cloud deployment. GDPR alignment is supported by default. The EU AI Act high-risk classification requirements were addressed through the build specification rather than through post-deployment remediation. For the institute's compliance and legal teams, the shift was from managing ongoing ambiguity to working from a defined and documented control set.

5. The Operational Layer

The European biomedical research consortium does not operate like an enterprise product team. Grant-driven timelines concentrate compute demand into specific windows. A training run that fails at 11 PM on a Sunday before a Monday reporting deadline is not a hypothetical risk. It is a known failure mode for research infrastructure.

Secure Private Cloud's 24/7/365 NOC coverage, based in the UK, with follow-the-sun responsiveness, addresses this. Monitoring does not stop when the institute's team is offline. For a Dedicated Cloud deployment, Hyperstack monitors the full platform stack: infrastructure, scheduling and operational layers.

Severity-based incident response gives the institute's team clear expectations. A Severity 1 incident (cluster unavailability, network failure) carries a 30-minute response commitment and a 4-hour target resolution. These are not targets the team needs to chase. They are contractual commitments with a defined escalation path: Operations to Technical Engineering to Infrastructure Engineering.

Named support roles matter in a research context because accountability gaps are expensive. The Technical Customer Success Manager (TCSM) owns delivery coordination and escalation management. The institute knows who is responsible for outcomes, not just who to call. The Machine Learning Engineer (MLE) assigned during onboarding provides workload migration support and initial benchmarking, which for a multi-pipeline environment running six concurrent workload types is a meaningful reduction in the time from environment go-live to productive research operations.

Scheduled maintenance carries a 14-day advance notice requirement. For a research team managing grant milestones and training schedules, that lead time is the difference between a planned pause and a disrupted experiment.

The Next Step

Infrastructure instability is not a background cost in research. It burns grant cycles, breaks experiment reproducibility and creates compliance exposure that slows down or stops regulated work.

If the environment described here maps to problems your team is already managing, the right conversation is a scoping call with our experts. Specific workload requirements drove the architecture decisions above. Yours will be too.

Stop losing grant cycles to infrastructure problems. Book a scoping call with the Hyperstack team.

What's Coming Next

This blog serves as an overview of AI infrastructure across regulated health and life sciences, spanning both large-scale training environments and production inference deployments.

From here, we’ll explore each area in more detail through an upcoming two-track content series:

  • Series 1: Training-focused infrastructure across pharma, academic research and genomics

  • Series 2: Inference-focused deployments across medical imaging, hospitals and healthcare AI startups.

FAQs

What is the minimum deployment size for a Secure Private Cloud?

Secure Private Cloud deployments are designed for large-scale AI environments with sustained multi-team GPU demand. Typical deployments begin at 512 GPUs across 64 systems.

How long does it take to go from scoping to a live environment?

The delivery lifecycle runs through requirements validation, architecture design, contracting, platform build, and acceptance testing before go-live. Timelines depend on the complexity of the deployment and the data centre location selected. Acceptance testing is run against predefined success criteria, with formal sign-off before production rollout, so go-live does not depend on a subjective readiness call.

How does the Dedicated Cloud model handle EU AI Act high-risk classification requirements?

The build is tailored to align with the compliance frameworks and obligations the customer brings into the scoping process. EU AI Act high-risk requirements are addressed through the deployment specification, including single-tenant isolation, access governance, audit trails, and region selection, rather than through post-deployment remediation.

What does the MLE onboarding role actually cover?

The Machine Learning Engineer assigned during onboarding supports workload migration, data transfer, and initial benchmarking. For a multi-pipeline environment, that means helping the team validate real-world throughput across GPU, networking, and storage before scaling into full production, not just handing over access credentials and stepping back.

Can the environment support both SLURM and Kubernetes simultaneously?

Yes. The standard Dedicated Cloud orchestration options include Managed Kubernetes and Managed SLURM, and both can be deployed within the same environment. SLURM handles HPC-style batch workloads; Kubernetes handles MLOps pipelines and continuous inference workloads. The architecture in this case study ran both concurrently across the six workload types.

Damanpreet Kaur Vohra

Damanpreet Kaur Vohra

calendar 27 May 2026

•

Read More

Create Your Account

From hardware to inference, one unified platform to scale your AI workloads.