Nvidia is buying AI company Hugging Face for $12.9 billion, according to a report in tech publication The Information.

The deal would give Nvidia a major foothold in open-source AI at a moment when open-source developers are increasingly closing the gap with closed systems from companies such as Anthropic and OpenAI. Hugging Face is a repository that hosts open-source AI models, as well as benchmark evaluations, and data sets used for AI training and testing.

The deal would also help Nvidia protect its dominant position in AI chips, which has been somewhat under threat as major tech companies like OpenAI, Google, Amazon and Anthropic build out their own chips to reduce their reliance on Nvidia hardware.That’s because those who download open-source models from Hugging Face need to host and run those models on their own computing infrastructure, which usually involves Nvidia’s GPUs, either on premise or hosted in the cloud. Hugging Face also uses Nvidia GPUs to run the paid hosting services it offers developers.

A strong open-source ecosystem gives customers more options outside the closed labs and keeps more of the market tied to Nvidia’s hardware. Nvidia has already invested tens of billions of dollars in its own open-source models.