IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5fd4666 verified
raw
history blame
10.6 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+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": "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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"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": "034e40c3ab573ad44343a7fcce8e83f9a39327de",
"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": 902.3488,
"max_global_vram": 1126.518784,
"max_process_vram": 43023.233024,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.0256953125,
"mean": 7.0256953125,
"stdev": 0.0,
"p50": 7.0256953125,
"p90": 7.0256953125,
"p95": 7.0256953125,
"p99": 7.0256953125,
"values": [
7.0256953125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1011.859456,
"max_global_vram": 1183.019008,
"max_process_vram": 220307.841024,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 122,
"total": 0.9967319316864018,
"mean": 0.00816993386628198,
"stdev": 0.00048680036559411034,
"p50": 0.008055079460144044,
"p90": 0.008703369617462159,
"p95": 0.0089143000125885,
"p99": 0.009453828868865966,
"values": [
0.009195725440979003,
0.009357006072998046,
0.00877124309539795,
0.008584522247314453,
0.008601641654968262,
0.008466601371765137,
0.008448681831359862,
0.008523241996765137,
0.008164840698242188,
0.008142120361328125,
0.008079879760742188,
0.008054599761962891,
0.007998599052429198,
0.007967079162597656,
0.007990118980407714,
0.007967399120330811,
0.008192840576171876,
0.008361480712890624,
0.008273961067199707,
0.008148200035095214,
0.008729002952575683,
0.008856842994689942,
0.00896372413635254,
0.008547242164611817,
0.011118133544921876,
0.007894118785858155,
0.00781155776977539,
0.007705637931823731,
0.007667238235473633,
0.007696998119354248,
0.0077155580520629884,
0.007672197818756103,
0.007704197883605957,
0.007650757789611816,
0.00891732406616211,
0.00947956657409668,
0.008620521545410157,
0.008271401405334472,
0.008238121032714844,
0.008264841079711914,
0.008170120239257813,
0.008090278625488282,
0.008185000419616699,
0.008283241271972656,
0.008003878593444824,
0.008286121368408204,
0.008117159843444825,
0.008246601104736328,
0.008141160011291504,
0.007722598075866699,
0.008015399932861328,
0.007992359161376953,
0.007702117919921875,
0.007900518894195557,
0.007734598159790039,
0.007708676815032959,
0.008181320190429688,
0.00787843894958496,
0.007721797943115234,
0.007736197948455811,
0.0077699580192565915,
0.007865317821502685,
0.007981160163879394,
0.007987878799438476,
0.007698917865753174,
0.0077673978805541995,
0.007809638023376465,
0.007784997940063477,
0.008055559158325195,
0.00797268009185791,
0.007773478031158448,
0.007758758068084717,
0.007764519214630127,
0.007766118049621582,
0.00797779893875122,
0.007973159790039062,
0.007767717838287353,
0.007945798873901367,
0.00807091999053955,
0.008190119743347168,
0.0082560396194458,
0.008318281173706055,
0.007821478843688966,
0.008057000160217286,
0.007780037879943848,
0.007824839115142822,
0.008211720466613769,
0.008158280372619628,
0.00800739860534668,
0.008462761878967285,
0.008656042098999023,
0.008703082084655762,
0.008587081909179688,
0.008628361701965332,
0.008760843276977539,
0.008680842399597167,
0.008755083084106446,
0.008637481689453125,
0.008703401565551758,
0.008682442665100097,
0.008677002906799316,
0.008336840629577636,
0.008488842010498047,
0.009138284683227539,
0.00859780216217041,
0.008558762550354005,
0.008025798797607422,
0.007770119190216064,
0.007681636810302734,
0.007685956954956055,
0.007785317897796631,
0.007763237953186035,
0.007766438007354736,
0.007948358058929444,
0.00809939956665039,
0.00771491813659668,
0.00793251895904541,
0.007768198013305664,
0.00772115707397461,
0.007772037982940674,
0.007735558032989502,
0.007756998062133789
]
},
"throughput": {
"unit": "samples/s",
"value": 122.4000115994924
},
"energy": null,
"efficiency": null
}
}
}