Skip to content

Commit 3b50602

Browse files
committed
Updated License
1 parent 265d7dc commit 3b50602

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

examples/models/stable_diffusion/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Copyright (c) Meta Platforms, Inc. and affiliates.
2-
# All rights reserved.
1+
# Copyright (c) Intel Corporation
32
#
4-
# This source code is licensed under the BSD-style license found in the
3+
# Licensed under the BSD License (the "License"); you may not use this file
4+
# except in compliance with the License. See the license file found in the
55
# LICENSE file in the root directory of this source tree.
66

77
from .model import LCMModelLoader, TextEncoderWrapper, UNetWrapper, VAEDecoder

examples/openvino/stable_diffusion/export_lcm.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,10 @@
1414
import torch
1515
from torch.export import export
1616

17-
# Add examples/models to path for imports
18-
sys.path.append(os.path.join(os.path.dirname(__file__), "../.."))
19-
2017
from executorch.backends.openvino.partitioner import OpenvinoPartitioner
2118
from executorch.exir import ExecutorchBackendConfig, to_edge_transform_and_lower
2219
from executorch.exir.backend.backend_details import CompileSpec
23-
from models.stable_diffusion.model import LCMModelLoader
20+
from executorch.examples.models.stable_diffusion.model import LCMModelLoader
2421

2522
# Configure logging
2623
logging.basicConfig(level=logging.INFO)

0 commit comments

Comments
 (0)