Update Readme.md
Browse files
README.md
CHANGED
|
@@ -35,6 +35,22 @@ For detailed implementation and architecture specifics, refer to the [MobileCLIP
|
|
| 35 |
|:---------|:-------------|:------------|:-------------|:-----------------|:-------------------|:-------------|:----------------|
|
| 36 |
| CLIP Image| input_image | 256 | 256 | RGB | output_embeddings | (1,512) | FLOAT16 |
|
| 37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
*These are example scripts for performing the conversion to CoreML*
|
| 40 |
|
|
|
|
| 35 |
|:---------|:-------------|:------------|:-------------|:-----------------|:-------------------|:-------------|:----------------|
|
| 36 |
| CLIP Image| input_image | 256 | 256 | RGB | output_embeddings | (1,512) | FLOAT16 |
|
| 37 |
|
| 38 |
+
## CoreML Profile (Benchmark) on Apple M1
|
| 39 |
+
|
| 40 |
+
| Prediction Times Apple M1 | CPU + ANE | CPU + GPU | CPU Only |
|
| 41 |
+
|:--------------------------|:---------:|:---------:|:--------:|
|
| 42 |
+
| clip_image_s0 | 1.4ms | 7.4ms | 12.7ms |
|
| 43 |
+
| clip_image_s1 | 2.1ms | 13.3ms | 21.8ms |
|
| 44 |
+
| clip_image_s2 | 3.0ms | 19.0ms | 28.5ms |
|
| 45 |
+
| clip_image_b | 12.4ms | 36.2ms | 38.1ms |
|
| 46 |
+
| | | | |
|
| 47 |
+
| clip_text_s0 | 1.1ms | 4.1ms | 4.8ms |
|
| 48 |
+
| clip_text_s1 | 2.0ms | 7.1ms | 9.5ms |
|
| 49 |
+
| clip_text_s2 | 2.0ms | 7.1ms | 10ms |
|
| 50 |
+
| clip_text_b | 2.0ms | 7.2ms | 9.8ms |
|
| 51 |
+
|
| 52 |
+
The profile was conducted using this tool: [CoreMLProfiler](https://github.com/fguzman82/CoreMLProfiler).
|
| 53 |
+

|
| 54 |
|
| 55 |
*These are example scripts for performing the conversion to CoreML*
|
| 56 |
|