IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
acac662 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.2.1",
"optimum_benchmark_commit": "619f91dd928d405e72e9e7724b958f1538ca7d80",
"transformers_version": "4.41.0",
"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": 1008.55808,
"max_global_vram": 1877.508096,
"max_process_vram": 183639.687168,
"max_reserved": 555.74528,
"max_allocated": 499.443712
},
"latency": {
"unit": "s",
"count": 137,
"total": 0.9991675195693971,
"mean": 0.007293193573499248,
"stdev": 0.0003101026314350622,
"p50": 0.007203528881072998,
"p90": 0.007736585903167725,
"p95": 0.007974602222442626,
"p99": 0.008039338073730468,
"values": [
0.009011212348937989,
0.00804481029510498,
0.00786304998397827,
0.007468170166015625,
0.007287528991699219,
0.00711008882522583,
0.007000009059906006,
0.007268010139465332,
0.00700416898727417,
0.007056169033050537,
0.007341928958892822,
0.007533130168914795,
0.007401288986206055,
0.007488329887390136,
0.007440169811248779,
0.007063529014587402,
0.007112489223480224,
0.007062408924102783,
0.007043529033660889,
0.007198729038238525,
0.0074460902214050296,
0.007065928936004638,
0.0070622491836547854,
0.007017128944396973,
0.007234569072723389,
0.007065769195556641,
0.007042249202728271,
0.007056649208068848,
0.007165288925170899,
0.00726064920425415,
0.007039689064025879,
0.007012969017028809,
0.00730256986618042,
0.007132489204406739,
0.007040328979492187,
0.00729504919052124,
0.007033608913421631,
0.007012969017028809,
0.00764448881149292,
0.006980648994445801,
0.007008648872375488,
0.0070076889991760255,
0.007054409027099609,
0.007144329071044922,
0.007374888896942139,
0.007628169059753418,
0.007218249797821045,
0.0071998491287231445,
0.007155848979949951,
0.007200809001922608,
0.0073708901405334475,
0.007422248840332032,
0.007199049949645996,
0.007084969043731689,
0.007048809051513672,
0.007237608909606934,
0.00704944896697998,
0.007308010101318359,
0.007145449161529541,
0.007293128967285156,
0.007089929103851318,
0.007054568767547608,
0.0071289691925048825,
0.007303208827972412,
0.007116969108581543,
0.007281610012054443,
0.007050249099731445,
0.007061129093170166,
0.007064168930053711,
0.007344008922576905,
0.007428489208221436,
0.007044009208679199,
0.0073267297744750975,
0.007059369087219238,
0.007053129196166992,
0.007501129150390625,
0.007429289817810059,
0.007335689067840576,
0.007021449089050293,
0.007263689994812012,
0.00704672908782959,
0.007330568790435791,
0.007569930076599121,
0.007639689922332764,
0.007346728801727295,
0.007021129131317139,
0.007029609203338623,
0.007428009033203125,
0.008029609680175782,
0.007843531131744385,
0.007800809860229492,
0.007971370220184326,
0.00798753023147583,
0.007948649883270263,
0.008023210525512695,
0.007998410224914551,
0.008023690223693848,
0.007847529888153076,
0.007847690105438232,
0.007658248901367188,
0.007236649990081787,
0.007076329231262207,
0.007203528881072998,
0.007284329891204834,
0.007426088809967041,
0.0070200090408325195,
0.007323369979858398,
0.007264169216156005,
0.007121768951416016,
0.007284329891204834,
0.0076937699317932125,
0.007290409088134765,
0.007085289001464844,
0.007086409091949463,
0.007068968772888183,
0.007541289806365967,
0.0075084900856018065,
0.0071073689460754395,
0.007120328903198242,
0.0070811290740966796,
0.007462409973144532,
0.007277608871459961,
0.007327529907226562,
0.007111528873443604,
0.0071361689567565915,
0.0070841689109802245,
0.007052009105682373,
0.0074760098457336424,
0.007226889133453369,
0.007028809070587158,
0.0070670490264892576,
0.0070646491050720215,
0.0072998499870300295,
0.007115688800811768,
0.007227367877960205,
0.0070860891342163085,
0.0070865688323974605
]
},
"throughput": {
"unit": "samples/s",
"value": 137.11414484234012
},
"energy": null,
"efficiency": null
}
}
}