IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9ddffe8 verified
raw
history blame
11.7 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 719.872,
"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.17332177734375,
"mean": 7.17332177734375,
"stdev": 0.0,
"p50": 7.17332177734375,
"p90": 7.17332177734375,
"p95": 7.17332177734375,
"p99": 7.17332177734375,
"values": [
7.17332177734375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.157508611679078e-07,
"ram": 4.6529533881937366e-07,
"gpu": 1.6602791059992794e-06,
"total": 3.041325305986561e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 919.703552,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 135,
"total": 0.9986111049652096,
"mean": 0.007397119296038593,
"stdev": 0.00026046472328588953,
"p50": 0.0074926080703735356,
"p90": 0.007640883159637451,
"p95": 0.007813631916046141,
"p99": 0.007910379590988158,
"values": [
0.007911424160003662,
0.007886816024780273,
0.007874495983123779,
0.00779366397857666,
0.007727104187011719,
0.007742464065551758,
0.007745535850524903,
0.00769536018371582,
0.007588863849639893,
0.00758681583404541,
0.007576576232910156,
0.0074997758865356446,
0.007522304058074952,
0.007523327827453613,
0.007570432186126709,
0.0075980801582336424,
0.007629824161529541,
0.00760319995880127,
0.007549952030181885,
0.007548927783966064,
0.007621632099151611,
0.0075335679054260255,
0.007635968208312988,
0.007588863849639893,
0.007634943962097168,
0.007581696033477783,
0.007571455955505371,
0.007605247974395752,
0.007607295989990235,
0.007519231796264648,
0.007479296207427978,
0.007468095779418945,
0.0074967041015625,
0.007476223945617676,
0.007571455955505371,
0.007508992195129394,
0.007572480201721191,
0.00764415979385376,
0.007629824161529541,
0.007609344005584716,
0.0075632638931274416,
0.0074587841033935546,
0.007525375843048096,
0.007585792064666748,
0.007612415790557861,
0.007555071830749512,
0.007556096076965332,
0.007500768184661865,
0.0074967041015625,
0.007516160011291504,
0.007504896163940429,
0.007592959880828858,
0.007502880096435547,
0.007502848148345947,
0.007518176078796387,
0.007512063980102539,
0.007502912044525146,
0.007559167861938477,
0.007625728130340576,
0.007682047843933106,
0.007516128063201904,
0.007625728130340576,
0.007559167861938477,
0.00790835189819336,
0.007631872177124023,
0.008319999694824219,
0.007580671787261963,
0.007860223770141601,
0.007886847972869874,
0.007428095817565918,
0.007363584041595459,
0.007541759967803955,
0.007432191848754883,
0.007142399787902832,
0.007131135940551757,
0.007172095775604248,
0.007356416225433349,
0.0073994240760803225,
0.0073134078979492185,
0.007331840038299561,
0.007486495971679687,
0.007585792064666748,
0.007344128131866455,
0.007262207984924316,
0.007201791763305664,
0.007194623947143554,
0.007213088035583496,
0.007206912040710449,
0.007178239822387696,
0.00713318395614624,
0.007090176105499267,
0.007130112171173096,
0.007153664112091064,
0.0071526398658752445,
0.007158783912658692,
0.00708403205871582,
0.0071526398658752445,
0.007128064155578613,
0.007106560230255127,
0.00709222412109375,
0.007107583999633789,
0.007128064155578613,
0.007030784130096435,
0.007039999961853028,
0.006988800048828125,
0.00707692813873291,
0.007142399787902832,
0.007185408115386963,
0.007230463981628418,
0.007131135940551757,
0.007160831928253173,
0.007189504146575928,
0.00709119987487793,
0.006978559970855713,
0.007011328220367432,
0.0070553598403930665,
0.007018496036529541,
0.0070000958442687986,
0.007001088142395019,
0.007037951946258545,
0.0074926080703735356,
0.007138304233551026,
0.007077888011932373,
0.007108607769012451,
0.007132160186767578,
0.007121920108795166,
0.007128064155578613,
0.00707583999633789,
0.007124991893768311,
0.007114816188812256,
0.007107583999633789,
0.007096320152282715,
0.007046144008636474,
0.007123968124389648,
0.007153664112091064
]
},
"throughput": {
"unit": "samples/s",
"value": 135.1877616108657
},
"energy": {
"unit": "kWh",
"cpu": 8.082173015705494e-08,
"ram": 4.418951398930306e-08,
"gpu": 1.484865133469785e-07,
"total": 2.7349775749333647e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3656337.1091785426
}
}
}
}