IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
cbf5016 verified
raw
history blame
11.3 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"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": "e9af750a2bec0e8b3a11d3bf5c5aa883075e8a03",
"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.272128,
"max_global_vram": 841.777152,
"max_process_vram": 44171.042816,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.09619091796875,
"mean": 7.09619091796875,
"stdev": 0.0,
"p50": 7.09619091796875,
"p90": 7.09619091796875,
"p95": 7.09619091796875,
"p99": 7.09619091796875,
"values": [
7.09619091796875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1014.427648,
"max_global_vram": 896.954368,
"max_process_vram": 223804.428288,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 137,
"total": 0.9968395476341242,
"mean": 0.007276201077621348,
"stdev": 0.00030238198505758173,
"p50": 0.00722847318649292,
"p90": 0.007501721000671387,
"p95": 0.007717432117462159,
"p99": 0.007787730751037597,
"values": [
0.007446393013000489,
0.0071791930198669435,
0.007276153087615967,
0.007240793228149414,
0.007306872844696045,
0.0073859128952026365,
0.007464793205261231,
0.007356634140014648,
0.007604473114013672,
0.0072959928512573245,
0.007242713928222656,
0.007215192794799805,
0.007182393074035644,
0.007191993236541748,
0.007108953952789307,
0.007118712902069091,
0.007062713146209717,
0.007160953998565674,
0.007097434043884277,
0.0070617527961730955,
0.00713631296157837,
0.007069754123687744,
0.007102552890777588,
0.007122713088989258,
0.00706559419631958,
0.007072312831878662,
0.007110552787780762,
0.007089434146881103,
0.007069433212280273,
0.007094072818756104,
0.0070975937843322755,
0.007031352996826172,
0.006996472835540771,
0.010146551132202149,
0.007337593078613282,
0.00697087287902832,
0.007004633903503418,
0.007101112842559814,
0.0071063928604125975,
0.007083673954010009,
0.007089433193206787,
0.007117912769317627,
0.007095993995666504,
0.007077273845672608,
0.0071791930198669435,
0.006950553894042969,
0.007083514213562012,
0.00711439323425293,
0.00727759313583374,
0.0074996728897094725,
0.007215992927551269,
0.007259994029998779,
0.007716631889343262,
0.007330233097076416,
0.007239193916320801,
0.007208632946014404,
0.007160152912139893,
0.007182393074035644,
0.00722847318649292,
0.007236954212188721,
0.007198392868041992,
0.007392313003540039,
0.00723839282989502,
0.007268632888793945,
0.007504793167114257,
0.007339033126831054,
0.007314552783966064,
0.007255194187164307,
0.007211193084716797,
0.00726287317276001,
0.007330233097076416,
0.007364152908325195,
0.007300632953643799,
0.007250392913818359,
0.007298713207244873,
0.00728511381149292,
0.007282392978668213,
0.007176793098449707,
0.007221272945404053,
0.0070878338813781736,
0.007141593933105469,
0.0072060728073120115,
0.007204792976379395,
0.007223032951354981,
0.007086234092712402,
0.007106712818145752,
0.0072667131423950196,
0.0072630329132080075,
0.00732623291015625,
0.007194873809814453,
0.00708383321762085,
0.007415352821350097,
0.007485433101654053,
0.007652792930603027,
0.007763832092285156,
0.007771032810211182,
0.007720633029937744,
0.007775032997131347,
0.00775695276260376,
0.007243992805480957,
0.007155993938446045,
0.007496792793273926,
0.00751295280456543,
0.007354713916778564,
0.007271513938903808,
0.007260793209075927,
0.0072201528549194335,
0.0073737530708312985,
0.00736111307144165,
0.007209753036499024,
0.007228952884674072,
0.007189914226531983,
0.00713631296157837,
0.007167673110961914,
0.007263833045959472,
0.007376953125,
0.007265913963317871,
0.007103353023529053,
0.007162552833557129,
0.007234073162078857,
0.007381913185119629,
0.007794873237609863,
0.007544153213500977,
0.007190873146057129,
0.007131992816925049,
0.007477272987365722,
0.007254874229431153,
0.007231993198394775,
0.007510872840881347,
0.0071511931419372555,
0.007139673233032226,
0.007165432929992676,
0.007351193904876709,
0.0072511940002441405,
0.007374712944030762,
0.007075831890106201,
0.007120152950286865
]
},
"throughput": {
"unit": "samples/s",
"value": 137.43435473156393
},
"energy": null,
"efficiency": null
}
}
}