1vcian commited on
Commit
ad57346
·
verified ·
1 Parent(s): 3ddb0e0

Upload 19 files

Browse files
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "nielsr/slimsam-77-uniform",
4
+ "architectures": [
5
+ "SamModel"
6
+ ],
7
+ "initializer_range": 0.02,
8
+ "mask_decoder_config": {
9
+ "model_type": "",
10
+ "torch_dtype": "float32"
11
+ },
12
+ "model_type": "sam",
13
+ "prompt_encoder_config": {
14
+ "model_type": "",
15
+ "torch_dtype": "float32"
16
+ },
17
+ "torch_dtype": "float32",
18
+ "transformers_version": "4.49.0",
19
+ "vision_config": {
20
+ "hidden_size": 168,
21
+ "mlp_dim": 696,
22
+ "model_type": "",
23
+ "torch_dtype": "float32"
24
+ }
25
+ }
onnx/prompt_encoder_mask_decoder.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26d96dc42b19b9b74c64409d6ab9e0147b03d53479caec94f90cd2e335a1fc8d
3
+ size 16516375
onnx/prompt_encoder_mask_decoder_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07d33d6142ac21e61b70e2e2b7d6c9b5683347e314e9c0866596e02307b09f0a
3
+ size 2890026
onnx/prompt_encoder_mask_decoder_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c7ae53fd0f8d94d2b0f745e1ed567e75f0c8ad42daee0a4181644b499c824f1
3
+ size 8400362
onnx/prompt_encoder_mask_decoder_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27437141bce4f1bc4d99a7cd91f5687e20bc8f2a85f6099285826ab87ea4983a
3
+ size 4751611
onnx/prompt_encoder_mask_decoder_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fda9300b9393a2d2a8cf4ee3ba1567bbc35ca413afd9ed749fc4f41f0a80a30b
3
+ size 3139940
onnx/prompt_encoder_mask_decoder_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7149b77443d7c82d8e0a1b04be41c7fab0c42fb67e027859dd42c17e569c8203
3
+ size 2708221
onnx/prompt_encoder_mask_decoder_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27437141bce4f1bc4d99a7cd91f5687e20bc8f2a85f6099285826ab87ea4983a
3
+ size 4751611
onnx/prompt_encoder_mask_decoder_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14e44156cf8ec159c1ef717ec706fee756c8cc365253fb3a59e83c7506b9348e
3
+ size 4751611
onnx/vision_encoder.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aef9101668f795abd0c9f9c06ece416251c5ecaffa6138bd38ffdf15c07484cf
3
+ size 28991189
onnx/vision_encoder_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:316903ca46d81952a0b4e2cf6e120342c7b8e20cf4775ea95ccdf252e6b5a9c3
3
+ size 14695092
onnx/vision_encoder_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d70713a42cdef20b2a1a8012e15d2e1f34be890013dec662dfe10869e17cf74
3
+ size 14611568
onnx/vision_encoder_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db40dc477098f150ebd1a12ff8ed4354e0c2a16a7edf7a9d71a5504b2aeee96c
3
+ size 14379733
onnx/vision_encoder_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c6fee37d631c9cc6833ed4974f5b84a4dc878eb87df7ef30409dfed62862a22
3
+ size 15211128
onnx/vision_encoder_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75de499983ae65a0a868b6bd781bcc171c76f029f2cfa88d1baeb003023825a2
3
+ size 8867835
onnx/vision_encoder_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:054fbca1cd94c300dd90fcc233d662736a89d7150106d29aedcaa64ba408197b
3
+ size 14379733
onnx/vision_encoder_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:054fbca1cd94c300dd90fcc233d662736a89d7150106d29aedcaa64ba408197b
3
+ size 14379733
preprocessor_config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": true,
3
+ "do_normalize": true,
4
+ "do_pad": true,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "image_mean": [
8
+ 0.485,
9
+ 0.456,
10
+ 0.406
11
+ ],
12
+ "image_processor_type": "SamImageProcessor",
13
+ "image_std": [
14
+ 0.229,
15
+ 0.224,
16
+ 0.225
17
+ ],
18
+ "mask_pad_size": {
19
+ "height": 256,
20
+ "width": 256
21
+ },
22
+ "mask_size": {
23
+ "longest_edge": 256
24
+ },
25
+ "pad_size": {
26
+ "height": 1024,
27
+ "width": 1024
28
+ },
29
+ "processor_class": "SamProcessor",
30
+ "resample": 2,
31
+ "rescale_factor": 0.00392156862745098,
32
+ "size": {
33
+ "longest_edge": 1024
34
+ }
35
+ }
quantize_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "modes": [
3
+ "fp16"
4
+ ],
5
+ "per_channel": true,
6
+ "reduce_range": true,
7
+ "block_size": null,
8
+ "is_symmetric": true,
9
+ "accuracy_level": null,
10
+ "quant_type": 1,
11
+ "op_block_list": null
12
+ }