IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8a2ddd6 verified
raw
history blame
10.4 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": "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.3.1",
"optimum_benchmark_commit": "f6013cec1a849341c31271831560b1681406c092",
"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": 1010.221056,
"max_global_vram": 66120.753152,
"max_process_vram": 191984.836608,
"max_reserved": 555.74528,
"max_allocated": 499.443712
},
"latency": {
"unit": "s",
"count": 137,
"total": 0.9987488837242129,
"mean": 0.007290137837403013,
"stdev": 0.00038295204075541623,
"p50": 0.007151021003723145,
"p90": 0.0076167799949646,
"p95": 0.007964618873596192,
"p99": 0.008891151275634763,
"values": [
0.008811176300048828,
0.008134538650512696,
0.0075761399269104,
0.007533899784088135,
0.007252460956573487,
0.007017101764678955,
0.007030381202697754,
0.007050702095031738,
0.007081261157989502,
0.007067980766296386,
0.007025101184844971,
0.007070702075958252,
0.007098701000213623,
0.007371180057525635,
0.0072355008125305174,
0.007154701232910156,
0.007121581077575684,
0.0071094207763671875,
0.007231020927429199,
0.007102381229400634,
0.007137421131134033,
0.007139020919799804,
0.007163021087646484,
0.007151021003723145,
0.00713054084777832,
0.007229741096496582,
0.008936137199401855,
0.007369421005249024,
0.0072606210708618165,
0.007244460105895996,
0.007182540893554687,
0.007086701869964599,
0.007122702121734619,
0.007129900932312012,
0.007102381229400634,
0.007064940929412841,
0.007124141216278076,
0.007113901138305664,
0.0070811018943786625,
0.007092462062835693,
0.007017101764678955,
0.007039980888366699,
0.007104461193084717,
0.007101740837097168,
0.00709342098236084,
0.007082221984863281,
0.007083981037139892,
0.0072110209465026855,
0.007406859874725342,
0.0075563001632690426,
0.007664140224456787,
0.00994605255126953,
0.007038221836090088,
0.007110221862792969,
0.007115500926971436,
0.007024940967559815,
0.00721614122390747,
0.0070471811294555665,
0.007114700794219971,
0.007099341869354248,
0.007065101146697998,
0.007084461212158203,
0.007094060897827149,
0.007160301208496094,
0.0070899009704589845,
0.007077901840209961,
0.0072178997993469236,
0.007128781795501709,
0.007263980865478516,
0.007682700157165528,
0.007845899105072022,
0.007084781169891357,
0.007027982234954834,
0.0072558197975158695,
0.00709486198425293,
0.00710958194732666,
0.00707326078414917,
0.007076621055603027,
0.007141740798950196,
0.007152141094207764,
0.0071180610656738285,
0.007114221096038818,
0.007058221817016602,
0.007171660900115967,
0.0071190218925476076,
0.007126221179962158,
0.007110860824584961,
0.007457419872283936,
0.007624939918518066,
0.007598219871520996,
0.007554699897766113,
0.007588779926300049,
0.007450380802154541,
0.007496300220489502,
0.007515659809112549,
0.007611340045928955,
0.007451819896697998,
0.007417900085449219,
0.007430540084838867,
0.007424941062927246,
0.00723534107208252,
0.007268940925598145,
0.007059502124786377,
0.007108302116394043,
0.007358060836791992,
0.007954538822174072,
0.007504459857940674,
0.0070955009460449215,
0.0072606210708618165,
0.006970541000366211,
0.007347341060638428,
0.007056621074676514,
0.007183341026306153,
0.007155500888824463,
0.0071187009811401365,
0.0071750211715698245,
0.007053901195526123,
0.007156460762023926,
0.007122540950775146,
0.007121261119842529,
0.007108461856842041,
0.007194060802459717,
0.007162860870361328,
0.007119822025299072,
0.007139502048492431,
0.007167342185974121,
0.007177900791168213,
0.007269580841064453,
0.007260140895843506,
0.00721950101852417,
0.0072534198760986325,
0.008004939079284668,
0.008011658668518067,
0.008049419403076172,
0.007803500175476074,
0.007722698211669922,
0.007596940040588379
]
},
"throughput": {
"unit": "samples/s",
"value": 137.17161764340975
},
"energy": null,
"efficiency": null
}
}
}