Back to Newsroom
newsroomtoolAIeditorial_board

HF moves safetensors to the PyTorch Foundation

Hugging Face HF transferred ownership and maintenance of the Safetensors file format to the PyTorch Foundation on April 9, 2026.

Daily Neural Digest TeamApril 9, 20267 min read1 364 words
This article was generated by Daily Neural Digest's autonomous neural pipeline — multi-source verified, fact-checked, and quality-scored. Learn how it works

The News

Hugging Face (HF) transferred ownership and maintenance of the Safetensors file format to the PyTorch Foundation on April 9, 2026 [1]. This move marks a formal integration of Safetensors into the PyTorch ecosystem, establishing it as a preferred method for storing and distributing machine learning model weights [1]. The transfer includes the codebase, associated tooling, and community support previously managed by Hugging Face. This transition places Safetensors under the governance of the Linux Foundation, aligning its development with the broader PyTorch project [1]. The announcement was first shared via a post on the r/LocalLLaMA subreddit, highlighting its focus on the community of users deploying and customizing large language models (LLMs) [1]. While the specifics of the agreement between Hugging Face and the PyTorch Foundation remain undisclosed, the transfer represents a pivotal shift in the ownership and direction of a critical AI infrastructure component.

The Context

Safetensors emerged as a direct response to security risks associated with the pickle format for saving PyTorch model weights [1]. The pickle format, while convenient, is inherently vulnerable to arbitrary code execution, posing a significant risk when downloading models from untrusted sources [1]. A malicious actor could embed harmful code within a pickle file, which would execute upon loading, potentially compromising a user’s system [1]. Safetensors, in contrast, restricts data to simple tensors and metadata, eliminating the possibility of code execution [1]. Its design prioritizes security by disallowing arbitrary Python objects, a key flaw in pickle [1].

The development of Safetensors was initially driven by Hugging Face, a company central to democratizing AI models and tools [1]. Hugging Face not only created the format but also promoted its adoption through their platform and tooling, making it the default option for many users [1]. The decision to transfer ownership to the PyTorch Foundation reflects a strategic move to ensure Safetensors’ long-term sustainability and broader adoption [1]. This aligns with a trend of open-source projects being managed by independent foundations to avoid vendor lock-in and foster community-driven development. The timing of this transfer coincides with rapid innovation in the AI landscape, particularly in deploying large language models. The release of GLM-5.1 by Z.ai, a Chinese AI startup, further underscores this dynamic [3]. GLM-5.1, released under a permissive MIT License and distributed via Hugging Face, highlights the importance of open-source models and the platform’s role in their accessibility [3]. The GLM family’s performance, reportedly exceeding Opus 4.6 and GPT-5.4 on the SWE-Bench Pro benchmark, illustrates the competitive nature of LLM development [3]. This competitive environment necessitates robust and secure infrastructure, making the Safetensors transition particularly relevant. Apple’s ongoing legal battle with Epic Games, involving challenges to Apple’s control over payment processing in the App Store, provides a parallel example of a struggle over platform control and standardization [2].

Why It Matters

The transfer of Safetensors to the PyTorch Foundation has multifaceted implications for developers, enterprises, and the broader AI ecosystem. For developers, the move provides assurance regarding the format’s long-term support and evolution [1]. Previously, Safetensors’ trajectory was tied to Hugging Face’s strategic priorities, which could shift over time [1]. Under the PyTorch Foundation’s stewardship, Safetensors benefits from a more decentralized and community-driven development model [1]. This reduces the risk of obsolescence and fosters greater collaboration among users and contributors [1]. The technical friction for developers will likely remain minimal, as the transition is largely transparent [1]. However, the formal integration into the PyTorch ecosystem may lead to tighter integration with PyTorch tooling and workflows, requiring minor adjustments for some users [1].

For enterprises and startups, the transfer reduces risks associated with using potentially compromised model weights [1]. The security vulnerabilities in pickle have been a major concern for organizations deploying AI models in production environments [1]. Safetensors provides a more robust and secure alternative, mitigating the risk of malicious code execution [1]. This is particularly critical for organizations handling sensitive data or operating in regulated industries [1]. The shift also contributes to a more standardized and interoperable AI ecosystem, reducing the potential for vendor lock-in [1]. The ability to freely download, customize, and use models like GLM-5.1, distributed through Hugging Face, further empowers enterprises to leverage advanced AI capabilities without significant licensing costs [3]. The GLM-5.1 release, with its MIT license, allows for commercial use, a key factor for businesses integrating AI into operations [3].

The winners in this ecosystem shift are primarily the PyTorch Foundation, which gains a valuable asset to bolster its platform, and the broader AI community, which benefits from a more secure and sustainable infrastructure [1]. Hugging Face, while relinquishing direct ownership, retains a crucial role in distributing and promoting Safetensors through its platform [1]. The losers, if any, are likely those who have not yet adopted Safetensors and continue to rely on the less secure pickle format [1]. The transition underscores the importance of proactive security measures in the rapidly evolving AI landscape.

The Bigger Picture

The transfer of Safetensors to the PyTorch Foundation reflects a broader trend of decentralization and community governance within the AI ecosystem [1]. Similar to how the Linux Foundation manages open-source projects, the PyTorch Foundation’s stewardship of Safetensors aims to ensure its long-term viability and prevent vendor lock-in [1]. This contrasts with the increasingly centralized control exerted by some large AI companies, as evidenced by Apple’s ongoing legal battles over its App Store policies [2]. Apple’s attempt to appeal its App Store ruling to the Supreme Court highlights the tension between platform control and developer freedom [2]. The Safetensors transition, in contrast, promotes a more open and collaborative approach to AI infrastructure development.

The rise of Chinese AI startups like Z.ai and their open-source LLMs, such as GLM-5.1, further complicates the landscape [3]. The release of GLM-5.1, beating established models like Opus and GPT on specific benchmarks, demonstrates China’s growing commitment to open-source AI development [3]. This challenges the dominance of Western AI companies and fosters a more competitive global AI landscape [3]. The fact that GLM-5.1 is readily available on Hugging Face underscores the platform’s critical role in facilitating the distribution of open-source models [3]. The increased sophistication of AI agents, capable of performing approximately 20 steps by the end of last year, further necessitates robust and secure infrastructure like Safetensors [3]. The combination of advanced AI capabilities and the increasing reliance on open-source models creates a complex and dynamic environment, demanding continuous innovation and collaboration [3]. The robotics industry, as highlighted by NVIDIA’s National Robotics Week initiatives, is also experiencing rapid advancements driven by AI and foundation models [4]. This convergence of AI, robotics, and open-source infrastructure signals a period of accelerated innovation and transformation across various industries [4].

Daily Neural Digest Analysis

The mainstream narrative often focuses on the impressive capabilities of large language models, overlooking the crucial infrastructure that underpins their development and deployment. The transfer of Safetensors to the PyTorch Foundation is a quietly significant event that deserves greater attention. It highlights the ongoing struggle between centralized control and decentralized collaboration in the AI ecosystem. While Hugging Face has played a vital role in democratizing AI, relinquishing ownership of Safetensors demonstrates a commitment to fostering a more sustainable and community-driven model. The move is a strategic win for the PyTorch Foundation and a positive development for the AI community as a whole. However, the long-term success of this transition hinges on the PyTorch Foundation’s ability to effectively manage and evolve Safetensors while maintaining its commitment to open-source principles. The rise of Chinese open-source AI initiatives like GLM-5.1 adds another layer of complexity, potentially disrupting the established power dynamics within the AI landscape. The question remains: will the AI community prioritize security and collaboration, or will the pursuit of ever-greater performance overshadow the importance of robust and sustainable infrastructure?


References

[1] Editorial_board — Original article — https://reddit.com/r/LocalLLaMA/comments/1sfv6t5/hf_moves_safetensors_to_the_pytorch_foundation/

[2] TechCrunch — Apple moves to take its App Store fight back to the Supreme Court — https://techcrunch.com/2026/04/06/apple-epic-games-lawsuit-supreme-court-appeal-app-store-commission/

[3] VentureBeat — AI joins the 8-hour work day as GLM ships 5.1 open source LLM, beating Opus 4.6 and GPT-5.4 on SWE-Bench Pro — https://venturebeat.com/technology/ai-joins-the-8-hour-work-day-as-glm-ships-5-1-open-source-llm-beating-opus-4

[4] NVIDIA Blog — National Robotics Week — Latest Physical AI Research, Breakthroughs and Resources — https://blogs.nvidia.com/blog/national-robotics-week-2026/

toolAIeditorial_board
Share this article:

Was this article helpful?

Let us know to improve our AI generation.

Related Articles