Skip to content

Commit

Permalink
removing unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
nnshah1 committed Feb 29, 2024
1 parent e898c7b commit 66b4c97
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,19 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

import argparse
import json
import os
import shutil
import sys
import time

import numpy as np
import torch
from cuda import cudart

file_location = os.path.dirname(os.path.realpath(__file__))

sys.path.insert(0, os.path.join(file_location, "Diffusion"))

import numpy as np
import torch
import triton_python_backend_utils as pb_utils
from Diffusion.stable_diffusion_pipeline import StableDiffusionPipeline
from Diffusion.utilities import (
Expand All @@ -47,7 +45,6 @@
add_arguments,
process_pipeline_args,
)

Check notice

Code scanning / CodeQL

Unused import Note

Import of 'TRT_LOGGER' is not used.
Import of 'add_arguments' is not used.
Import of 'process_pipeline_args' is not used.
from tqdm.auto import tqdm


class TritonPythonModel:
Expand Down

0 comments on commit 66b4c97

Please sign in to comment.