-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into distributed_validation
- Loading branch information
Showing
34 changed files
with
1,458 additions
and
617 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
from .constants import OPENAI_DATASET_MEAN, OPENAI_DATASET_STD | ||
from .factory import list_models, create_model, create_model_and_transforms, add_model_config | ||
from .factory import create_model, create_model_and_transforms, create_model_from_pretrained | ||
from .factory import list_models, add_model_config, get_model_config, load_checkpoint | ||
from .loss import ClipLoss | ||
from .model import CLIP, CLIPTextCfg, CLIPVisionCfg, convert_weights_to_fp16, trace_model | ||
from .model import CLIP, CustomTextCLIP, CLIPTextCfg, CLIPVisionCfg,\ | ||
convert_weights_to_lp, convert_weights_to_fp16, trace_model, get_cast_dtype | ||
from .openai import load_openai_model, list_openai_models | ||
from .pretrained import list_pretrained, list_pretrained_tag_models, list_pretrained_model_tags,\ | ||
from .pretrained import list_pretrained, list_pretrained_models_by_tag, list_pretrained_tags_by_model,\ | ||
get_pretrained_url, download_pretrained_from_url, is_pretrained_cfg, get_pretrained_cfg, download_pretrained | ||
from .tokenizer import SimpleTokenizer, tokenize | ||
from .transform import image_transform |
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.