ai-simple-engine-runtime-diffusers 0.0.1__py3-none-any.whl → 0.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ai_simple_engine_runtime_diffusers/plugin.py +2 -28
- {ai_simple_engine_runtime_diffusers-0.0.1.dist-info → ai_simple_engine_runtime_diffusers-0.0.2.dist-info}/METADATA +3 -3
- {ai_simple_engine_runtime_diffusers-0.0.1.dist-info → ai_simple_engine_runtime_diffusers-0.0.2.dist-info}/RECORD +5 -5
- {ai_simple_engine_runtime_diffusers-0.0.1.dist-info → ai_simple_engine_runtime_diffusers-0.0.2.dist-info}/WHEEL +0 -0
- {ai_simple_engine_runtime_diffusers-0.0.1.dist-info → ai_simple_engine_runtime_diffusers-0.0.2.dist-info}/licenses/LICENSE +0 -0
|
@@ -5,7 +5,7 @@ from ai_simple_engine.engine_builder import EngineBuilder
|
|
|
5
5
|
from ai_simple_engine.plugins.plugin import Plugin
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class
|
|
8
|
+
class DiffusersRuntimePlugin(
|
|
9
9
|
Plugin
|
|
10
10
|
):
|
|
11
11
|
"""
|
|
@@ -19,8 +19,6 @@ class DiffusersRuntimeMusicgenPlugin(
|
|
|
19
19
|
self,
|
|
20
20
|
builder: EngineBuilder
|
|
21
21
|
):
|
|
22
|
-
|
|
23
|
-
|
|
24
22
|
(
|
|
25
23
|
builder.add_model_loader(LatentDiffusionModelLoader)
|
|
26
24
|
)
|
|
@@ -42,28 +40,4 @@ class DiffusersRuntimeMusicgenPlugin(
|
|
|
42
40
|
scheduler_registry.register(
|
|
43
41
|
identifier,
|
|
44
42
|
cls
|
|
45
|
-
)
|
|
46
|
-
|
|
47
|
-
# scheduler_registry.register(
|
|
48
|
-
# 'euler',
|
|
49
|
-
# EulerDiscreteScheduler
|
|
50
|
-
# )
|
|
51
|
-
|
|
52
|
-
# TODO: This below was the 'musicgen'
|
|
53
|
-
# (
|
|
54
|
-
# builder
|
|
55
|
-
# .add_model_loader(MusicgenModelLoader())
|
|
56
|
-
# )
|
|
57
|
-
|
|
58
|
-
# """
|
|
59
|
-
# We obtain the registry that handles the
|
|
60
|
-
# model executors by the model's family,
|
|
61
|
-
# and we register our specific model
|
|
62
|
-
# executor that uses transformers.
|
|
63
|
-
# """
|
|
64
|
-
# registry = builder.get_or_add_service(FamilyModelExecutorRegistry)
|
|
65
|
-
|
|
66
|
-
# registry.register(
|
|
67
|
-
# MUSICGEN_MODEL_FAMILY,
|
|
68
|
-
# TransformersMusicgenModelExecutor()
|
|
69
|
-
# )
|
|
43
|
+
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ai-simple-engine-runtime-diffusers
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.2
|
|
4
4
|
Summary: AI Simple Engine Runtime Diffusers Module
|
|
5
5
|
License-File: LICENSE
|
|
6
6
|
Author: danialcala94
|
|
@@ -12,8 +12,8 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
12
12
|
Requires-Dist: ai-simple-engine (>=0.2.6,<1.0.0)
|
|
13
13
|
Requires-Dist: ai-simple-engine-common (>=0.0.3,<1.0.0)
|
|
14
14
|
Requires-Dist: ai-simple-engine-diffusion (>=0.0.2,<1.0.0)
|
|
15
|
-
Requires-Dist: diffusers (>=0.38.0,<
|
|
16
|
-
Requires-Dist: transformers (>=
|
|
15
|
+
Requires-Dist: diffusers (>=0.38.0,<9999.0.0)
|
|
16
|
+
Requires-Dist: transformers (>=5.12.1,<9999.0.0)
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
|
|
19
19
|
# AI Simple Engine Runtime Diffusers Module
|
|
@@ -19,8 +19,8 @@ ai_simple_engine_runtime_diffusers/models/scheduler/diffusers_scheduler.py,sha25
|
|
|
19
19
|
ai_simple_engine_runtime_diffusers/models/scheduler/registry/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
20
20
|
ai_simple_engine_runtime_diffusers/models/scheduler/registry/diffusers_scheduler_registry.py,sha256=i9nAd_T30oFFT65awnIw_Z6cDtctmN1NWxkQArXDugY,516
|
|
21
21
|
ai_simple_engine_runtime_diffusers/models/scheduler/utils.py,sha256=VSVeypJkrwaCTRZyYrmscE8g9_pufQ-AlZAhUD_3OKE,1111
|
|
22
|
-
ai_simple_engine_runtime_diffusers/plugin.py,sha256=
|
|
23
|
-
ai_simple_engine_runtime_diffusers-0.0.
|
|
24
|
-
ai_simple_engine_runtime_diffusers-0.0.
|
|
25
|
-
ai_simple_engine_runtime_diffusers-0.0.
|
|
26
|
-
ai_simple_engine_runtime_diffusers-0.0.
|
|
22
|
+
ai_simple_engine_runtime_diffusers/plugin.py,sha256=qVYlwwwmXR0MfEKI_WekfPsWX1cCyISIJ8JsON1s7xs,1365
|
|
23
|
+
ai_simple_engine_runtime_diffusers-0.0.2.dist-info/licenses/LICENSE,sha256=6kbiFSfobTZ7beWiKnHpN902HgBx-Jzgcme0SvKqhKY,1091
|
|
24
|
+
ai_simple_engine_runtime_diffusers-0.0.2.dist-info/METADATA,sha256=ffCzEdg8nzGCp9IqOoT8-9w9eGdZdQjCGVxLTUeFGE8,841
|
|
25
|
+
ai_simple_engine_runtime_diffusers-0.0.2.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
|
|
26
|
+
ai_simple_engine_runtime_diffusers-0.0.2.dist-info/RECORD,,
|
|
File without changes
|