IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d7bee15
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", | |
"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": "619f91dd928d405e72e9e7724b958f1538ca7d80", | |
"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": 1003.872256, | |
"max_global_vram": 1878.839296, | |
"max_process_vram": 199927.586816, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 124, | |
"total": 1.0028007311820981, | |
"mean": 0.008087102670823373, | |
"stdev": 0.00033199278998071233, | |
"p50": 0.00802698516845703, | |
"p90": 0.008141913032531738, | |
"p95": 0.009121548175811768, | |
"p99": 0.009378007774353029, | |
"values": [ | |
0.009388348579406739, | |
0.008010424613952637, | |
0.009128988265991211, | |
0.009183069229125977, | |
0.009343388557434083, | |
0.008611547470092773, | |
0.009152989387512207, | |
0.009612030029296875, | |
0.00857138729095459, | |
0.009079387664794922, | |
0.007864665031433106, | |
0.007829783916473388, | |
0.007820505142211914, | |
0.0078120241165161135, | |
0.007806105136871338, | |
0.007816823959350586, | |
0.007804665088653564, | |
0.007816823959350586, | |
0.00784482479095459, | |
0.007844183921813965, | |
0.007821145057678223, | |
0.007839223861694337, | |
0.007944344997406006, | |
0.007907064914703369, | |
0.007814743995666503, | |
0.007812983989715576, | |
0.00782530403137207, | |
0.007799064159393311, | |
0.007862585067749023, | |
0.007888823986053466, | |
0.007886744976043702, | |
0.007848185062408447, | |
0.007836023807525634, | |
0.007828985214233398, | |
0.007875864028930663, | |
0.007831544876098632, | |
0.009156508445739746, | |
0.008384666442871093, | |
0.008082744598388671, | |
0.008042104721069336, | |
0.00799762487411499, | |
0.008028505325317382, | |
0.008072504997253418, | |
0.008020504951477051, | |
0.00803282642364502, | |
0.008009625434875487, | |
0.008081945419311523, | |
0.008017945289611816, | |
0.008047545433044433, | |
0.008061626434326171, | |
0.008050424575805664, | |
0.008016345024108886, | |
0.008029945373535156, | |
0.008021784782409667, | |
0.008009784698486328, | |
0.00803394603729248, | |
0.008021305084228516, | |
0.00802434539794922, | |
0.008035385131835937, | |
0.008033305168151856, | |
0.007996984958648682, | |
0.008005145072937012, | |
0.008045624732971192, | |
0.00802978515625, | |
0.008021305084228516, | |
0.008026905059814453, | |
0.008073144912719727, | |
0.008024504661560058, | |
0.00803858470916748, | |
0.00804610538482666, | |
0.008053625106811523, | |
0.008037944793701172, | |
0.00801618480682373, | |
0.008002904891967774, | |
0.008016024589538574, | |
0.008000185012817383, | |
0.007990904808044434, | |
0.007983864784240723, | |
0.00802274513244629, | |
0.007982104778289796, | |
0.008036504745483399, | |
0.008028985023498535, | |
0.008029624938964844, | |
0.008030425071716309, | |
0.0079982647895813, | |
0.008023545265197754, | |
0.00802882480621338, | |
0.008055065155029297, | |
0.008038105010986328, | |
0.008007545471191407, | |
0.007999865055084229, | |
0.008012985229492188, | |
0.007989144802093506, | |
0.007975544929504395, | |
0.008037304878234864, | |
0.008002104759216309, | |
0.008020984649658202, | |
0.008028505325317382, | |
0.008025144577026367, | |
0.008012825012207032, | |
0.008047545433044433, | |
0.008029305458068847, | |
0.008034424781799316, | |
0.008044824600219727, | |
0.007997304916381835, | |
0.008058745384216309, | |
0.008064664840698243, | |
0.008044665336608886, | |
0.00809250545501709, | |
0.008061466217041015, | |
0.00806866455078125, | |
0.00806578540802002, | |
0.008066584587097168, | |
0.0080779447555542, | |
0.008027065277099609, | |
0.008039384841918946, | |
0.008017945289611816, | |
0.008078426361083984, | |
0.008158265113830566, | |
0.008142584800720215, | |
0.008113144874572754, | |
0.008140345573425294, | |
0.008136344909667968, | |
0.00811906623840332 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 123.65367928464632 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |