IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
542eb75
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_type": "roberta", | |
"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": {}, | |
"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, | |
"memory": true, | |
"latency": 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.3.1", | |
"optimum_benchmark_commit": "94ccda0ad71bebc72e235e85dbfd6165ea4a634c", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 902.209536, | |
"max_global_vram": 3128.389632, | |
"max_process_vram": 47560.72448, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.4645009765625, | |
"mean": 7.4645009765625, | |
"stdev": 0.0, | |
"p50": 7.4645009765625, | |
"p90": 7.4645009765625, | |
"p95": 7.4645009765625, | |
"p99": 7.4645009765625, | |
"values": [ | |
7.4645009765625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1011.728384, | |
"max_global_vram": 3185.033216, | |
"max_process_vram": 228061.765632, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 129, | |
"total": 1.0009795708656306, | |
"mean": 0.0077595315570979165, | |
"stdev": 0.0003106908546414746, | |
"p50": 0.00768702507019043, | |
"p90": 0.008260047149658204, | |
"p95": 0.008392719078063965, | |
"p99": 0.008577403335571289, | |
"values": [ | |
0.008765742301940918, | |
0.008527982711791992, | |
0.008329422950744628, | |
0.008402382850646973, | |
0.008258703231811524, | |
0.008461583137512206, | |
0.00840958309173584, | |
0.008596622467041015, | |
0.008279342651367188, | |
0.008308782577514648, | |
0.008378223419189453, | |
0.008255184173583984, | |
0.008063343048095703, | |
0.00808302402496338, | |
0.008415502548217773, | |
0.008296463012695312, | |
0.008265422821044923, | |
0.008172782897949218, | |
0.007891024112701416, | |
0.007737905025482178, | |
0.007846065044403076, | |
0.007774064064025879, | |
0.007678383827209472, | |
0.007928143978118897, | |
0.007688144207000733, | |
0.007923344135284423, | |
0.007850543975830078, | |
0.007734704971313477, | |
0.007993742942810059, | |
0.007766864776611328, | |
0.007998383045196534, | |
0.007978384017944335, | |
0.007972623825073242, | |
0.00798798418045044, | |
0.0077555041313171385, | |
0.007781424045562744, | |
0.007702064037322998, | |
0.00781310510635376, | |
0.007484145164489746, | |
0.008026864051818848, | |
0.008058543205261231, | |
0.008075663566589356, | |
0.007893743991851807, | |
0.0075590238571166994, | |
0.007615184783935547, | |
0.007450705051422119, | |
0.007668784141540527, | |
0.00749054479598999, | |
0.007385105133056641, | |
0.007582385063171387, | |
0.007750224113464355, | |
0.007577104091644287, | |
0.007582865238189697, | |
0.007629105091094971, | |
0.007528944969177246, | |
0.0072726249694824215, | |
0.007578864097595215, | |
0.00742718505859375, | |
0.007653264999389648, | |
0.007892303943634034, | |
0.007654064178466797, | |
0.007609904766082764, | |
0.0076270241737365725, | |
0.007581105232238769, | |
0.00749294376373291, | |
0.007495504856109619, | |
0.0075025448799133304, | |
0.007758224010467529, | |
0.007622385025024414, | |
0.007433263778686523, | |
0.007567345142364502, | |
0.007781263828277588, | |
0.00754942512512207, | |
0.007874864101409912, | |
0.007510065078735351, | |
0.007457584857940674, | |
0.007465425014495849, | |
0.007763663768768311, | |
0.0075777449607849125, | |
0.007771183967590332, | |
0.007667025089263916, | |
0.007606544017791748, | |
0.007655025005340576, | |
0.007534544944763183, | |
0.007472784996032715, | |
0.007505744934082031, | |
0.007735023975372315, | |
0.007785264015197754, | |
0.007953423976898194, | |
0.007696144104003906, | |
0.00768702507019043, | |
0.007703504085540771, | |
0.007593424797058106, | |
0.007760465145111084, | |
0.00764302396774292, | |
0.007849743843078613, | |
0.007584304809570313, | |
0.007607503890991211, | |
0.007627665042877197, | |
0.007211025238037109, | |
0.007412944793701172, | |
0.007219665050506592, | |
0.0074574251174926755, | |
0.007883503913879394, | |
0.007452145099639893, | |
0.007397264957427979, | |
0.007640944004058838, | |
0.00742766523361206, | |
0.007531024932861328, | |
0.0074715051651000975, | |
0.007516304969787598, | |
0.007490065097808838, | |
0.007506704807281494, | |
0.007303184986114502, | |
0.0074689450263977055, | |
0.0074126248359680175, | |
0.0073558249473571775, | |
0.007467984199523926, | |
0.007433104991912842, | |
0.007376305103302002, | |
0.007982704162597656, | |
0.00790990400314331, | |
0.007946864128112793, | |
0.007657904148101807, | |
0.008039183616638183, | |
0.008005423545837402, | |
0.007983983993530274, | |
0.008001584053039551, | |
0.007996463775634765 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.8737590203193 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |