IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
03d2e5d
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"library": "transformers", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"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": "77e62a3eef699bce70248c56d35c703369938b85", | |
"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": 1004.27776, | |
"max_global_vram": 2524.13952, | |
"max_process_vram": 234889.601024, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 119, | |
"total": 0.9971429357528688, | |
"mean": 0.008379352401284611, | |
"stdev": 0.00014867369509974292, | |
"p50": 0.00833918285369873, | |
"p90": 0.008601231002807616, | |
"p95": 0.008683071422576905, | |
"p99": 0.008851473579406738, | |
"values": [ | |
0.008377902984619141, | |
0.008513102531433106, | |
0.008619181632995606, | |
0.008851502418518066, | |
0.008856142044067383, | |
0.00885134220123291, | |
0.008770221710205079, | |
0.008745742797851562, | |
0.00865134334564209, | |
0.008478862762451172, | |
0.00831406307220459, | |
0.008259662628173828, | |
0.008169902801513671, | |
0.008204303741455077, | |
0.008252622604370118, | |
0.008271822929382324, | |
0.008355982780456543, | |
0.008231022834777831, | |
0.008211183547973632, | |
0.008210703849792481, | |
0.008183503150939941, | |
0.008257102966308594, | |
0.008372782707214355, | |
0.008392783164978027, | |
0.008378703117370606, | |
0.008299983024597168, | |
0.008309103012084961, | |
0.008291023254394531, | |
0.00824846363067627, | |
0.008254222869873047, | |
0.008265262603759765, | |
0.008275342941284179, | |
0.008270222663879395, | |
0.008200943946838379, | |
0.008251023292541505, | |
0.008500622749328614, | |
0.00871518325805664, | |
0.008587501525878906, | |
0.008372142791748046, | |
0.008335022926330567, | |
0.008419663429260253, | |
0.008407342910766601, | |
0.008464462280273437, | |
0.008349263191223144, | |
0.008362703323364258, | |
0.008425422668457031, | |
0.008335823059082032, | |
0.008298063278198242, | |
0.0083079833984375, | |
0.008271823883056641, | |
0.008271183013916016, | |
0.008222542762756347, | |
0.008345582962036132, | |
0.008657261848449707, | |
0.008615662574768066, | |
0.00854238224029541, | |
0.00852910327911377, | |
0.008604303359985351, | |
0.008600462913513183, | |
0.008583023071289062, | |
0.008521422386169434, | |
0.008487342834472656, | |
0.008447503089904785, | |
0.008442863464355469, | |
0.008397262573242187, | |
0.008371183395385742, | |
0.008324624061584473, | |
0.008452942848205566, | |
0.00829070281982422, | |
0.00836158275604248, | |
0.008292304039001466, | |
0.008296943664550782, | |
0.008287663459777833, | |
0.008286063194274901, | |
0.008291502952575684, | |
0.008302702903747558, | |
0.008230703353881836, | |
0.008280464172363281, | |
0.008679503440856934, | |
0.00856478214263916, | |
0.008459342956542968, | |
0.008452942848205566, | |
0.008383342742919922, | |
0.008404143333435058, | |
0.008374703407287598, | |
0.008366063117980957, | |
0.008305583000183105, | |
0.008340462684631348, | |
0.008340303421020507, | |
0.00833918285369873, | |
0.008358222961425781, | |
0.008422542572021484, | |
0.008503022193908692, | |
0.008421262741088868, | |
0.008412623405456543, | |
0.008379982948303224, | |
0.008424622535705566, | |
0.008307502746582032, | |
0.008388463020324708, | |
0.00826606273651123, | |
0.008435982704162598, | |
0.008307502746582032, | |
0.008298863410949707, | |
0.008284462928771972, | |
0.00822350311279297, | |
0.008291342735290527, | |
0.008311503410339356, | |
0.00826638412475586, | |
0.008241743087768554, | |
0.008207822799682617, | |
0.008289743423461914, | |
0.008249423027038575, | |
0.008271822929382324, | |
0.008269103050231933, | |
0.00826174259185791, | |
0.008273102760314942, | |
0.008263023376464843, | |
0.008287503242492675, | |
0.008276304244995118 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 119.34096480375898 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |