IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
241d957 verified
raw
history blame
11.9 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.3.1",
"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": 718.741504,
"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.15656689453125,
"mean": 7.15656689453125,
"stdev": 0.0,
"p50": 7.15656689453125,
"p90": 7.15656689453125,
"p95": 7.15656689453125,
"p99": 7.15656689453125,
"values": [
7.15656689453125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.915053473578559e-07,
"ram": 4.730396166077829e-07,
"gpu": 0.0,
"total": 1.364544963965639e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 918.265856,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 142,
"total": 0.9998344321250916,
"mean": 0.0070410875501767,
"stdev": 0.0002687996443115667,
"p50": 0.006904831886291504,
"p90": 0.007219990348815918,
"p95": 0.00751769607067108,
"p99": 0.007958045191764832,
"values": [
0.007962624073028564,
0.00795145606994629,
0.007912447929382324,
0.007877632141113282,
0.00781824016571045,
0.008491007804870606,
0.007200767993927002,
0.006924287796020508,
0.0069212160110473635,
0.006875135898590088,
0.006852608203887939,
0.006882304191589355,
0.0068249602317810056,
0.006862847805023193,
0.006821887969970703,
0.0068249602317810056,
0.00687718391418457,
0.006863872051239014,
0.006879231929779053,
0.006791071891784668,
0.006815743923187256,
0.006900735855102539,
0.006916096210479736,
0.00687718391418457,
0.006957056045532227,
0.007009280204772949,
0.006889472007751465,
0.006875135898590088,
0.00688640022277832,
0.006862847805023193,
0.006890495777130127,
0.006862847805023193,
0.006863776206970215,
0.006827040195465088,
0.006822912216186523,
0.006809599876403808,
0.006821856021881103,
0.006819935798645019,
0.006791168212890625,
0.006822912216186523,
0.0068290882110595705,
0.0067717118263244626,
0.006807551860809326,
0.006822944164276123,
0.006779903888702392,
0.006864895820617676,
0.006900735855102539,
0.006871039867401123,
0.006905824184417725,
0.0068915200233459475,
0.006879231929779053,
0.006876160144805908,
0.006849535942077637,
0.00682096004486084,
0.006863872051239014,
0.00684441614151001,
0.006853631973266602,
0.006883359909057617,
0.006859776020050049,
0.006881279945373535,
0.006807392120361328,
0.006856704235076904,
0.00695084810256958,
0.006980607986450196,
0.006900735855102539,
0.006887423992156983,
0.006874112129211426,
0.006899712085723877,
0.00687820816040039,
0.006889472007751465,
0.006870016098022461,
0.00694271993637085,
0.006904831886291504,
0.006913023948669434,
0.006833151817321777,
0.006904831886291504,
0.006960063934326172,
0.0068853759765625,
0.006879231929779053,
0.006894591808319092,
0.006865920066833496,
0.006884352207183838,
0.0068986878395080565,
0.0068351998329162595,
0.006873087882995605,
0.006859776020050049,
0.0068853759765625,
0.006894591808319092,
0.00684441614151001,
0.006899712085723877,
0.007061503887176514,
0.006946815967559815,
0.007047167778015137,
0.007162816047668457,
0.00720582389831543,
0.007213119983673096,
0.0072130560874938965,
0.00719974422454834,
0.007178239822387696,
0.007196671962738037,
0.0073768959045410155,
0.0071823358535766605,
0.007200767993927002,
0.007163904190063477,
0.007193600177764893,
0.0071823358535766605,
0.007173120021820068,
0.007158783912658692,
0.007192575931549072,
0.0071495680809020995,
0.007230463981628418,
0.007164927959442138,
0.007222271919250488,
0.007181312084197998,
0.007391232013702393,
0.007524352073669433,
0.007215104103088379,
0.007220191955566406,
0.007208960056304932,
0.007177216053009033,
0.0076278080940246585,
0.007171072006225586,
0.007183328151702881,
0.007181312084197998,
0.007145472049713135,
0.007162879943847656,
0.007221248149871826,
0.00709222412109375,
0.007180352210998536,
0.007147520065307617,
0.007202816009521484,
0.007235583782196045,
0.007188479900360107,
0.00719049596786499,
0.007218175888061523,
0.007144447803497315,
0.007215104103088379,
0.007184383869171143,
0.007171072006225586,
0.0072120318412780765,
0.007160831928253173,
0.0072130560874938965
]
},
"throughput": {
"unit": "samples/s",
"value": 142.02351453148802
},
"energy": {
"unit": "kWh",
"cpu": 8.521321699392502e-08,
"ram": 4.659205590104544e-08,
"gpu": 1.6322355184172935e-07,
"total": 2.9502882473669974e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3389499.3172021615
}
}
}
}