IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
337d489 verified
raw
history blame
10 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": "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": {},
"hub_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,
"latency": true,
"memory": 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.2.1",
"optimum_benchmark_commit": "dd02f26cb819965cbf86e16d9ce013cddc3b86af",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1004.544,
"max_global_vram": 898.473984,
"max_process_vram": 183964.778496,
"max_reserved": 555.74528,
"max_allocated": 499.507712
},
"latency": {
"unit": "s",
"count": 128,
"total": 1.00066646194458,
"mean": 0.007817706733942033,
"stdev": 0.0003436574035952411,
"p50": 0.007770474433898926,
"p90": 0.008092649936676025,
"p95": 0.008151354122161865,
"p99": 0.008524281558990479,
"values": [
0.007893434047698974,
0.007874234199523926,
0.008087034225463868,
0.008119994163513184,
0.00809791374206543,
0.00798543405532837,
0.007931034088134765,
0.007888315200805664,
0.007900474071502685,
0.00786143398284912,
0.00783967399597168,
0.007795194149017334,
0.007813914775848389,
0.00783567476272583,
0.007877433776855469,
0.007787673950195312,
0.007762874126434326,
0.007771194934844971,
0.00777359390258789,
0.007779833793640137,
0.00776271390914917,
0.00782911491394043,
0.007743195056915283,
0.0077686338424682614,
0.007812314033508301,
0.0077585549354553226,
0.007772474765777588,
0.0078078341484069825,
0.007814233779907226,
0.007782393932342529,
0.007777114868164062,
0.007719833850860596,
0.0077387142181396485,
0.010898072242736817,
0.007778234004974365,
0.007602554798126221,
0.0076182341575622555,
0.007577754020690918,
0.0075292749404907225,
0.0075350341796875,
0.0075385551452636715,
0.007540314197540283,
0.007537754058837891,
0.007617434978485107,
0.007745753765106201,
0.007600793838500977,
0.007546074867248535,
0.007723993778228759,
0.007906874179840089,
0.007938074111938477,
0.007836635112762452,
0.007645594120025635,
0.0076585540771484375,
0.007797434806823731,
0.007769753932952881,
0.007613594055175781,
0.007625914096832275,
0.007604955196380615,
0.007806873798370361,
0.0075948739051818846,
0.007598555088043213,
0.007581433773040771,
0.007611674785614014,
0.007620473861694336,
0.007541913986206055,
0.007647194862365723,
0.007648153781890869,
0.007588153839111328,
0.007616475105285645,
0.007607034206390381,
0.007572955131530762,
0.007621913909912109,
0.007635673999786377,
0.007610555171966553,
0.007630074024200439,
0.007565753936767578,
0.007626395225524902,
0.007524154186248779,
0.0077012739181518556,
0.007619355201721191,
0.007702874183654785,
0.007613433837890625,
0.007572955131530762,
0.007810554027557373,
0.008535513877868653,
0.008387353897094727,
0.007969913959503173,
0.008155834197998047,
0.00849391269683838,
0.008319993972778321,
0.007950074195861816,
0.007948954105377198,
0.007888315200805664,
0.007952313899993896,
0.00806943416595459,
0.008143033981323242,
0.008126073837280274,
0.008060954093933105,
0.008000473976135253,
0.008075674057006836,
0.00812015438079834,
0.008211194038391113,
0.008090394020080566,
0.008101114273071289,
0.007983994007110596,
0.007890714168548583,
0.008005754470825195,
0.008040473937988282,
0.007993914127349854,
0.00784623384475708,
0.007913593769073485,
0.007915034770965576,
0.00791055393218994,
0.007950553894042969,
0.0076278338432312015,
0.007584634780883789,
0.0076511940956115725,
0.007625594139099121,
0.007608475208282471,
0.007570074081420898,
0.007630073070526123,
0.007614554882049561,
0.007677274227142334,
0.007621754169464112,
0.007629915237426758,
0.007633753776550293,
0.007615513801574707,
0.007702875137329102
]
},
"throughput": {
"unit": "samples/s",
"value": 127.91474968718299
},
"energy": null,
"efficiency": null
}
}
}