Skip to content

Instantly share code, notes, and snippets.

View R-N's full-sized avatar

Muhammad Rizqi Nur R-N

View GitHub Profile
# Script by https://github.com/ProGamerGov
import copy
import torch
import argparse
from safetensors.torch import load_file, save_file
parser = argparse.ArgumentParser(description="Merge model and vae")
parser.add_argument("model", type=str, help="Path to model")
parser.add_argument("vae", type=str, help="Path to vae")