IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9728f7c verified
raw
history blame
11.5 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_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": 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",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.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.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.2",
"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": 786.747392,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.37830908203125,
"mean": 7.37830908203125,
"stdev": 0.0,
"p50": 7.37830908203125,
"p90": 7.37830908203125,
"p95": 7.37830908203125,
"p99": 7.37830908203125,
"values": [
7.37830908203125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.708967777774747e-07,
"ram": 4.6200821131824395e-07,
"gpu": 1.747223619999981e-06,
"total": 3.0801286090956998e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1083.334656,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 130,
"total": 1.0036749448776245,
"mean": 0.007720576499058648,
"stdev": 0.00013660900347177193,
"p50": 0.007665664196014404,
"p90": 0.007866764831542968,
"p95": 0.00804515814781189,
"p99": 0.00822071855545044,
"values": [
0.008050687789916992,
0.008244159698486329,
0.007998496055603028,
0.008029215812683106,
0.00789798402786255,
0.008295424461364746,
0.007620543956756592,
0.007772160053253174,
0.007752511978149414,
0.007733248233795166,
0.007787519931793213,
0.007718912124633789,
0.007854207992553711,
0.008163328170776368,
0.007671840190887451,
0.007616511821746826,
0.0076839041709899905,
0.007659520149230957,
0.007667712211608887,
0.007863296031951903,
0.007633920192718506,
0.007648255825042725,
0.007638016223907471,
0.007647232055664062,
0.007678976058959961,
0.007658495903015137,
0.007808000087738037,
0.007646048069000244,
0.007679999828338623,
0.007632736206054687,
0.007681024074554443,
0.007635968208312988,
0.0076902399063110355,
0.007625728130340576,
0.007645088195800781,
0.007638976097106933,
0.007656447887420655,
0.00765337610244751,
0.007713791847229004,
0.007783423900604248,
0.0077608962059021,
0.007661568164825439,
0.00759500789642334,
0.007683072090148926,
0.007647232055664062,
0.007636991977691651,
0.007659520149230957,
0.007651328086853027,
0.00760422420501709,
0.007623744010925293,
0.0076574721336364745,
0.007629951953887939,
0.0076605439186096195,
0.008116224288940429,
0.007982079982757568,
0.00795750379562378,
0.007665664196014404,
0.007601247787475586,
0.007709695816040039,
0.007624703884124756,
0.007611392021179199,
0.007616511821746826,
0.007675903797149658,
0.007666687965393066,
0.007620607852935791,
0.007683072090148926,
0.007663616180419922,
0.007639039993286132,
0.007798783779144287,
0.007648255825042725,
0.008062975883483887,
0.0076912641525268555,
0.00769536018371582,
0.00764415979385376,
0.0076319041252136234,
0.007664639949798584,
0.007633920192718506,
0.007704576015472412,
0.007642144203186035,
0.0076555519104003905,
0.007654431819915771,
0.007665664196014404,
0.007809023857116699,
0.007678976058959961,
0.00764192008972168,
0.007568511962890625,
0.007621600151062012,
0.007609344005584716,
0.007758719921112061,
0.007618624210357666,
0.008144895553588867,
0.007749631881713868,
0.00780185604095459,
0.00780188798904419,
0.00781004810333252,
0.007770112037658691,
0.007789567947387695,
0.007805952072143555,
0.00767087984085083,
0.007717887878417969,
0.007724031925201416,
0.008038399696350097,
0.0076770238876342775,
0.007699456214904785,
0.007678976058959961,
0.00774348783493042,
0.007647071838378906,
0.0076605439186096195,
0.007629824161529541,
0.0076308479309082035,
0.007646207809448242,
0.007625696182250977,
0.007662591934204102,
0.007656447887420655,
0.007837696075439453,
0.007686143875122071,
0.007749567985534668,
0.007719744205474854,
0.007828544139862061,
0.007650335788726806,
0.007662591934204102,
0.007633920192718506,
0.007640063762664795,
0.007643136024475097,
0.007649280071258545,
0.007676928043365478,
0.007664639949798584,
0.007620607852935791,
0.007704576015472412,
0.007641056060791016
]
},
"throughput": {
"unit": "samples/s",
"value": 129.5240064160918
},
"energy": {
"unit": "kWh",
"cpu": 9.041491436598589e-08,
"ram": 4.941294550288141e-08,
"gpu": 1.6560869906870248e-07,
"total": 3.054365589375698e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3274002.3115713424
}
}
}
}