This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script was adapted from merge.py from the KoboldAI discord server. | |
# I believe the original author is concedo | |
import os | |
import gc | |
import json | |
import shutil | |
import resource | |
import torch |