
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
582cd59
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.293824, | |
"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.43.2", | |
"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.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 718.864384, | |
"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.2291162109375, | |
"mean": 7.2291162109375, | |
"stdev": 0.0, | |
"p50": 7.2291162109375, | |
"p90": 7.2291162109375, | |
"p95": 7.2291162109375, | |
"p99": 7.2291162109375, | |
"values": [ | |
7.2291162109375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.986658520168729e-07, | |
"ram": 4.7182552365569564e-07, | |
"gpu": 1.8063903339977927e-06, | |
"total": 3.176881709670361e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 918.69184, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 0.9962068176269528, | |
"mean": 0.007490276824262805, | |
"stdev": 0.0002533301512647096, | |
"p50": 0.007504896163940429, | |
"p90": 0.007782412910461426, | |
"p95": 0.007898521709442137, | |
"p99": 0.008047102584838867, | |
"values": [ | |
0.00810086441040039, | |
0.008037376403808593, | |
0.007955455780029297, | |
0.007987199783325195, | |
0.007920639991760254, | |
0.007837696075439453, | |
0.007755775928497314, | |
0.007710720062255859, | |
0.007714784145355225, | |
0.007733248233795166, | |
0.0076871681213378906, | |
0.007623680114746094, | |
0.007714816093444824, | |
0.007676928043365478, | |
0.007734272003173828, | |
0.00774454402923584, | |
0.007696383953094482, | |
0.007703551769256592, | |
0.007614463806152344, | |
0.007682047843933106, | |
0.007786496162414551, | |
0.007725056171417236, | |
0.007725056171417236, | |
0.008051679611206055, | |
0.007685056209564209, | |
0.007731200218200684, | |
0.00773529577255249, | |
0.0077608962059021, | |
0.007715839862823487, | |
0.007615488052368164, | |
0.0076605439186096195, | |
0.007683072090148926, | |
0.007633920192718506, | |
0.007665664196014404, | |
0.007677951812744141, | |
0.007654399871826172, | |
0.007764992237091065, | |
0.00781824016571045, | |
0.007786496162414551, | |
0.007729152202606201, | |
0.007640063762664795, | |
0.0076912641525268555, | |
0.007750720024108887, | |
0.007790592193603516, | |
0.007670783996582031, | |
0.0077199358940124516, | |
0.007632895946502686, | |
0.007591936111450195, | |
0.007659520149230957, | |
0.007733248233795166, | |
0.007396383762359619, | |
0.00733081579208374, | |
0.007364607810974121, | |
0.0074065918922424315, | |
0.007328767776489258, | |
0.007323647975921631, | |
0.007367680072784424, | |
0.0074291200637817386, | |
0.007449600219726562, | |
0.007516160011291504, | |
0.007436287879943848, | |
0.007400447845458984, | |
0.007715839862823487, | |
0.007766079902648926, | |
0.007318528175354004, | |
0.007883776187896728, | |
0.007599103927612305, | |
0.007609344005584716, | |
0.007494656085968018, | |
0.007569407939910889, | |
0.007786496162414551, | |
0.007504896163940429, | |
0.007291903972625732, | |
0.007290880203247071, | |
0.007336959838867187, | |
0.007527423858642578, | |
0.00760319995880127, | |
0.007602176189422607, | |
0.007643167972564697, | |
0.007700543880462646, | |
0.007950335979461669, | |
0.007519231796264648, | |
0.007274496078491211, | |
0.007385087966918945, | |
0.007211008071899414, | |
0.007250944137573242, | |
0.007237631797790528, | |
0.007258111953735351, | |
0.007261184215545655, | |
0.007218143939971924, | |
0.007211008071899414, | |
0.007229472160339355, | |
0.007230463981628418, | |
0.007233535766601563, | |
0.007202816009521484, | |
0.0071792640686035155, | |
0.007207903861999512, | |
0.007216127872467041, | |
0.0072130560874938965, | |
0.007200767993927002, | |
0.007195648193359375, | |
0.007233535766601563, | |
0.007206912040710449, | |
0.007249983787536621, | |
0.007211008071899414, | |
0.007168000221252442, | |
0.0071905279159545895, | |
0.0072202239036560055, | |
0.007181312084197998, | |
0.00722431993484497, | |
0.007162879943847656, | |
0.007211008071899414, | |
0.007225344181060791, | |
0.007206912040710449, | |
0.007217152118682861, | |
0.0072325119972229, | |
0.007196671962738037, | |
0.007208960056304932, | |
0.007252992153167725, | |
0.007268352031707764, | |
0.007632895946502686, | |
0.007216127872467041, | |
0.007178239822387696, | |
0.007208960056304932, | |
0.007213088035583496, | |
0.007236639976501465, | |
0.007202816009521484, | |
0.007204864025115967, | |
0.0072202239036560055, | |
0.007208960056304932, | |
0.00722431993484497, | |
0.0071905279159545895, | |
0.0072007360458374026 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.50641417694467 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.637107872732595e-08, | |
"ram": 4.717428446925294e-08, | |
"gpu": 1.7029804284055447e-07, | |
"total": 3.0384340603713336e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3291169.0039368104 | |
} | |
} | |
} | |
} |