IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
bc39e24 verified
raw
history blame
10.4 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"model": "FacebookAI/roberta-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 909.877248,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 131,
"total": 0.9960008969306945,
"mean": 0.007603060281913699,
"stdev": 0.000391807649545559,
"p50": 0.007575551986694336,
"p90": 0.007839744091033935,
"p95": 0.00819814395904541,
"p99": 0.009266893100738525,
"values": [
0.008095744132995606,
0.007767039775848389,
0.00790015983581543,
0.007849984169006348,
0.007798783779144287,
0.007889952182769775,
0.0077619199752807615,
0.007823359966278077,
0.007714816093444824,
0.007788576126098633,
0.007751679897308349,
0.007734272003173828,
0.007662591934204102,
0.007629824161529541,
0.007662591934204102,
0.007670783996582031,
0.007748608112335205,
0.007820288181304931,
0.007880703926086426,
0.007742464065551758,
0.007675936222076416,
0.007708672046661377,
0.007831552028656007,
0.007665664196014404,
0.0076769919395446775,
0.007632895946502686,
0.007657408237457275,
0.0075939841270446775,
0.007601151943206787,
0.007620607852935791,
0.007689216136932373,
0.0075970239639282225,
0.009551872253417968,
0.008300543785095215,
0.007846911907196046,
0.007839744091033935,
0.007822303771972657,
0.007622655868530274,
0.007607295989990235,
0.007625728130340576,
0.007642111778259277,
0.007638016223907471,
0.007659520149230957,
0.007665664196014404,
0.007609344005584716,
0.007617536067962646,
0.00759603214263916,
0.007617536067962646,
0.007604159832000732,
0.007531519889831543,
0.007508992195129394,
0.0075642881393432615,
0.007560224056243897,
0.00765337610244751,
0.007543807983398438,
0.007536608219146729,
0.007516160011291504,
0.007543807983398438,
0.0075459198951721195,
0.007523359775543213,
0.007575551986694336,
0.007569407939910889,
0.007713791847229004,
0.007685120105743408,
0.007737343788146973,
0.007631872177124023,
0.007574528217315674,
0.007614463806152344,
0.007524352073669433,
0.00760319995880127,
0.007582719802856445,
0.00749567985534668,
0.0074035201072692874,
0.007398399829864502,
0.007546879768371582,
0.007370751857757568,
0.007184447765350342,
0.007172095775604248,
0.007243775844573975,
0.007261248111724854,
0.008390656471252441,
0.009185279846191406,
0.009282560348510742,
0.00923033618927002,
0.008623104095458984,
0.00769536018371582,
0.0077506561279296875,
0.007540736198425293,
0.007508992195129394,
0.007745535850524903,
0.007414783954620361,
0.007427072048187256,
0.007435264110565186,
0.007383008003234864,
0.007433279991149903,
0.00738099193572998,
0.007196671962738037,
0.0071823358535766605,
0.007158783912658692,
0.007173120021820068,
0.007216127872467041,
0.007180287837982178,
0.007166975975036621,
0.007196671962738037,
0.007177216053009033,
0.00719868803024292,
0.007181312084197998,
0.007238656044006348,
0.007416831970214844,
0.007387135982513428,
0.007443456172943115,
0.007415808200836181,
0.007432191848754883,
0.007423999786376953,
0.0074414081573486324,
0.007426047801971435,
0.0074404158592224125,
0.007446464061737061,
0.007448575973510742,
0.0074629120826721195,
0.007434239864349365,
0.007409664154052734,
0.00719974422454834,
0.007181248188018799,
0.0072202558517456055,
0.0072120318412780765,
0.007222271919250488,
0.007176191806793213,
0.007260159969329834,
0.0071823358535766605,
0.007193600177764893
]
},
"throughput": {
"unit": "samples/s",
"value": 131.52598597420285
},
"energy": {
"unit": "kWh",
"cpu": 8.536502659368477e-08,
"ram": 4.666525305732674e-08,
"gpu": 1.517926873812928e-07,
"total": 2.838229670323043e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3523323.0434314418
}
}
}
}