IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f2c6b82 verified
raw
history blame
10.7 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_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": {},
"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": "3f7b9d2c002cca7024cac52f3c7535f2a03b7b03",
"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": 902.254592,
"max_global_vram": 841.756672,
"max_process_vram": 43398.414336,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.3903642578125,
"mean": 7.3903642578125,
"stdev": 0.0,
"p50": 7.3903642578125,
"p90": 7.3903642578125,
"p95": 7.3903642578125,
"p99": 7.3903642578125,
"values": [
7.3903642578125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1012.068352,
"max_global_vram": 898.260992,
"max_process_vram": 220414.73024,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 122,
"total": 0.9947610249519353,
"mean": 0.008153778893048646,
"stdev": 0.0005183209356089527,
"p50": 0.008376770496368407,
"p90": 0.008716433429718017,
"p95": 0.00877669711112976,
"p99": 0.008860902595520019,
"values": [
0.008725250244140625,
0.008847329139709472,
0.00889612865447998,
0.008851168632507324,
0.008769248962402344,
0.008750849723815918,
0.008740610122680664,
0.00877708911895752,
0.008583169937133789,
0.008514051437377929,
0.008439970016479493,
0.008474210739135742,
0.008424611091613769,
0.00842029094696045,
0.008526849746704101,
0.008448451042175294,
0.008479331016540527,
0.00836893081665039,
0.008395330429077148,
0.008390530586242676,
0.008381091117858886,
0.008400131225585937,
0.008443490982055664,
0.008522689819335938,
0.008430050849914552,
0.008362530708312988,
0.008429730415344238,
0.008380290985107421,
0.008369091033935547,
0.008375490188598633,
0.008374530792236328,
0.008378050804138183,
0.008389410972595214,
0.008373730659484864,
0.008511971473693848,
0.008834210395812989,
0.008863490104675293,
0.008706210136413574,
0.008566690444946288,
0.00860653018951416,
0.00878717041015625,
0.008626210212707519,
0.008627169609069825,
0.00854045009613037,
0.008502370834350586,
0.00851276969909668,
0.008758528709411621,
0.008697250366210937,
0.008493889808654785,
0.008449891090393066,
0.008424610137939452,
0.008415970802307129,
0.008536450386047363,
0.008648130416870117,
0.008717569351196289,
0.008687809944152832,
0.008597729682922363,
0.008579010009765626,
0.008638050079345703,
0.008625729560852051,
0.008605730056762696,
0.008514690399169921,
0.008460451126098632,
0.00841693115234375,
0.008370691299438477,
0.008384450912475586,
0.008412449836730958,
0.008369891166687012,
0.008422691345214844,
0.00836316967010498,
0.008358691215515137,
0.008294370651245117,
0.008310050964355468,
0.008358851432800293,
0.008357251167297363,
0.008336291313171387,
0.007809573173522949,
0.007345254898071289,
0.00740269422531128,
0.007402853965759277,
0.007341414928436279,
0.0073902149200439455,
0.007387814044952393,
0.007404774188995361,
0.0073574137687683104,
0.007378695011138916,
0.0073966140747070315,
0.007391973972320557,
0.007391173839569092,
0.0073546948432922366,
0.007380935192108154,
0.007362693786621094,
0.007395013809204102,
0.0073529348373413085,
0.0074258952140808104,
0.00741965389251709,
0.007781413078308106,
0.007876452922821044,
0.008295491218566894,
0.008318051338195801,
0.008190370559692383,
0.007911972999572754,
0.007806693077087402,
0.008281091690063476,
0.007637732982635498,
0.007712772846221924,
0.007714053153991699,
0.007715652942657471,
0.007576774120330811,
0.0074681339263916015,
0.007401093959808349,
0.007379494190216065,
0.007392455101013184,
0.007399815082550049,
0.007373733997344971,
0.007341573238372803,
0.007370534896850586,
0.0074044551849365235,
0.007409093856811523,
0.007389733791351319,
0.0073806138038635255,
0.007413253784179687
]
},
"throughput": {
"unit": "samples/s",
"value": 122.64252110791618
},
"energy": null,
"efficiency": null
}
}
}