IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2499869 verified
raw
history blame
11.3 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"library": "transformers",
"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.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.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.41.0",
"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": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 901.390336,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993536
},
"latency": {
"unit": "s",
"count": 151,
"total": 1.0003025608062743,
"mean": 0.006624520270240229,
"stdev": 0.00026897390484817554,
"p50": 0.006576128005981445,
"p90": 0.007035903930664063,
"p95": 0.007178751945495606,
"p99": 0.007214079856872559,
"values": [
0.007490560054779053,
0.007181312084197998,
0.007186431884765625,
0.007176191806793213,
0.007184383869171143,
0.007162879943847656,
0.007205887794494629,
0.0071905279159545895,
0.0070891518592834475,
0.007218175888061523,
0.007124991893768311,
0.006972415924072266,
0.006922239780426025,
0.006985727787017822,
0.0070348801612854,
0.007105535984039306,
0.0070891518592834475,
0.007030784130096435,
0.007030784130096435,
0.007028736114501953,
0.0070348801612854,
0.006980607986450196,
0.0070348801612854,
0.007065599918365479,
0.007035903930664063,
0.006700032234191895,
0.006724607944488525,
0.006738944053649902,
0.006626304149627686,
0.006615039825439453,
0.006649856090545654,
0.006609888076782227,
0.006625279903411865,
0.006731711864471436,
0.006699007987976074,
0.006762495994567871,
0.0067717118263244626,
0.00671123218536377,
0.006731776237487793,
0.006678592205047607,
0.0067092800140380856,
0.0066713600158691405,
0.006709248065948486,
0.0067123198509216305,
0.006615039825439453,
0.006635519981384277,
0.006660096168518067,
0.006633471965789795,
0.0067420158386230465,
0.006632448196411133,
0.006606847763061524,
0.006662144184112549,
0.006662144184112549,
0.006618175983428955,
0.006661119937896728,
0.00667955207824707,
0.006684671878814697,
0.006748223781585693,
0.00672051191329956,
0.0066703038215637205,
0.006673408031463623,
0.006673408031463623,
0.006662144184112549,
0.006711296081542969,
0.006592512130737305,
0.006482944011688232,
0.006426623821258545,
0.006569983959197998,
0.006568960189819336,
0.006403071880340576,
0.006294528007507324,
0.006301695823669433,
0.00638259220123291,
0.006330368041992188,
0.006700032234191895,
0.006894591808319092,
0.00684438419342041,
0.006927360057830811,
0.007209983825683594,
0.0067338237762451176,
0.0066938881874084475,
0.006511616230010986,
0.006425600051879882,
0.006387712001800537,
0.006479872226715088,
0.006489088058471679,
0.006590464115142822,
0.006594560146331787,
0.0065382399559021,
0.006539328098297119,
0.006556640148162842,
0.006494207859039307,
0.006555647850036621,
0.0065064959526062015,
0.006550528049468994,
0.006559711933135986,
0.006511680126190186,
0.006500351905822754,
0.006563839912414551,
0.006524928092956543,
0.006519807815551758,
0.006563839912414551,
0.006494207859039307,
0.006532095909118653,
0.006542335987091064,
0.006495232105255127,
0.0065443840026855465,
0.0065413122177124024,
0.00642252779006958,
0.006335487842559814,
0.006296576023101807,
0.006339583873748779,
0.006313983917236328,
0.006318079948425293,
0.006338560104370118,
0.006294528007507324,
0.0063508481979370115,
0.006307807922363282,
0.006449151992797852,
0.0063201279640197755,
0.006266880035400391,
0.006308864116668702,
0.00628326416015625,
0.006303743839263916,
0.006312960147857666,
0.0063006081581115725,
0.006319104194641113,
0.006275072097778321,
0.0063170561790466305,
0.006304768085479737,
0.006328320026397705,
0.006333439826965332,
0.006315008163452148,
0.006322175979614258,
0.006303743839263916,
0.006306816101074219,
0.006309887886047363,
0.006276095867156982,
0.006311935901641846,
0.00628326416015625,
0.006300672054290772,
0.006326272010803223,
0.006565887928009034,
0.006554624080657959,
0.006520832061767578,
0.00657919979095459,
0.0065413122177124024,
0.0065064959526062015,
0.006552576065063476,
0.006576128005981445,
0.006543360233306885
]
},
"throughput": {
"unit": "samples/s",
"value": 150.95432713707078
},
"energy": {
"unit": "kWh",
"cpu": 7.50176660957551e-08,
"ram": 4.101230770750509e-08,
"gpu": 1.4085454306329198e-07,
"total": 2.5688451686655216e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3892799.8160336213
}
}
}
}