donaldafeith/Pytorch_Merge
Merge LLM that are split in to parts
This tool helps machine learning engineers combine two or more PyTorch model weight files (.bin) into a single file. It takes individual model weight files and a configuration file as input, then produces a unified .bin file. This is useful for those managing or deploying large language models where individual components need to be consolidated or averaged.
No commits in the last 6 months. Available on PyPI.
Use this if you need to merge the weight files of multiple compatible PyTorch models, especially if they are parts of a larger model or you want to average their parameters.
Not ideal if your models have different architectures or were trained on disparate datasets, as merging them might not yield functional results.
Stars
27
Forks
3
Language
Python
License
GPL-3.0
Category
Last pushed
Jul 24, 2025
Commits (30d)
0
Dependencies
3
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/transformers/donaldafeith/Pytorch_Merge"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
AI-Hypercomputer/maxtext
A simple, performant and scalable Jax LLM!
rasbt/reasoning-from-scratch
Implement a reasoning LLM in PyTorch from scratch, step by step
mindspore-lab/mindnlp
MindSpore + 🤗Huggingface: Run any Transformers/Diffusers model on MindSpore with seamless...
mosaicml/llm-foundry
LLM training code for Databricks foundation models
rickiepark/llm-from-scratch
<밑바닥부터 만들면서 공부하는 LLM>(길벗, 2025)의 코드 저장소