IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e854d5f verified
raw
history blame
10.1 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",
"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": "1ba65d84c92c93ea19ab2d2293c92bced987bae2",
"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": 1003.999232,
"max_global_vram": 1878.847488,
"max_process_vram": 232615.391232,
"max_reserved": 555.74528,
"max_allocated": 499.507712
},
"latency": {
"unit": "s",
"count": 131,
"total": 0.996712556838989,
"mean": 0.007608492800297629,
"stdev": 0.0008284875437806999,
"p50": 0.0073784151077270505,
"p90": 0.008063535690307617,
"p95": 0.008078255653381348,
"p99": 0.012244680213928213,
"values": [
0.013259865760803223,
0.012485304832458495,
0.011683222770690917,
0.007585774898529052,
0.007333455085754395,
0.0071716952323913575,
0.007304813861846924,
0.0076092958450317385,
0.007587214946746826,
0.0075918550491333005,
0.0076040148735046385,
0.0077152161598205565,
0.007580015182495117,
0.007329454898834228,
0.0074139351844787595,
0.0074761748313903805,
0.007291375160217285,
0.00708065414428711,
0.00710577392578125,
0.007087053775787354,
0.007106255054473877,
0.007104174137115478,
0.007104174137115478,
0.007166894912719726,
0.007226893901824951,
0.007296975135803223,
0.007209455013275147,
0.007606735229492187,
0.007370094776153565,
0.0076646552085876465,
0.007526575088500976,
0.007904176235198974,
0.007945295810699462,
0.007984335899353028,
0.008065457344055177,
0.008076016426086425,
0.008056495666503906,
0.008052656173706055,
0.008078255653381348,
0.00802785587310791,
0.008016976356506347,
0.008038415908813476,
0.008059217453002929,
0.00802609634399414,
0.008046416282653809,
0.008055055618286133,
0.008078736305236816,
0.008055377006530761,
0.008063535690307617,
0.008077136039733887,
0.008077136039733887,
0.008048816680908203,
0.008060175895690918,
0.008062255859375,
0.008078255653381348,
0.008017135620117187,
0.007310894012451172,
0.007275215148925781,
0.007327374935150147,
0.007121933937072754,
0.007488494873046875,
0.00709425401687622,
0.007154894828796387,
0.0071070542335510255,
0.007076653957366943,
0.007131535053253174,
0.007256013870239258,
0.007224015235900879,
0.007123693943023681,
0.007127374172210693,
0.007124013900756836,
0.007100493907928467,
0.007139373779296875,
0.007117134094238281,
0.007161133766174317,
0.007116974830627442,
0.007428814888000488,
0.007346253871917724,
0.007527215003967285,
0.007878894805908204,
0.00765777587890625,
0.00744945478439331,
0.0074304151535034176,
0.007341293811798095,
0.007329133987426758,
0.007348175048828125,
0.007595534801483154,
0.007348495006561279,
0.0072742547988891605,
0.007223214149475098,
0.007230414867401123,
0.007099534034729004,
0.007122574806213379,
0.0071100940704345705,
0.007151534080505371,
0.007136334896087646,
0.007084174156188965,
0.007135533809661866,
0.00781441593170166,
0.008067695617675782,
0.008117776870727539,
0.008062576293945313,
0.008127856254577636,
0.007904975891113282,
0.00766641616821289,
0.007707214832305908,
0.007687376022338867,
0.007741775035858154,
0.007589136123657227,
0.007559535026550293,
0.007634415149688721,
0.0073784151077270505,
0.007240174770355224,
0.007388814926147461,
0.007320013999938965,
0.007186735153198242,
0.007227694034576416,
0.007207855224609375,
0.007224013805389404,
0.007212015151977539,
0.007464974880218506,
0.0072121739387512205,
0.007240973949432373,
0.007206415176391602,
0.007210254192352295,
0.0073974552154541014,
0.007420334815979004,
0.0073337750434875485,
0.00721377420425415,
0.007151535034179687,
0.007236012935638428
]
},
"throughput": {
"unit": "samples/s",
"value": 131.43207547766647
},
"energy": null,
"efficiency": null
}
}
}