Skip to content

Instantly share code, notes, and snippets.

View RohitDhankar's full-sized avatar
💭
searching

Rohit Dhankar RohitDhankar

💭
searching
View GitHub Profile
"""
Examples:
(1) python benchmark_distilled_sd.py --pipeline_id CompVis/stable-diffusion-v1-4
(2) python benchmark_distilled_sd.py --pipeline_id CompVis/stable-diffusion-v1-4 --vae_path sayakpaul/taesd-diffusers
(3) python benchmark_distilled_sd.py --pipeline_id nota-ai/bk-sdm-small
(4) python benchmark_distilled_sd.py --pipeline_id nota-ai/bk-sdm-small --vae_path sayakpaul/taesd-diffusers
"""
import argparse
import time
# Import Pandas Library
import pandas as pd
# Custom Exception Added
class AlreadyUpperCase(Exception):
def __init__(self):
super().__init__("DataFrame Provided Is Already In Upper Case")
pass