IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ba5504f verified
raw
history blame
13.4 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.5.1+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"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": 2,
"sequence_length": 16,
"num_choices": 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.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.228-219.884.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 823.058432,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.0905011215209961
],
"count": 1,
"total": 0.0905011215209961,
"mean": 0.0905011215209961,
"p50": 0.0905011215209961,
"p90": 0.0905011215209961,
"p95": 0.0905011215209961,
"p99": 0.0905011215209961,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00010629111198541662,
"ram": 5.823575908813071e-05,
"gpu": 0.00014017566769600025,
"total": 0.0003047025387695476
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1091.559424,
"max_global_vram": 1205.338112,
"max_process_vram": 0.0,
"max_reserved": 557.842432,
"max_allocated": 509.729792
},
"latency": {
"unit": "s",
"values": [
0.006296576023101807,
0.005747647762298584,
0.005732351779937744,
0.006050816059112549,
0.0059955201148986816,
0.006008831977844238,
0.00606822395324707,
0.005983232021331787,
0.006005760192871094,
0.005944320201873779,
0.005953536033630371,
0.005953536033630371,
0.006024191856384278,
0.005963776111602783,
0.005902272224426269,
0.006046720027923584,
0.005834752082824707,
0.005673984050750733,
0.0058091521263122555,
0.0057149438858032225,
0.005897215843200684,
0.005929984092712402,
0.0059985918998718265,
0.005852159976959229,
0.005832704067230224,
0.00587775993347168,
0.005806079864501953,
0.005755904197692871,
0.005746687889099121,
0.005774335861206055,
0.005756927967071533,
0.005816383838653565,
0.005751808166503906,
0.005794816017150879,
0.005740543842315674,
0.005798912048339844,
0.005758975982666016,
0.005790719985961914,
0.005753856182098388,
0.005760000228881836,
0.005777440071105957,
0.005851136207580566,
0.005976064205169678,
0.005915647983551026,
0.006031360149383545,
0.005949471950531006,
0.005925888061523437,
0.005892096042633056,
0.005827583789825439,
0.005734335899353027,
0.005799935817718506,
0.0057569599151611325,
0.005805056095123291,
0.0057292799949646,
0.005843967914581299,
0.005764095783233642,
0.005763072013854981,
0.005776383876800537,
0.0057712321281433105,
0.005899263858795166,
0.005903359889984131,
0.005824512004852295,
0.005856256008148194,
0.005846015930175781,
0.005892096042633056,
0.005962751865386963,
0.005879807949066162,
0.006180863857269287,
0.005917695999145508,
0.005962751865386963,
0.00586240005493164,
0.005982207775115967,
0.005896192073822021,
0.0060210881233215335,
0.005901311874389649,
0.005916672229766846,
0.005739520072937012,
0.005776383876800537,
0.005840896129608154,
0.005938208103179932,
0.005972991943359375,
0.005911551952362061,
0.005966847896575928,
0.006013951778411865,
0.005981184005737304,
0.00575491189956665,
0.005903359889984131,
0.005772287845611572,
0.005856256008148194,
0.0057712640762329105,
0.005850111961364746,
0.0057784318923950195,
0.005851136207580566,
0.0057190399169921875,
0.005822463989257813,
0.005744639873504639,
0.005781504154205322,
0.0057794561386108395,
0.005738495826721191,
0.005843967914581299,
0.005868544101715088,
0.005945343971252442,
0.005730303764343261,
0.005883903980255127,
0.005953536033630371,
0.006047743797302246,
0.006014976024627685,
0.006020095825195313,
0.006055935859680176,
0.006235136032104492,
0.006052864074707031,
0.005959680080413818,
0.005884928226470947,
0.005956607818603516,
0.005915647983551026,
0.005932032108306885,
0.005914624214172363,
0.006044672012329101,
0.005920767784118652,
0.005791744232177734,
0.005744639873504639,
0.005726208209991455,
0.005727231979370117,
0.005718016147613526,
0.005773312091827393,
0.005698560237884521,
0.005873663902282715,
0.005780479907989502,
0.0058429441452026365,
0.005724160194396972,
0.005967872142791748,
0.005881855964660645,
0.005736447811126709,
0.005733376026153565,
0.0056943998336792,
0.00572211217880249,
0.005667840003967285,
0.005693439960479736,
0.005645311832427978,
0.0057149438858032225,
0.00568726396560669,
0.005708799839019775,
0.005695487976074219,
0.005711840152740478,
0.005730303764343261,
0.005696512222290039,
0.005691391944885254,
0.005725183963775635,
0.005904384136199951,
0.005819392204284668,
0.0058757119178771975,
0.005922815799713135,
0.005865536212921143,
0.005863423824310303,
0.0059054079055786135,
0.005839903831481933,
0.005706751823425293,
0.005727231979370117,
0.0057149438858032225,
0.005695487976074219,
0.005701632022857666,
0.005724160194396972,
0.005758975982666016,
0.005687295913696289,
0.005853184223175049,
0.005676032066345215,
0.005763072013854981,
0.0056975679397583,
0.0058009600639343266,
0.005682176113128662,
0.005734399795532226
],
"count": 171,
"total": 0.9993727669715878,
"mean": 0.0058442851869683525,
"p50": 0.005834752082824707,
"p90": 0.006005760192871094,
"p95": 0.006045696020126343,
"p99": 0.006197145509719849,
"stdev": 0.00011874594045422859,
"stdev_": 2.031830012659367
},
"throughput": {
"unit": "samples/s",
"value": 342.214648330239
},
"energy": {
"unit": "kWh",
"cpu": 6.850387298451694e-08,
"ram": 3.7188770636450864e-08,
"gpu": 1.4864635135632455e-07,
"total": 2.543389949772923e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 7863520.889427759
}
}
}
}