IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c0672e9 verified
raw
history blame
10.9 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": {},
"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,
"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": "bc4d55acdaf328bd5108ceb452b0f0a0c042200e",
"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": 900.149248,
"max_global_vram": 841.777152,
"max_process_vram": 42495.44704,
"max_reserved": 555.74528,
"max_allocated": 499.372544
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.20596337890625,
"mean": 7.20596337890625,
"stdev": 0.0,
"p50": 7.20596337890625,
"p90": 7.20596337890625,
"p95": 7.20596337890625,
"p99": 7.20596337890625,
"values": [
7.20596337890625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1009.815552,
"max_global_vram": 898.269184,
"max_process_vram": 205585.661952,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 127,
"total": 0.9984529943466187,
"mean": 0.007861834601154477,
"stdev": 0.00047541887594250816,
"p50": 0.007755174160003662,
"p90": 0.008405731773376465,
"p95": 0.008517491722106932,
"p99": 0.008964440402984619,
"values": [
0.008418851852416993,
0.008598370552062988,
0.008999010086059571,
0.008866049766540528,
0.00855709171295166,
0.008631651878356933,
0.008209572792053223,
0.008264613151550294,
0.007957414150238037,
0.007933572769165039,
0.007843334197998047,
0.007828773975372315,
0.007774693965911865,
0.007765893936157227,
0.007701734066009522,
0.007755174160003662,
0.007821733951568604,
0.007779493808746338,
0.007789093971252442,
0.007921893119812012,
0.007703654766082764,
0.007689094066619873,
0.00772861385345459,
0.00769853401184082,
0.007760454177856446,
0.0076985349655151365,
0.007665574073791504,
0.011700921058654785,
0.008627970695495606,
0.008417411804199219,
0.008406211853027343,
0.008376771926879883,
0.008409412384033203,
0.008367012977600098,
0.008387971878051757,
0.008412772178649903,
0.008405411720275879,
0.008425091743469238,
0.008391971588134766,
0.008277731895446777,
0.007893253803253173,
0.007734054088592529,
0.007842534065246582,
0.00775677490234375,
0.008085092544555665,
0.008059653282165527,
0.007998532772064209,
0.008191332817077637,
0.007909093856811523,
0.0079879732131958,
0.00784861421585083,
0.007531175136566162,
0.007501894950866699,
0.007546215057373047,
0.007499814987182617,
0.007547014236450196,
0.007592134952545166,
0.007553894996643066,
0.007542534828186035,
0.007552774906158447,
0.007611655235290528,
0.007803654193878174,
0.007523974895477295,
0.007547334194183349,
0.007501255035400391,
0.007586054801940918,
0.007625574111938476,
0.007603175163269043,
0.007580134868621826,
0.007558534145355225,
0.007592615127563477,
0.00763933515548706,
0.007583815097808838,
0.0075754947662353515,
0.007511654853820801,
0.007563974857330322,
0.007485575199127197,
0.007533094882965088,
0.0075822148323059085,
0.007630693912506104,
0.007572134971618652,
0.007630054950714111,
0.007552453994750977,
0.007616934776306153,
0.0075633349418640135,
0.00762269401550293,
0.0075750150680541995,
0.007609253883361817,
0.007561735153198242,
0.007600615024566651,
0.007549415111541748,
0.007544455051422119,
0.008180293083190918,
0.007890213966369629,
0.007904133796691894,
0.00789997386932373,
0.007970212936401367,
0.007974533081054688,
0.008011653900146484,
0.00796733283996582,
0.007911334037780762,
0.007934053897857667,
0.007962852954864501,
0.0078786940574646,
0.00778637409210205,
0.00789037322998047,
0.00790269422531128,
0.007906854152679443,
0.00783885383605957,
0.007854854106903076,
0.007907333850860596,
0.007898694038391113,
0.007538694858551026,
0.007540295124053955,
0.00757389497756958,
0.00756957483291626,
0.007609415054321289,
0.007531014919281006,
0.007495495796203613,
0.007510214805603027,
0.007481574058532715,
0.007513414859771728,
0.007544775009155274,
0.007730534076690674,
0.007560134887695313,
0.007521894931793213,
0.007479334831237793
]
},
"throughput": {
"unit": "samples/s",
"value": 127.19677412866893
},
"energy": null,
"efficiency": null
}
}
}