IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ae614cc verified
raw
history blame
10.8 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": "5",
"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.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 909.012992,
"max_global_vram": 841.97376,
"max_process_vram": 46908.739584,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.98292626953125,
"mean": 7.98292626953125,
"stdev": 0.0,
"p50": 7.98292626953125,
"p90": 7.98292626953125,
"p95": 7.98292626953125,
"p99": 7.98292626953125,
"values": [
7.98292626953125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1019.797504,
"max_global_vram": 897.929216,
"max_process_vram": 234298.793984,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 116,
"total": 0.9959145417213437,
"mean": 0.008585470187252964,
"stdev": 0.0012526464413463482,
"p50": 0.008466295719146729,
"p90": 0.00866013479232788,
"p95": 0.009251973390579224,
"p99": 0.010026466941833494,
"values": [
0.008600774765014649,
0.008407814979553223,
0.008575494766235352,
0.008651174545288087,
0.008669095039367676,
0.008678854942321778,
0.00855629539489746,
0.009409412384033203,
0.008502856254577636,
0.008355015754699708,
0.00831069564819336,
0.008359655380249024,
0.008262855529785156,
0.008365256309509277,
0.020722820281982423,
0.0034529500007629394,
0.008689253807067872,
0.008344936370849609,
0.00922973346710205,
0.008417414665222169,
0.008484134674072266,
0.008488776206970215,
0.008479975700378417,
0.009332932472229005,
0.008470536231994629,
0.008400936126708985,
0.008414534568786622,
0.008462695121765137,
0.008403016090393066,
0.008456934928894043,
0.008469095230102539,
0.008436294555664062,
0.00859837532043457,
0.008511815071105957,
0.008503174781799317,
0.0084622163772583,
0.008492775917053223,
0.008524456024169923,
0.008485575675964356,
0.008524934768676757,
0.009050694465637207,
0.008932454109191895,
0.00855629539489746,
0.00845517635345459,
0.008485895156860351,
0.008438855171203614,
0.008483494758605957,
0.009733251571655274,
0.008518534660339356,
0.008506534576416015,
0.008474695205688476,
0.008548134803771973,
0.00847789478302002,
0.008491174697875976,
0.008486374855041504,
0.008497414588928222,
0.008488455772399902,
0.008489416122436524,
0.008478694915771485,
0.008473734855651855,
0.008491015434265137,
0.00846413516998291,
0.008473574638366699,
0.008468456268310547,
0.00844333553314209,
0.008485095024108887,
0.008487975120544434,
0.008391336441040039,
0.008387175559997559,
0.008382214546203613,
0.00837549591064453,
0.008398855209350586,
0.008375335693359375,
0.008454694747924804,
0.008369094848632812,
0.00838045597076416,
0.008372775077819824,
0.008394696235656739,
0.008413096427917481,
0.008407654762268067,
0.008440456390380859,
0.008398056030273438,
0.008394055366516114,
0.008375176429748535,
0.008329734802246094,
0.00836573600769043,
0.008470854759216308,
0.010078210830688477,
0.0084622163772583,
0.00850125503540039,
0.008455334663391113,
0.008478215217590332,
0.00844109535217285,
0.008448776245117187,
0.008447175979614257,
0.008440295219421386,
0.008447014808654785,
0.0085335750579834,
0.008492774963378906,
0.00845421600341797,
0.008533896446228028,
0.008448776245117187,
0.009318693161010742,
0.008600614547729491,
0.008357255935668946,
0.008409095764160155,
0.00838237476348877,
0.008441255569458008,
0.00839517593383789,
0.008376774787902832,
0.008439816474914551,
0.00840317440032959,
0.008463495254516602,
0.008449254989624023,
0.008508774757385254,
0.008482695579528809
]
},
"throughput": {
"unit": "samples/s",
"value": 116.47585725528718
},
"energy": null,
"efficiency": null
}
}
}