rocm
/
cuda_inference_transformers_image-classification_google
/vit-base-patch16-224
/benchmark.json
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
3252b73
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"library": "transformers", | |
"model": "google/vit-base-patch16-224", | |
"processor": "google/vit-base-patch16-224", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"hub_kwargs": {}, | |
"no_weights": true, | |
"device_map": null, | |
"torch_dtype": null, | |
"eval_mode": true, | |
"to_bettertransformer": false, | |
"low_cpu_mem_usage": null, | |
"attn_implementation": null, | |
"cache_implementation": null, | |
"autocast_enabled": false, | |
"autocast_dtype": null, | |
"torch_compile": false, | |
"torch_compile_target": "forward", | |
"torch_compile_config": {}, | |
"quantization_scheme": null, | |
"quantization_config": {}, | |
"deepspeed_inference": false, | |
"deepspeed_inference_config": {}, | |
"peft_type": null, | |
"peft_config": {} | |
}, | |
"scenario": { | |
"name": "inference", | |
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario", | |
"iterations": 1, | |
"duration": 1, | |
"warmup_runs": 1, | |
"input_shapes": { | |
"batch_size": 1, | |
"num_choices": 2, | |
"sequence_length": 2 | |
}, | |
"new_tokens": null, | |
"latency": true, | |
"memory": true, | |
"energy": false, | |
"forward_kwargs": {}, | |
"generate_kwargs": { | |
"max_new_tokens": 2, | |
"min_new_tokens": 2 | |
}, | |
"call_kwargs": { | |
"num_inference_steps": 2 | |
} | |
}, | |
"launcher": { | |
"name": "process", | |
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher", | |
"device_isolation": true, | |
"device_isolation_action": "error", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.2.1", | |
"optimum_benchmark_commit": "1981150adc21fc49153cb832dbc6f0ecca02bc2a", | |
"transformers_version": "4.41.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1060.478976, | |
"max_global_vram": 1758.101504, | |
"max_process_vram": 183517.835264, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.30752 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 151, | |
"total": 0.9955946640968325, | |
"mean": 0.0065933421463366376, | |
"stdev": 8.372552001892579e-05, | |
"p50": 0.006572802066802979, | |
"p90": 0.006698721885681152, | |
"p95": 0.006741441488265991, | |
"p99": 0.0068309614658355715, | |
"values": [ | |
0.006632001876831055, | |
0.006643362045288086, | |
0.006628641128540039, | |
0.006679841995239258, | |
0.006655362129211426, | |
0.006729281902313232, | |
0.006821281909942627, | |
0.006783681869506836, | |
0.006682721138000489, | |
0.006721442222595215, | |
0.006748961925506592, | |
0.00702960205078125, | |
0.006723202228546142, | |
0.006734401226043701, | |
0.006646401882171631, | |
0.00666608190536499, | |
0.0066678419113159176, | |
0.006657601833343506, | |
0.006642401218414307, | |
0.006637442111968994, | |
0.006574562072753906, | |
0.006562081813812256, | |
0.006574721813201905, | |
0.006540000915527344, | |
0.0065889620780944826, | |
0.0066011219024658205, | |
0.006562561988830567, | |
0.006606881141662598, | |
0.006624321937561035, | |
0.0065963220596313476, | |
0.006519522190093994, | |
0.0065609607696533205, | |
0.0065724821090698245, | |
0.006519681930541992, | |
0.006592802047729492, | |
0.006548801898956299, | |
0.006539841175079345, | |
0.0066152019500732425, | |
0.006564961910247803, | |
0.006588002204895019, | |
0.006552960872650147, | |
0.006569441795349121, | |
0.006562722206115723, | |
0.00653728199005127, | |
0.006560320854187012, | |
0.006511201858520508, | |
0.006512802124023437, | |
0.006484961986541748, | |
0.006540640830993653, | |
0.0065248022079467775, | |
0.006492482185363769, | |
0.006531042098999023, | |
0.0065078411102294925, | |
0.006486240863800049, | |
0.006527361869812012, | |
0.006554401874542236, | |
0.006620001792907715, | |
0.006606081008911133, | |
0.006592321872711182, | |
0.0066067218780517575, | |
0.006598721981048584, | |
0.006526721000671387, | |
0.006584482192993164, | |
0.0065633621215820314, | |
0.006555202007293701, | |
0.00658928108215332, | |
0.006583521842956543, | |
0.006557281970977783, | |
0.006550082206726074, | |
0.0065425620079040524, | |
0.006505121231079101, | |
0.006560801982879639, | |
0.006541761875152588, | |
0.006535521984100342, | |
0.006554720878601074, | |
0.006504642009735107, | |
0.00652528190612793, | |
0.0065633621215820314, | |
0.006561281204223633, | |
0.006573922157287597, | |
0.006681602001190185, | |
0.006598082065582276, | |
0.006583200931549072, | |
0.006564480781555176, | |
0.006595042228698731, | |
0.006695841789245606, | |
0.006624001979827881, | |
0.006748321056365966, | |
0.0067345619201660155, | |
0.006727521896362305, | |
0.006676802158355713, | |
0.006676482200622559, | |
0.006657920837402344, | |
0.006657442092895508, | |
0.006684162139892578, | |
0.006655841827392578, | |
0.006679202079772949, | |
0.006604160785675049, | |
0.006499361991882324, | |
0.006574562072753906, | |
0.006520482063293457, | |
0.006536160945892334, | |
0.0065248022079467775, | |
0.006548001766204834, | |
0.006448801994323731, | |
0.006486560821533203, | |
0.006584002017974854, | |
0.006568801879882812, | |
0.0065564818382263185, | |
0.006808802127838135, | |
0.006840641021728515, | |
0.006763041973114014, | |
0.006699682235717774, | |
0.006650402069091797, | |
0.006558722019195557, | |
0.006592000961303711, | |
0.006592162132263183, | |
0.0065510420799255375, | |
0.00656784200668335, | |
0.006582241058349609, | |
0.006547360897064209, | |
0.0065681619644165036, | |
0.006569282054901123, | |
0.00658912181854248, | |
0.006593760967254639, | |
0.006606242179870605, | |
0.006688322067260742, | |
0.006698721885681152, | |
0.006627841949462891, | |
0.006575201034545898, | |
0.006568642139434815, | |
0.006551362037658691, | |
0.006566721916198731, | |
0.006549120903015137, | |
0.006552001953125, | |
0.006572802066802979, | |
0.006587522029876709, | |
0.00662592077255249, | |
0.006496322154998779, | |
0.0065400018692016604, | |
0.006504642009735107, | |
0.0064798412322998045, | |
0.00648320198059082, | |
0.006553281784057617, | |
0.006501761913299561, | |
0.006487680912017822, | |
0.00651328182220459, | |
0.006505281925201416, | |
0.006498082160949707, | |
0.006469120979309082, | |
0.006480161190032959 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 151.66814914278572 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |