Implement wav2vec2 as an audio encoder model. (#9549)

This is useless on its own but there are multiple models that use it.
This commit is contained in:
comfyanonymous
2025-08-25 20:26:47 -07:00
committed by GitHub
parent e633a47ad1
commit 914c2a2973
5 changed files with 302 additions and 0 deletions

View File

@@ -730,6 +730,14 @@ class AnyType(ComfyTypeIO):
class MODEL_PATCH(ComfyTypeIO):
Type = Any
@comfytype(io_type="AUDIO_ENCODER")
class AUDIO_ENCODER(ComfyTypeIO):
Type = Any
@comfytype(io_type="AUDIO_ENCODER_OUTPUT")
class AUDIO_ENCODER_OUTPUT(ComfyTypeIO):
Type = Any
@comfytype(io_type="COMFY_MULTITYPED_V3")
class MultiType:
Type = Any