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
from __future__ import annotations | |
import torch | |
import os | |
import sys | |
import json | |
import hashlib | |
import traceback | |
import math | |
import time |
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
import argparse | |
import os | |
import time | |
import torch | |
from crossing.model_providers.diffusers.pipelines.pipeline_mochi import MochiPipeline | |
from diffusers.utils import export_to_video | |
import imageio | |
from nexfort.quantization import quantize | |
from nexfort.compilers.transform_model import transform_model | |
from crossing.core.nn import Linear |