Skip to content

Commit 7385ead

Browse files
committed
v0.35.0
See https://github.com/quic/ai-hub-models/releases/v0.35.0 for changelog. Signed-off-by: QAIHM Team <[email protected] >
1 parent 727bdb3 commit 7385ead

File tree

325 files changed

+33856
-30765
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

325 files changed

+33856
-30765
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ and many more.
150150
| [ConvNext-Tiny](https://aihub.qualcomm.com/models/convnext_tiny) | [qai_hub_models.models.convnext_tiny](qai_hub_models/models/convnext_tiny/README.md) |
151151
| [DLA-102-X](https://aihub.qualcomm.com/models/dla102x) | [qai_hub_models.models.dla102x](qai_hub_models/models/dla102x/README.md) |
152152
| [DenseNet-121](https://aihub.qualcomm.com/models/densenet121) | [qai_hub_models.models.densenet121](qai_hub_models/models/densenet121/README.md) |
153-
| [EfficientFormer](qai_hub_models/models/efficientformer/README.md) | [qai_hub_models.models.efficientformer](qai_hub_models/models/efficientformer/README.md) |
153+
| [EfficientFormer](https://aihub.qualcomm.com/models/efficientformer) | [qai_hub_models.models.efficientformer](qai_hub_models/models/efficientformer/README.md) |
154154
| [EfficientNet-B0](https://aihub.qualcomm.com/models/efficientnet_b0) | [qai_hub_models.models.efficientnet_b0](qai_hub_models/models/efficientnet_b0/README.md) |
155155
| [EfficientNet-B4](https://aihub.qualcomm.com/models/efficientnet_b4) | [qai_hub_models.models.efficientnet_b4](qai_hub_models/models/efficientnet_b4/README.md) |
156156
| [EfficientNet-V2-s](https://aihub.qualcomm.com/models/efficientnet_v2_s) | [qai_hub_models.models.efficientnet_v2_s](qai_hub_models/models/efficientnet_v2_s/README.md) |
@@ -202,7 +202,7 @@ and many more.
202202
| [DDRNet23-Slim](https://aihub.qualcomm.com/models/ddrnet23_slim) | [qai_hub_models.models.ddrnet23_slim](qai_hub_models/models/ddrnet23_slim/README.md) |
203203
| [DeepLabV3-Plus-MobileNet](https://aihub.qualcomm.com/models/deeplabv3_plus_mobilenet) | [qai_hub_models.models.deeplabv3_plus_mobilenet](qai_hub_models/models/deeplabv3_plus_mobilenet/README.md) |
204204
| [DeepLabV3-ResNet50](https://aihub.qualcomm.com/models/deeplabv3_resnet50) | [qai_hub_models.models.deeplabv3_resnet50](qai_hub_models/models/deeplabv3_resnet50/README.md) |
205-
| [DeepLabXception](qai_hub_models/models/deeplab_xception/README.md) | [qai_hub_models.models.deeplab_xception](qai_hub_models/models/deeplab_xception/README.md) |
205+
| [DeepLabXception](https://aihub.qualcomm.com/models/deeplab_xception) | [qai_hub_models.models.deeplab_xception](qai_hub_models/models/deeplab_xception/README.md) |
206206
| [EfficientViT-l2-seg](https://aihub.qualcomm.com/models/efficientvit_l2_seg) | [qai_hub_models.models.efficientvit_l2_seg](qai_hub_models/models/efficientvit_l2_seg/README.md) |
207207
| [FCN-ResNet50](https://aihub.qualcomm.com/models/fcn_resnet50) | [qai_hub_models.models.fcn_resnet50](qai_hub_models/models/fcn_resnet50/README.md) |
208208
| [FFNet-122NS-LowRes](https://aihub.qualcomm.com/models/ffnet_122ns_lowres) | [qai_hub_models.models.ffnet_122ns_lowres](qai_hub_models/models/ffnet_122ns_lowres/README.md) |
@@ -289,7 +289,10 @@ and many more.
289289
| | |
290290
| **Speech Recognition**
291291
| [HuggingFace-WavLM-Base-Plus](https://aihub.qualcomm.com/models/huggingface_wavlm_base_plus) | [qai_hub_models.models.huggingface_wavlm_base_plus](qai_hub_models/models/huggingface_wavlm_base_plus/README.md) |
292+
| [Whisper-Base-En](https://aihub.qualcomm.com/models/whisper_base_en) | [qai_hub_models.models.whisper_base_en](qai_hub_models/models/whisper_base_en/README.md) |
292293
| [Whisper-Large-V3-Turbo](https://aihub.qualcomm.com/models/whisper_large_v3_turbo) | [qai_hub_models.models.whisper_large_v3_turbo](qai_hub_models/models/whisper_large_v3_turbo/README.md) |
294+
| [Whisper-Small-En](https://aihub.qualcomm.com/models/whisper_small_en) | [qai_hub_models.models.whisper_small_en](qai_hub_models/models/whisper_small_en/README.md) |
295+
| [Whisper-Tiny-En](https://aihub.qualcomm.com/models/whisper_tiny_en) | [qai_hub_models.models.whisper_tiny_en](qai_hub_models/models/whisper_tiny_en/README.md) |
293296
| | |
294297
| **Audio Classification**
295298
| [YamNet](https://aihub.qualcomm.com/models/yamnet) | [qai_hub_models.models.yamnet](qai_hub_models/models/yamnet/README.md) |

qai_hub_models/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# SPDX-License-Identifier: BSD-3-Clause
44
# ---------------------------------------------------------------------
55

6-
__version__ = "0.34.3"
6+
__version__ = "0.35.0"

qai_hub_models/configs/code_gen_yaml.py

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,28 @@ class QAIHMModelCodeGen(BaseQAIHMConfig):
145145
python_version_less_than: Optional[str] = None
146146
python_version_less_than_reason: Optional[str] = None
147147

148-
def is_supported(self, precision: Precision, runtime: TargetRuntime) -> bool:
148+
def is_supported(
149+
self,
150+
precision: Precision,
151+
runtime: TargetRuntime,
152+
consider_scorecard_failures: bool = True,
153+
) -> bool:
149154
"""
150155
Return true if this precision + runtime combo is supported by this model.
151156
Return false if this model has a failure reason set for this runtime.
157+
158+
If consider_scorecard_failures is False, then scorecard failures in `code-gen.yaml`
159+
are ignored for the purposes of determining if a path is supported.
152160
"""
153-
return not bool(self.failure_reason(precision, runtime))
161+
return not bool(
162+
self.failure_reason(precision, runtime, consider_scorecard_failures)
163+
)
154164

155165
def failure_reason(
156-
self, precision: Precision, runtime: TargetRuntime
166+
self,
167+
precision: Precision,
168+
runtime: TargetRuntime,
169+
include_scorecard_failures: bool = True,
157170
) -> Optional[str]:
158171
"""
159172
Return the reason a model failed or None if the model did not fail.
@@ -174,7 +187,10 @@ def failure_reason(
174187

175188
if reason := self.disabled_paths.get_disable_reasons(precision, runtime):
176189
if reason.has_failure:
177-
return reason.failure_reason
190+
if include_scorecard_failures:
191+
return reason.failure_reason
192+
elif reason.scorecard_failure is None:
193+
return reason.failure_reason
178194

179195
return None
180196

qai_hub_models/models/aotgan/export.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,8 @@ def export_model(
237237
return export_without_hub_access(
238238
"aotgan",
239239
"AOT-GAN",
240-
hub_device.name or f"Device (Chipset {chipset})",
240+
hub_device.name,
241+
chipset,
241242
skip_profiling,
242243
skip_inferencing,
243244
skip_downloading,

0 commit comments

Comments
 (0)