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
b1b87bb
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", | |
"model": "google/vit-base-patch16-224", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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": "ebd20fcf042acf5db8d8956e7057fa93c82e14ab", | |
"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": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1063.350272, | |
"max_global_vram": 778.448896, | |
"max_process_vram": 172200.849408, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.912704 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 160, | |
"total": 0.995341510295868, | |
"mean": 0.0062208844393491745, | |
"stdev": 0.00031795433201691175, | |
"p50": 0.006127607822418213, | |
"p90": 0.006464600706100464, | |
"p95": 0.006590344834327697, | |
"p99": 0.006915193562507629, | |
"values": [ | |
0.006601287841796875, | |
0.006228649139404297, | |
0.006265287876129151, | |
0.006227688789367676, | |
0.006357129096984863, | |
0.006467048168182373, | |
0.006464328765869141, | |
0.006441129207611084, | |
0.006437289237976074, | |
0.006388328075408936, | |
0.006423048973083496, | |
0.006379368782043457, | |
0.00657184886932373, | |
0.006338088035583496, | |
0.006248009204864502, | |
0.006167208194732666, | |
0.006090249061584473, | |
0.006121928215026855, | |
0.006125288009643555, | |
0.00613456916809082, | |
0.006143208026885986, | |
0.0061088080406188966, | |
0.006146568775177002, | |
0.006094727993011475, | |
0.006133448123931884, | |
0.006141929149627685, | |
0.006165927886962891, | |
0.006134888172149658, | |
0.006143208980560303, | |
0.00613808822631836, | |
0.006147848129272461, | |
0.006164809226989746, | |
0.006154248237609863, | |
0.006174407958984375, | |
0.006136487960815429, | |
0.006122407913208008, | |
0.006097608089447022, | |
0.0061195287704467775, | |
0.006072648048400879, | |
0.00609392786026001, | |
0.006030407905578614, | |
0.006129767894744873, | |
0.006100008010864258, | |
0.006108489036560059, | |
0.006088808059692383, | |
0.006115528106689453, | |
0.006120968818664551, | |
0.00614688777923584, | |
0.006154407978057861, | |
0.006163848876953125, | |
0.009538573265075683, | |
0.006232647895812988, | |
0.006095848083496094, | |
0.00605712890625, | |
0.006078407764434814, | |
0.00609056806564331, | |
0.006096968173980713, | |
0.006069768905639648, | |
0.006084807872772217, | |
0.006115367889404297, | |
0.0060934491157531735, | |
0.006020328044891357, | |
0.006292007923126221, | |
0.006091848850250244, | |
0.006109288215637207, | |
0.0061051278114318845, | |
0.006105768203735352, | |
0.006081768035888672, | |
0.006118728160858154, | |
0.0061265678405761715, | |
0.006150729179382324, | |
0.006153287887573242, | |
0.006150407791137695, | |
0.006129608154296875, | |
0.006157127857208252, | |
0.006128647804260254, | |
0.006135367870330811, | |
0.0061356878280639645, | |
0.006133129119873047, | |
0.006136648178100586, | |
0.006126088142395019, | |
0.006166248798370361, | |
0.00618128776550293, | |
0.006201128005981446, | |
0.006359689235687256, | |
0.00615552806854248, | |
0.006121288776397705, | |
0.006174888134002686, | |
0.006133607864379883, | |
0.006088168144226074, | |
0.0060832080841064454, | |
0.006099847793579102, | |
0.006082249164581299, | |
0.0060836877822875975, | |
0.0060910477638244625, | |
0.00609168815612793, | |
0.006067208766937256, | |
0.0061136078834533696, | |
0.006072807788848877, | |
0.006077288150787353, | |
0.006081128120422363, | |
0.006051047801971436, | |
0.006080167770385742, | |
0.0060550479888916015, | |
0.006016327857971192, | |
0.00609392786026001, | |
0.006111688137054443, | |
0.0061473679542541505, | |
0.006085768222808838, | |
0.006070248126983643, | |
0.006066568851470947, | |
0.006077127933502197, | |
0.006070727825164795, | |
0.0061419281959533695, | |
0.006082728862762451, | |
0.006087048053741455, | |
0.0060574479103088375, | |
0.006104329109191895, | |
0.006120327949523926, | |
0.006952009201049805, | |
0.006889609813690185, | |
0.006628008842468261, | |
0.0065574488639831546, | |
0.006436327934265137, | |
0.006556808948516846, | |
0.006516969203948975, | |
0.006437129020690918, | |
0.006589768886566162, | |
0.006408968925476074, | |
0.006371367931365967, | |
0.006535048961639404, | |
0.006690568923950195, | |
0.006859368801116943, | |
0.006642088890075683, | |
0.006441127777099609, | |
0.0063489689826965335, | |
0.006453128814697265, | |
0.006304327964782715, | |
0.006468328952789306, | |
0.006452808856964112, | |
0.006334727764129639, | |
0.006318569183349609, | |
0.006153768062591553, | |
0.006125129222869873, | |
0.006107059955596924, | |
0.006072487831115723, | |
0.006082727909088135, | |
0.006077928066253662, | |
0.0060929679870605465, | |
0.006089929103851318, | |
0.006098087787628174, | |
0.00606816816329956, | |
0.006081287860870361, | |
0.006076807975769043, | |
0.006084968090057373, | |
0.006098408222198487, | |
0.00607968807220459, | |
0.006082888126373291, | |
0.006124328136444092, | |
0.006092648029327393 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 160.74884684799247 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |