IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8838d96 verified
raw
history blame
11.1 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_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": true,
"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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 902.557696,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993536
},
"latency": {
"unit": "s",
"count": 148,
"total": 0.9984500184059142,
"mean": 0.0067462839081480685,
"stdev": 0.00022706657217569666,
"p50": 0.0068321280479431154,
"p90": 0.006978048038482666,
"p95": 0.007039488196372986,
"p99": 0.007190753183364869,
"values": [
0.007353343963623047,
0.00709939193725586,
0.007226367950439453,
0.007150591850280762,
0.007098368167877197,
0.007136223793029785,
0.007032832145690918,
0.0069632000923156735,
0.006958079814910889,
0.006908927917480469,
0.0069027838706970214,
0.006948863983154297,
0.006923264026641846,
0.006883327960968018,
0.006819839954376221,
0.006982656002044678,
0.006870016098022461,
0.006937600135803222,
0.006965248107910156,
0.0069847040176391605,
0.006936543941497802,
0.0069253120422363285,
0.006872064113616944,
0.00688640022277832,
0.0069283838272094726,
0.006939648151397705,
0.006936575889587402,
0.0069816322326660156,
0.006912000179290771,
0.006905856132507324,
0.00688640022277832,
0.006957056045532227,
0.006909952163696289,
0.006929408073425293,
0.00684441614151001,
0.006791168212890625,
0.0068618240356445315,
0.006853631973266602,
0.00704307222366333,
0.006879231929779053,
0.00694374418258667,
0.006929408073425293,
0.006944767951965332,
0.006973440170288086,
0.006968319892883301,
0.006972415924072266,
0.007006239891052246,
0.006910975933074951,
0.00695091199874878,
0.006974463939666748,
0.007003136157989502,
0.006938623905181885,
0.006967296123504638,
0.006686719894409179,
0.00658022403717041,
0.006627327919006347,
0.006646783828735352,
0.006602719783782959,
0.00667955207824707,
0.006694911956787109,
0.006615039825439453,
0.006936575889587402,
0.006854656219482422,
0.006895616054534912,
0.006849535942077637,
0.006935488224029541,
0.006868000030517578,
0.00689356803894043,
0.006914048194885254,
0.006972415924072266,
0.0069816322326660156,
0.006971392154693603,
0.006943679809570312,
0.006924287796020508,
0.006889472007751465,
0.006897664070129395,
0.0068618240356445315,
0.0069621758460998535,
0.006852608203887939,
0.006750207901000976,
0.006661119937896728,
0.0067051520347595215,
0.007150591850280762,
0.006723584175109864,
0.00662937593460083,
0.006551551818847656,
0.006549503803253174,
0.006717440128326416,
0.006711296081542969,
0.006774784088134766,
0.006731776237487793,
0.006976511955261231,
0.006849535942077637,
0.006909952163696289,
0.006853631973266602,
0.006602816104888916,
0.006533120155334473,
0.006558720111846924,
0.006558720111846924,
0.006582272052764892,
0.006612991809844971,
0.006511616230010986,
0.00653004789352417,
0.0065372161865234375,
0.006432767868041992,
0.006504447937011719,
0.006497280120849609,
0.006457344055175781,
0.006436863899230957,
0.00638976001739502,
0.006405119895935059,
0.006432767868041992,
0.006400000095367431,
0.00643174409866333,
0.006441984176635742,
0.006427648067474365,
0.006421472072601318,
0.0063805441856384275,
0.006405119895935059,
0.006535168170928955,
0.006493184089660644,
0.006523903846740723,
0.006542335987091064,
0.00653107213973999,
0.006519807815551758,
0.006498303890228272,
0.006533120155334473,
0.006564864158630371,
0.006491136074066162,
0.0065351037979125975,
0.006534143924713135,
0.0064174079895019534,
0.006416384220123291,
0.006432767868041992,
0.00643174409866333,
0.006429696083068847,
0.006404096126556396,
0.006437888145446777,
0.006451200008392334,
0.006423552036285401,
0.006428671836853027,
0.006496255874633789,
0.006555647850036621,
0.006542335987091064,
0.006515711784362793,
0.006520832061767578,
0.006528031826019287,
0.00662937593460083
]
},
"throughput": {
"unit": "samples/s",
"value": 148.22975338944954
},
"energy": {
"unit": "kWh",
"cpu": 7.69868665099316e-08,
"ram": 4.208357291385514e-08,
"gpu": 1.3315126092207812e-07,
"total": 2.522217003458649e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3964765.912801027
}
}
}
}