IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ed277ea
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.3.1", | |
"optimum_benchmark_commit": "16c37a2d0a7e1a726b6a2a50e2fbcf32df3b575c", | |
"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.782976, | |
"max_global_vram": 841.781248, | |
"max_process_vram": 44316.909568, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.95232470703125, | |
"mean": 6.95232470703125, | |
"stdev": 0.0, | |
"p50": 6.95232470703125, | |
"p90": 6.95232470703125, | |
"p95": 6.95232470703125, | |
"p99": 6.95232470703125, | |
"values": [ | |
6.95232470703125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1015.00928, | |
"max_global_vram": 896.96256, | |
"max_process_vram": 218829.193216, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 142, | |
"total": 0.9983655714988704, | |
"mean": 0.007030743461259654, | |
"stdev": 0.001259235992207733, | |
"p50": 0.00664856481552124, | |
"p90": 0.007525733804702759, | |
"p95": 0.00941377534866333, | |
"p99": 0.009482276210784913, | |
"values": [ | |
0.007335525989532471, | |
0.007221765995025635, | |
0.007460804939270019, | |
0.007516806125640869, | |
0.007852806091308593, | |
0.007526725769042969, | |
0.0073992061614990235, | |
0.007302886009216309, | |
0.007224005222320556, | |
0.007341926097869873, | |
0.008475846290588378, | |
0.019076496124267577, | |
0.009329446792602539, | |
0.009428008079528809, | |
0.00945872688293457, | |
0.009446887016296387, | |
0.009488967895507813, | |
0.009380487442016602, | |
0.009472646713256837, | |
0.009432007789611816, | |
0.00941552734375, | |
0.008387686729431153, | |
0.007332164764404297, | |
0.007228966236114502, | |
0.007253445148468017, | |
0.007240005970001221, | |
0.007327045917510986, | |
0.007204164981842041, | |
0.007221765995025635, | |
0.007197445869445801, | |
0.0071742448806762695, | |
0.0071324858665466305, | |
0.007134725093841552, | |
0.007071206092834473, | |
0.007117125034332275, | |
0.008266086578369141, | |
0.00723808479309082, | |
0.006907845973968506, | |
0.006906565189361572, | |
0.006886724948883057, | |
0.006898725986480713, | |
0.006868965148925781, | |
0.006876965045928955, | |
0.006891366004943848, | |
0.006888965129852295, | |
0.006869285106658935, | |
0.0068995261192321775, | |
0.006900004863739014, | |
0.00689632511138916, | |
0.0068852858543396, | |
0.006661284923553467, | |
0.006660645008087158, | |
0.0066316847801208495, | |
0.00662832498550415, | |
0.006582564830780029, | |
0.006547845840454101, | |
0.006568964958190918, | |
0.006564324855804444, | |
0.006561445236206055, | |
0.006551525115966797, | |
0.006587685108184815, | |
0.00656720495223999, | |
0.006589924812316895, | |
0.006570885181427002, | |
0.006605925083160401, | |
0.006642886161804199, | |
0.006626404762268066, | |
0.006611525058746338, | |
0.006679365158081055, | |
0.006618724822998047, | |
0.00662560510635376, | |
0.00663488483428955, | |
0.006630085945129395, | |
0.00661792516708374, | |
0.006649284839630127, | |
0.006647844791412353, | |
0.006623364925384521, | |
0.006637925148010254, | |
0.006640484809875488, | |
0.006626086235046387, | |
0.006644645214080811, | |
0.006657925128936768, | |
0.0066550450325012205, | |
0.00667472505569458, | |
0.006660164833068848, | |
0.0066169648170471196, | |
0.006650245189666748, | |
0.006608325004577637, | |
0.006637605190277099, | |
0.006605764865875244, | |
0.006625925064086914, | |
0.00661744499206543, | |
0.006652804851531982, | |
0.006625286102294922, | |
0.006588325023651123, | |
0.006443204879760742, | |
0.006416325092315674, | |
0.006408804893493652, | |
0.006411845207214355, | |
0.006379364967346191, | |
0.006392323970794677, | |
0.006372805118560791, | |
0.006405765056610107, | |
0.006389124870300293, | |
0.006392485141754151, | |
0.0067099261283874514, | |
0.006751524925231934, | |
0.0066977648735046386, | |
0.006722565174102783, | |
0.006710565090179444, | |
0.006742725849151612, | |
0.006760165214538574, | |
0.00677408504486084, | |
0.006552324771881103, | |
0.006575685024261474, | |
0.006536805152893067, | |
0.006590244770050049, | |
0.006564166069030762, | |
0.006515204906463623, | |
0.0066721649169921874, | |
0.006680325031280517, | |
0.006562405109405518, | |
0.006543045043945313, | |
0.006615045070648193, | |
0.006556964874267578, | |
0.006571845054626465, | |
0.006651686191558838, | |
0.006543525218963623, | |
0.0064108848571777345, | |
0.006431204795837402, | |
0.006390244960784912, | |
0.006392484188079834, | |
0.006412164211273193, | |
0.0064036850929260255, | |
0.006428484916687012, | |
0.006423045158386231, | |
0.006420324802398682, | |
0.006429124832153321, | |
0.00653824520111084, | |
0.006480165004730224, | |
0.006534883975982666, | |
0.0064532837867736816 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.23246880079398 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |