
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4b8b43f
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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": true, | |
"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 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.285632, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": null, | |
"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": 719.736832, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.154927734375, | |
"mean": 7.154927734375, | |
"stdev": 0.0, | |
"p50": 7.154927734375, | |
"p90": 7.154927734375, | |
"p95": 7.154927734375, | |
"p99": 7.154927734375, | |
"values": [ | |
7.154927734375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.647829294204713e-07, | |
"ram": 4.5834085936292017e-07, | |
"gpu": 1.8483348119980453e-06, | |
"total": 3.171458600781437e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 919.42912, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 144, | |
"total": 0.9981850233078003, | |
"mean": 0.006931840439637502, | |
"stdev": 0.0002557213620654983, | |
"p50": 0.006819839954376221, | |
"p90": 0.0071198720932006835, | |
"p95": 0.007395737481117248, | |
"p99": 0.007892090892791748, | |
"values": [ | |
0.007882751941680909, | |
0.00765337610244751, | |
0.007899136066436767, | |
0.007778304100036621, | |
0.0077608962059021, | |
0.007787519931793213, | |
0.00818380832672119, | |
0.007402495861053467, | |
0.0069959678649902345, | |
0.006831103801727295, | |
0.006838272094726563, | |
0.006821887969970703, | |
0.0068055038452148435, | |
0.006822912216186523, | |
0.006830080032348633, | |
0.006818816184997558, | |
0.0068373122215270995, | |
0.006819839954376221, | |
0.006819839954376221, | |
0.006791168212890625, | |
0.006815807819366455, | |
0.0068351998329162595, | |
0.006936575889587402, | |
0.0069550080299377445, | |
0.00682806396484375, | |
0.006802432060241699, | |
0.006766592025756836, | |
0.006842368125915528, | |
0.006873087882995605, | |
0.006811647891998291, | |
0.006840320110321045, | |
0.0067972798347473145, | |
0.006800384044647217, | |
0.006781951904296875, | |
0.00678604793548584, | |
0.006801407814025879, | |
0.006791168212890625, | |
0.006813695907592773, | |
0.006923264026641846, | |
0.0069550080299377445, | |
0.006763519763946534, | |
0.006781951904296875, | |
0.006781951904296875, | |
0.0067717118263244626, | |
0.006801407814025879, | |
0.006779903888702392, | |
0.006782976150512696, | |
0.006808576107025147, | |
0.006831039905548095, | |
0.006871039867401123, | |
0.006776832103729248, | |
0.006770688056945801, | |
0.006874112129211426, | |
0.0069283838272094726, | |
0.006961152076721191, | |
0.006840320110321045, | |
0.006938623905181885, | |
0.006970367908477783, | |
0.006854656219482422, | |
0.006790143966674805, | |
0.0068055038452148435, | |
0.0067758078575134275, | |
0.006800384044647217, | |
0.006797311782836914, | |
0.006748159885406494, | |
0.0067870721817016606, | |
0.006780928134918213, | |
0.006767615795135498, | |
0.006803455829620361, | |
0.007077888011932373, | |
0.006822912216186523, | |
0.006800384044647217, | |
0.0067942080497741695, | |
0.006770688056945801, | |
0.006725696086883545, | |
0.006749184131622315, | |
0.0067573761940002445, | |
0.00675328016281128, | |
0.006722559928894043, | |
0.0067758078575134275, | |
0.006890495777130127, | |
0.006862847805023193, | |
0.006831103801727295, | |
0.006867968082427979, | |
0.0070563840866088865, | |
0.006767615795135498, | |
0.006783999919891357, | |
0.00676966381072998, | |
0.006765567779541016, | |
0.00678604793548584, | |
0.006747136116027832, | |
0.006762432098388672, | |
0.006791168212890625, | |
0.006772704124450683, | |
0.007357439994812012, | |
0.007068672180175781, | |
0.007105535984039306, | |
0.007093247890472412, | |
0.007106560230255127, | |
0.007321599960327148, | |
0.007231488227844239, | |
0.007088128089904785, | |
0.007097343921661377, | |
0.00709222412109375, | |
0.007136256217956543, | |
0.007053311824798584, | |
0.0071198720932006835, | |
0.00709222412109375, | |
0.007107583999633789, | |
0.007090176105499267, | |
0.007090176105499267, | |
0.007067647933959961, | |
0.0071198720932006835, | |
0.007116799831390381, | |
0.007263232231140137, | |
0.0071188478469848635, | |
0.007245823860168457, | |
0.00707583999633789, | |
0.00709222412109375, | |
0.007076863765716553, | |
0.007095295906066895, | |
0.007065599918365479, | |
0.006818816184997558, | |
0.006765567779541016, | |
0.0067972798347473145, | |
0.006797311782836914, | |
0.0067758078575134275, | |
0.006822912216186523, | |
0.006804480075836182, | |
0.006777919769287109, | |
0.006770688056945801, | |
0.006918144226074219, | |
0.006779903888702392, | |
0.006939712047576904, | |
0.006788064002990723, | |
0.0067717118263244626, | |
0.006776832103729248, | |
0.006751232147216797, | |
0.0067758078575134275, | |
0.0067983360290527345, | |
0.006765567779541016, | |
0.006770688056945801, | |
0.00677785587310791, | |
0.006761472225189209 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 144.2618318624043 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.427728175929064e-08, | |
"ram": 4.6064683371137284e-08, | |
"gpu": 1.661309445673699e-07, | |
"total": 2.9647290969779784e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3372989.46139573 | |
} | |
} | |
} | |
} |