forked from mlfoundations/open_clip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add torch flop counter to profiler (mlfoundations#693)
* Add torch flop counter * Moving fvcore to a try/catch * Fix undesired behavior of `transform.PreprocessCfg` * Remove cls_embed arg from forward/encode_image fns * Fix `model.get_model_preprocess_cfg` * Move CLIPA weights to UCSC-VLAA org * Remove outdated comment in pretrained.py * Fix arg not being passed to `image_transform` from `image_transform_v2` * remove hierarchical flop counting --------- Co-authored-by: Santiago Castro <[email protected]> Co-authored-by: Ross Wightman <[email protected]>
- Loading branch information
1 parent
4db1f41
commit 2a46bd9
Showing
1 changed file
with
120 additions
and
34 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