-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [workflow] fixed build CI * polish * polish * polish * polish * polish
- Loading branch information
1 parent
5a44f08
commit c7eaf92
Showing
14 changed files
with
101 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,33 @@ | ||
from . import custom, diffusers, timm, torchaudio, torchrec, torchvision, transformers | ||
import os | ||
from . import custom, diffusers, timm, torchaudio, torchvision, transformers | ||
from .executor import run_fwd, run_fwd_bwd | ||
from .registry import model_zoo | ||
|
||
__all__ = ["model_zoo", "run_fwd", "run_fwd_bwd"] | ||
# We pick a subset of models for fast testing in order to reduce the total testing time | ||
COMMON_MODELS = [ | ||
'custom_hanging_param_model', | ||
'custom_nested_model', | ||
'custom_repeated_computed_layers', | ||
'custom_simple_net', | ||
'diffusers_clip_text_model', | ||
'diffusers_auto_encoder_kl', | ||
'diffusers_unet2d_model', | ||
'timm_densenet', | ||
'timm_resnet', | ||
'timm_swin_transformer', | ||
'torchaudio_wav2vec2_base', | ||
'torchaudio_conformer', | ||
'transformers_bert_for_masked_lm', | ||
'transformers_bloom_for_causal_lm', | ||
'transformers_falcon_for_causal_lm', | ||
'transformers_chatglm_for_conditional_generation', | ||
'transformers_llama_for_casual_lm', | ||
'transformers_vit_for_masked_image_modeling', | ||
'transformers_mistral_for_casual_lm' | ||
] | ||
|
||
IS_FAST_TEST = os.environ.get('FAST_TEST', '0') == '1' | ||
|
||
|
||
__all__ = ["model_zoo", "run_fwd", "run_fwd_bwd", 'COMMON_MODELS', 'IS_FAST_TEST'] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.