IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6b3b0e6 verified
raw
history blame
11.8 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+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": "5",
"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": 2,
"sequence_length": 16,
"num_choices": 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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082014.490624,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.12",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1109.856256,
"max_global_vram": 68702.69952,
"max_process_vram": 4006.07232,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"values": [
0.09255622100830078
],
"count": 1,
"total": 0.09255622100830078,
"mean": 0.09255622100830078,
"p50": 0.09255622100830078,
"p90": 0.09255622100830078,
"p95": 0.09255622100830078,
"p99": 0.09255622100830078,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1228.312576,
"max_global_vram": 68702.69952,
"max_process_vram": 222596.395008,
"max_reserved": 557.842432,
"max_allocated": 501.534208
},
"latency": {
"unit": "s",
"values": [
0.007700924873352051,
0.007258847236633301,
0.007244606971740722,
0.007234847068786621,
0.007195807933807373,
0.007187326908111572,
0.007189887046813965,
0.007183328151702881,
0.007213726997375488,
0.007205727100372314,
0.007229887008666992,
0.007193568229675293,
0.007209567070007325,
0.007218846797943115,
0.007215647220611572,
0.00718668794631958,
0.007208446979522705,
0.007194686889648438,
0.007207006931304932,
0.01394681739807129,
0.0072230081558227535,
0.007239168167114258,
0.007244128227233887,
0.0072260479927062984,
0.007271966934204102,
0.007218846797943115,
0.007201406955718994,
0.0072174072265625,
0.007246207237243652,
0.007228446960449219,
0.0072394881248474124,
0.007239167213439941,
0.007232767105102539,
0.007213566780090332,
0.007238368034362793,
0.007217088222503662,
0.0072182068824768065,
0.007231166839599609,
0.007237407207489013,
0.007246527194976806,
0.0072065281867980955,
0.0072113280296325685,
0.00722780704498291,
0.007217566967010498,
0.007213726997375488,
0.007412927150726318,
0.007203327178955078,
0.007235326766967773,
0.007226527214050293,
0.007258687019348144,
0.0073031668663024905,
0.007219167232513428,
0.007257566928863525,
0.007211166858673096,
0.007208447933197021,
0.007243806838989258,
0.007231486797332764,
0.0072340469360351566,
0.0072630071640014645,
0.0072340469360351566,
0.00725404691696167,
0.007889564037322999,
0.008235003471374512,
0.008243802070617676,
0.008102684020996094,
0.007630685806274414,
0.007654045104980469,
0.007607005119323731,
0.007682205200195313,
0.007652606010437012,
0.008244921684265136,
0.00823676300048828,
0.008264922142028808,
0.008220763206481933,
0.008236762046813964,
0.00826956272125244,
0.008209242820739746,
0.008214842796325684,
0.007797723770141602,
0.0076975650787353515,
0.007860125064849854,
0.008228602409362793,
0.008227322578430176,
0.008068922996520997,
0.007532445907592773,
0.007511806011199951,
0.007215967178344726,
0.007207167148590088,
0.0072305269241333,
0.007215007781982422,
0.007244607925415039,
0.007219167232513428,
0.0072322869300842285,
0.007163006782531739,
0.0072111678123474125,
0.007203327178955078,
0.007199327945709228,
0.007200128078460694,
0.007195006847381591,
0.007170207977294922,
0.007188767910003662,
0.007188607215881348,
0.007209726810455322,
0.00721724796295166,
0.0072676467895507815,
0.007237728118896484,
0.007211166858673096,
0.007230206966400147,
0.007216766834259033,
0.007160448074340821,
0.007218047142028809,
0.007205886840820313,
0.0072409272193908695,
0.0071943678855896,
0.007200448036193847,
0.007205566883087158,
0.0072201271057128905,
0.00719868803024292,
0.007201727867126465,
0.007158047199249268,
0.007200128078460694,
0.007193088054656982,
0.007210206985473633,
0.00718684720993042,
0.007213568210601807,
0.0071962871551513674,
0.0072359671592712406,
0.007222207069396973,
0.0072225270271301266,
0.007219168186187744,
0.007194528102874756,
0.007197246074676513,
0.007204926967620849,
0.0071849279403686525,
0.007198526859283448
],
"count": 135,
"total": 1.0008093886375429,
"mean": 0.007413402878796612,
"p50": 0.007222207069396973,
"p90": 0.008089179611206056,
"p95": 0.008235531044006348,
"p99": 0.008267984924316405,
"stdev": 0.0006494004821589906,
"stdev_": 8.75981641327451
},
"throughput": {
"unit": "samples/s",
"value": 269.78164180450585
},
"energy": null,
"efficiency": null
}
}
}