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
300b7b0
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", | |
"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.0", | |
"optimum_benchmark_commit": "519f5ad32b6cd1fea2bd501503e24d19a1e23c22", | |
"transformers_version": "4.40.2", | |
"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": 1061.060608, | |
"max_global_vram": 2404.143104, | |
"max_process_vram": 203570.925568, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.912704 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 149, | |
"total": 0.996204179763794, | |
"mean": 0.006685934092374456, | |
"stdev": 0.00036526317943259113, | |
"p50": 0.006599024772644043, | |
"p90": 0.007076016616821289, | |
"p95": 0.007112624073028565, | |
"p99": 0.007613288516998295, | |
"values": [ | |
0.008229101181030273, | |
0.007390063762664795, | |
0.007033423900604248, | |
0.007048143863677979, | |
0.007073264122009277, | |
0.007096303939819336, | |
0.007085104942321777, | |
0.00708382511138916, | |
0.007056623935699463, | |
0.007043344020843506, | |
0.007040624141693115, | |
0.006977584838867188, | |
0.007236464023590088, | |
0.006986704826354981, | |
0.006960305213928222, | |
0.006986063957214355, | |
0.006964944839477539, | |
0.007018703937530518, | |
0.006968463897705078, | |
0.00701310396194458, | |
0.007015985012054443, | |
0.00707806396484375, | |
0.007015664100646973, | |
0.006980303764343262, | |
0.007075504779815674, | |
0.007036624908447265, | |
0.007031343936920166, | |
0.007027984142303467, | |
0.007011184215545654, | |
0.007123504161834717, | |
0.007085423946380615, | |
0.007138864040374756, | |
0.0070799851417541505, | |
0.0070303850173950196, | |
0.0070190238952636715, | |
0.007079023838043213, | |
0.0070300641059875485, | |
0.006974545001983643, | |
0.007023663997650147, | |
0.007055183887481689, | |
0.007015183925628662, | |
0.00704750394821167, | |
0.006999663829803467, | |
0.007011505126953125, | |
0.00689134407043457, | |
0.0068219051361083985, | |
0.006994703769683838, | |
0.007293744087219238, | |
0.007351502895355224, | |
0.006998545169830323, | |
0.0067172651290893556, | |
0.006723024845123291, | |
0.006539346218109131, | |
0.006450385093688965, | |
0.006498546123504639, | |
0.006588945865631104, | |
0.007819342136383056, | |
0.006947665214538574, | |
0.0066803059577941895, | |
0.006598065853118897, | |
0.006592305183410645, | |
0.006624464988708496, | |
0.006685585021972656, | |
0.006465906143188476, | |
0.006478705883026123, | |
0.006479185104370117, | |
0.006560306072235108, | |
0.006837423801422119, | |
0.006519025802612305, | |
0.006561745166778565, | |
0.0066401448249816895, | |
0.006494225025177002, | |
0.006656626224517822, | |
0.006585745811462402, | |
0.006570384979248047, | |
0.006585424900054932, | |
0.006587184906005859, | |
0.00655470609664917, | |
0.006587184906005859, | |
0.006612625122070313, | |
0.006571505069732666, | |
0.006483345985412598, | |
0.006757905006408691, | |
0.006608945846557617, | |
0.006519824981689453, | |
0.006583984851837158, | |
0.0065972647666931155, | |
0.006756625175476074, | |
0.006599024772644043, | |
0.006491826057434082, | |
0.006697104930877685, | |
0.006182065963745117, | |
0.006482864856719971, | |
0.006249906063079834, | |
0.006503826141357422, | |
0.006125266075134277, | |
0.0061763057708740235, | |
0.006660464763641357, | |
0.006379025936126709, | |
0.006336145877838135, | |
0.0063417448997497555, | |
0.006303346157073975, | |
0.006144306182861328, | |
0.006151347160339355, | |
0.006078066825866699, | |
0.006165425777435302, | |
0.006136785984039306, | |
0.006173746109008789, | |
0.006478705883026123, | |
0.0065551848411560054, | |
0.006366866111755371, | |
0.006322065830230713, | |
0.006428306102752686, | |
0.006287506103515625, | |
0.006559185028076172, | |
0.006298545837402344, | |
0.006361586093902588, | |
0.0065350251197814945, | |
0.006856144905090332, | |
0.00646046495437622, | |
0.00650174617767334, | |
0.0069447851181030276, | |
0.006922544002532959, | |
0.006776945114135742, | |
0.00646574592590332, | |
0.006345105171203613, | |
0.006543506145477295, | |
0.0063857450485229495, | |
0.0069809451103210445, | |
0.006936304092407227, | |
0.006935985088348389, | |
0.006665105819702148, | |
0.006457265853881836, | |
0.006450545787811279, | |
0.006339985847473145, | |
0.006532465934753418, | |
0.006461265087127685, | |
0.006154545783996582, | |
0.006091026782989502, | |
0.006148945808410644, | |
0.006313106060028076, | |
0.0062963061332702635, | |
0.00614350700378418, | |
0.006113426208496094, | |
0.006126865863800048, | |
0.006129907131195068, | |
0.0061305460929870605, | |
0.006108466148376465, | |
0.006162065982818604 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 149.56773222466182 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |