alex-ht
commited on
Commit
·
1e23791
1
Parent(s):
dd09d1b
update
Browse files- ultravox_model.py +3 -3
ultravox_model.py
CHANGED
@@ -51,9 +51,9 @@ class UltravoxModel(transformers.LlamaPreTrainedModel):
|
|
51 |
# Determine no_split_modules dynamically to use with FSDP auto_wrap policy.
|
52 |
# FSDP throws an error if some of the layer types are not found in the model.
|
53 |
# This would be something like ["LlamaDecoderLayer", "WhisperEncoderLayer"]
|
54 |
-
self._no_split_modules = (self.language_model._no_split_modules or []) + (
|
55 |
-
|
56 |
-
)
|
57 |
|
58 |
self.loss_config = LossConfig()
|
59 |
self.post_init()
|
|
|
51 |
# Determine no_split_modules dynamically to use with FSDP auto_wrap policy.
|
52 |
# FSDP throws an error if some of the layer types are not found in the model.
|
53 |
# This would be something like ["LlamaDecoderLayer", "WhisperEncoderLayer"]
|
54 |
+
#self._no_split_modules = (self.language_model._no_split_modules or []) + (
|
55 |
+
# self.audio_tower._no_split_modules or []
|
56 |
+
#)
|
57 |
|
58 |
self.loss_config = LossConfig()
|
59 |
self.post_init()
|