IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
fe98846 verified
raw
history blame
10.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": {},
"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": 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.3.1",
"optimum_benchmark_commit": null,
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 914.878464,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 138,
"total": 0.995890208721161,
"mean": 0.007216595715370731,
"stdev": 0.0002556110116927907,
"p50": 0.007223296165466309,
"p90": 0.00750622706413269,
"p95": 0.00759326708316803,
"p99": 0.00781388798236847,
"values": [
0.007823359966278077,
0.007352320194244385,
0.0074997758865356446,
0.007460864067077637,
0.007483391761779785,
0.007431168079376221,
0.007398464202880859,
0.007375872135162354,
0.007370751857757568,
0.007360511779785156,
0.007299071788787842,
0.007452640056610107,
0.007310336112976074,
0.00719974422454834,
0.007409664154052734,
0.007173088073730469,
0.007228415966033935,
0.007271423816680909,
0.007337984085083008,
0.007316480159759522,
0.007235583782196045,
0.007229407787322998,
0.007228415966033935,
0.007334911823272705,
0.0073359360694885255,
0.007299071788787842,
0.0072499198913574215,
0.00733900785446167,
0.007385087966918945,
0.007259136199951172,
0.007484416007995606,
0.007260159969329834,
0.007203839778900147,
0.007196671962738037,
0.007155712127685547,
0.007178239822387696,
0.007195648193359375,
0.0071157760620117185,
0.007219200134277344,
0.007229440212249756,
0.007233535766601563,
0.007293951988220215,
0.0073134078979492185,
0.007217152118682861,
0.007589888095855713,
0.007228384017944336,
0.007161856174468994,
0.007219200134277344,
0.00725708818435669,
0.007192575931549072,
0.007227392196655274,
0.007425024032592774,
0.007485439777374267,
0.007436287879943848,
0.00743936014175415,
0.007427008152008057,
0.007592959880828858,
0.007576576232910156,
0.007419904232025146,
0.007628799915313721,
0.0074997758865356446,
0.007521279811859131,
0.007488512039184571,
0.007483391761779785,
0.00764518404006958,
0.007797760009765625,
0.007558144092559814,
0.00759500789642334,
0.007572480201721191,
0.0075335679054260255,
0.007480319976806641,
0.0072499198913574215,
0.007355391979217529,
0.007255040168762207,
0.007294976234436036,
0.007189504146575928,
0.006956031799316406,
0.007049215793609619,
0.007156735897064209,
0.006934591770172119,
0.006842368125915528,
0.006816768169403077,
0.006855679988861084,
0.007067647933959961,
0.00830668830871582,
0.007230463981628418,
0.007193600177764893,
0.00729702377319336,
0.0076267518997192385,
0.007301119804382325,
0.007138304233551026,
0.00708403205871582,
0.007109632015228271,
0.007159808158874512,
0.007032832145690918,
0.0071157760620117185,
0.007051263809204102,
0.006843391895294189,
0.006790143966674805,
0.006873087882995605,
0.0068392958641052244,
0.006755328178405762,
0.006970367908477783,
0.006978559970855713,
0.006778880119323731,
0.006785088062286377,
0.00679423999786377,
0.006820864200592041,
0.006782976150512696,
0.006803487777709961,
0.006855679988861084,
0.006789120197296142,
0.006759424209594727,
0.006802432060241699,
0.006762495994567871,
0.006811647891998291,
0.0071157760620117185,
0.007078911781311035,
0.0074711041450500485,
0.007139296054840088,
0.0070563840866088865,
0.007122943878173828,
0.007097343921661377,
0.0070563840866088865,
0.007120895862579346,
0.007053311824798584,
0.007063551902770996,
0.007072768211364746,
0.00704204797744751,
0.0070553598403930665,
0.007086143970489502,
0.007023615837097168,
0.007292928218841553,
0.0072130560874938965,
0.007020544052124023,
0.00708403205871582,
0.007075808048248291,
0.007048192024230957
]
},
"throughput": {
"unit": "samples/s",
"value": 138.56949168845438
},
"energy": {
"unit": "kWh",
"cpu": 8.115602977562532e-08,
"ram": 4.436273373093994e-08,
"gpu": 1.5157926890410214e-07,
"total": 2.770980324106674e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3608831.110420773
}
}
}
}