IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9abef61
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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.4.0", | |
"optimum_benchmark_commit": "8d3ce5d99bc670ee9136c4d65ae8c25ef9d8beae", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 902.602752, | |
"max_global_vram": 841.756672, | |
"max_process_vram": 44511.227904, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.9414150390625, | |
"mean": 6.9414150390625, | |
"stdev": 0.0, | |
"p50": 6.9414150390625, | |
"p90": 6.9414150390625, | |
"p95": 6.9414150390625, | |
"p99": 6.9414150390625, | |
"values": [ | |
6.9414150390625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1016.598528, | |
"max_global_vram": 896.929792, | |
"max_process_vram": 213155.00032, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 140, | |
"total": 0.9969066290855406, | |
"mean": 0.007120761636325291, | |
"stdev": 0.0009246589564946949, | |
"p50": 0.007029629945755005, | |
"p90": 0.007359535074234009, | |
"p95": 0.007501319789886474, | |
"p99": 0.008924890651702861, | |
"values": [ | |
0.007274431228637695, | |
0.007283871173858643, | |
0.007393951892852783, | |
0.007501311779022217, | |
0.007659711837768555, | |
0.007355710983276367, | |
0.007483391761779785, | |
0.007342910766601563, | |
0.007351070880889893, | |
0.007167389869689941, | |
0.007330270767211914, | |
0.007217151165008545, | |
0.007105949878692627, | |
0.006994269847869873, | |
0.006854108810424805, | |
0.006934429168701172, | |
0.006834589004516602, | |
0.006803709030151367, | |
0.0068121891021728515, | |
0.006780348777770996, | |
0.006814908981323242, | |
0.00942739963531494, | |
0.008138915061950684, | |
0.007046110153198242, | |
0.007057469844818115, | |
0.0070323491096496585, | |
0.00704355001449585, | |
0.007026750087738037, | |
0.007035389900207519, | |
0.0070401902198791505, | |
0.007060830116271973, | |
0.007016510009765625, | |
0.007048669815063476, | |
0.0070045099258422856, | |
0.007031229972839356, | |
0.007020189762115479, | |
0.007012829780578613, | |
0.007026269912719727, | |
0.0070261101722717285, | |
0.007293150901794433, | |
0.00703042984008789, | |
0.0070309100151062015, | |
0.007072669982910156, | |
0.007096350193023682, | |
0.007158110141754151, | |
0.007292991161346436, | |
0.007496352195739746, | |
0.007501471996307373, | |
0.007868992805480956, | |
0.007586751937866211, | |
0.007424032211303711, | |
0.007395551204681396, | |
0.007292350769042969, | |
0.007239070892333985, | |
0.007201469898223877, | |
0.007134109973907471, | |
0.007164831161499023, | |
0.016905031204223632, | |
0.003751215934753418, | |
0.007464352130889892, | |
0.007100669860839843, | |
0.007090429782867432, | |
0.0070979509353637695, | |
0.0071685099601745605, | |
0.007174270153045654, | |
0.007101630210876465, | |
0.007019868850708008, | |
0.007033949851989746, | |
0.007041150093078613, | |
0.0070259499549865725, | |
0.007029789924621582, | |
0.0070277099609375, | |
0.007103549957275391, | |
0.007039869785308838, | |
0.0070493102073669435, | |
0.007017148971557617, | |
0.007026430130004883, | |
0.007049469947814941, | |
0.007042749881744385, | |
0.007011069774627686, | |
0.007049789905548096, | |
0.007021629810333252, | |
0.007033150196075439, | |
0.007069469928741455, | |
0.007030749797821045, | |
0.007028189182281494, | |
0.0070363497734069825, | |
0.007018589973449707, | |
0.007033790111541748, | |
0.007031229972839356, | |
0.007024670124053955, | |
0.007010429859161377, | |
0.0070193901062011715, | |
0.0070614700317382815, | |
0.007027550220489502, | |
0.006832668781280518, | |
0.006835389137268067, | |
0.0067243480682373045, | |
0.006772028923034668, | |
0.006877150058746338, | |
0.00670546817779541, | |
0.006772668838500977, | |
0.006848828792572021, | |
0.006775867938995361, | |
0.007015870094299316, | |
0.007036029815673828, | |
0.007029469966888428, | |
0.006999709129333496, | |
0.006858748912811279, | |
0.006835389137268067, | |
0.006811388969421387, | |
0.006859710216522217, | |
0.006846108913421631, | |
0.006808349132537842, | |
0.006748188972473144, | |
0.006688027858734131, | |
0.006700508117675781, | |
0.006759708881378174, | |
0.006867548942565918, | |
0.006830430030822754, | |
0.00691602897644043, | |
0.0067766690254211425, | |
0.006984990119934082, | |
0.006879068851470947, | |
0.0068793888092041015, | |
0.006929948806762696, | |
0.006922908782958984, | |
0.006833949089050293, | |
0.006903229236602783, | |
0.007028669834136963, | |
0.0070265898704528805, | |
0.007029150009155273, | |
0.0070174698829650875, | |
0.006991869926452636, | |
0.007004990100860596, | |
0.00706371021270752, | |
0.007062270164489746, | |
0.0070205078125, | |
0.0070241899490356445, | |
0.007232349872589111 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 140.43441573703 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |