IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c4dc56a verified
raw
history blame
11.8 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"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": 764.125184,
"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.39188525390625,
"mean": 7.39188525390625,
"stdev": 0.0,
"p50": 7.39188525390625,
"p90": 7.39188525390625,
"p95": 7.39188525390625,
"p99": 7.39188525390625,
"values": [
7.39188525390625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.811242493057216e-07,
"ram": 4.6715578417844635e-07,
"gpu": 1.5844457120000807e-06,
"total": 2.9327257454842483e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 964.46464,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 137,
"total": 0.9961949753761289,
"mean": 0.007271496170628679,
"stdev": 0.00012064961571531031,
"p50": 0.007250944137573242,
"p90": 0.007389593505859375,
"p95": 0.007487488174438476,
"p99": 0.007675002841949463,
"values": [
0.00753766393661499,
0.007481344223022461,
0.00744755220413208,
0.007316480159759522,
0.007377920150756836,
0.007314432144165039,
0.007323647975921631,
0.0072837119102478025,
0.0073134078979492185,
0.007286784172058106,
0.007307263851165771,
0.007312384128570557,
0.007268352031707764,
0.007208960056304932,
0.007274496078491211,
0.007293951988220215,
0.007314367771148682,
0.00734822416305542,
0.007390207767486572,
0.007356416225433349,
0.007323647975921631,
0.0072325119972229,
0.007305215835571289,
0.0073696961402893064,
0.0073431038856506346,
0.007337984085083008,
0.007365632057189942,
0.007279615879058838,
0.007331840038299561,
0.007289792060852051,
0.007308288097381592,
0.007327744007110596,
0.007222271919250488,
0.007156735897064209,
0.0072304000854492186,
0.007237631797790528,
0.007236608028411865,
0.007271423816680909,
0.007258111953735351,
0.00728166389465332,
0.007353375911712647,
0.00738918399810791,
0.007412735939025879,
0.007360511779785156,
0.00724070405960083,
0.007229440212249756,
0.007301119804382325,
0.007398399829864502,
0.007327744007110596,
0.007287744045257568,
0.00727347183227539,
0.007217152118682861,
0.007186431884765625,
0.007299071788787842,
0.007193600177764893,
0.007314432144165039,
0.007238656044006348,
0.0071833600997924804,
0.007226367950439453,
0.007284736156463623,
0.007230463981628418,
0.0072325119972229,
0.007223296165466309,
0.007292928218841553,
0.0074065918922424315,
0.007419904232025146,
0.00729702377319336,
0.007353343963623047,
0.007304192066192627,
0.007294976234436036,
0.00733081579208374,
0.007244800090789795,
0.007251967906951904,
0.007227392196655274,
0.007142399787902832,
0.0071833600997924804,
0.007017471790313721,
0.007057407855987549,
0.007196671962738037,
0.0070256638526916505,
0.006918144226074219,
0.006931456089019775,
0.0069283838272094726,
0.0070225920677185055,
0.007351295948028564,
0.007549952030181885,
0.007677951812744141,
0.007669760227203369,
0.007748608112335205,
0.0075642881393432615,
0.007512063980102539,
0.007333888053894043,
0.007370751857757568,
0.007291903972625732,
0.007304192066192627,
0.007245823860168457,
0.007302144050598145,
0.007258111953735351,
0.007241727828979493,
0.007250944137573242,
0.007223296165466309,
0.007178239822387696,
0.007174143791198731,
0.007221248149871826,
0.007225344181060791,
0.007222208023071289,
0.007202816009521484,
0.007214079856872559,
0.007198719978332519,
0.0072120318412780765,
0.00722431993484497,
0.007174143791198731,
0.007226367950439453,
0.00719046401977539,
0.0072325119972229,
0.007215104103088379,
0.007208960056304932,
0.007202816009521484,
0.007218175888061523,
0.007218175888061523,
0.007214079856872559,
0.007211008071899414,
0.0072130560874938965,
0.007202816009521484,
0.0071823358535766605,
0.0072427520751953125,
0.007209983825683594,
0.007214079856872559,
0.0072202239036560055,
0.0071905279159545895,
0.007229440212249756,
0.007227392196655274,
0.007196703910827637,
0.007198719978332519,
0.007193600177764893,
0.007209983825683594,
0.007262207984924316
]
},
"throughput": {
"unit": "samples/s",
"value": 137.52327946471874
},
"energy": {
"unit": "kWh",
"cpu": 8.108661075437549e-08,
"ram": 4.4329133971858914e-08,
"gpu": 1.4897652709589033e-07,
"total": 2.743922718221247e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3644417.509864315
}
}
}
}