IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
69e2727 verified
raw
history blame
12.2 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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": 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": 788.0704,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.4097119140625,
"mean": 7.4097119140625,
"stdev": 0.0,
"p50": 7.4097119140625,
"p90": 7.4097119140625,
"p95": 7.4097119140625,
"p99": 7.4097119140625,
"values": [
7.4097119140625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.1313454430557831e-06,
"ram": 5.675878588286913e-07,
"gpu": 1.7516680679997149e-06,
"total": 3.4506013698841896e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1078.034432,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 147,
"total": 1.001819010734558,
"mean": 0.006815095311119443,
"stdev": 0.0001621898876289783,
"p50": 0.006819839954376221,
"p90": 0.007017702388763428,
"p95": 0.0071173694133758545,
"p99": 0.007276523485183715,
"values": [
0.007293951988220215,
0.007335968017578125,
0.0072499198913574215,
0.007256063938140869,
0.007132160186767578,
0.006990848064422607,
0.006990848064422607,
0.006915071964263916,
0.006987775802612305,
0.006871039867401123,
0.006862847805023193,
0.006821919918060302,
0.0068618240356445315,
0.006751232147216797,
0.006719488143920899,
0.006795263767242431,
0.006846464157104492,
0.0068351998329162595,
0.006816768169403077,
0.006852608203887939,
0.006871039867401123,
0.006772736072540283,
0.0067717118263244626,
0.00684441614151001,
0.006905856132507324,
0.006895616054534912,
0.006918111801147461,
0.006872064113616944,
0.0070348801612854,
0.007097343921661377,
0.007080959796905518,
0.007125951766967773,
0.007094272136688232,
0.007074816226959229,
0.006755328178405762,
0.006715392112731934,
0.006703104019165039,
0.006754303932189941,
0.006809599876403808,
0.0067983360290527345,
0.006776832103729248,
0.006804480075836182,
0.006842400074005127,
0.006923200130462647,
0.006937600135803222,
0.00693452787399292,
0.006915071964263916,
0.006872064113616944,
0.0067758078575134275,
0.006819839954376221,
0.006908927917480469,
0.006860799789428711,
0.006867968082427979,
0.006830080032348633,
0.006834176063537598,
0.006776832103729248,
0.006756351947784424,
0.006822912216186523,
0.006820896148681641,
0.006882304191589355,
0.006908927917480469,
0.006864895820617676,
0.00689356803894043,
0.006853631973266602,
0.006833216190338135,
0.006780928134918213,
0.006813695907592773,
0.006852608203887939,
0.006825984001159668,
0.006961152076721191,
0.00692633581161499,
0.0068618240356445315,
0.0068504958152771,
0.0068577280044555666,
0.006850560188293457,
0.006830080032348633,
0.0067696962356567384,
0.00672870397567749,
0.006817728042602539,
0.006744063854217529,
0.006706240177154541,
0.00670201587677002,
0.006535168170928955,
0.006649856090545654,
0.006975488185882568,
0.0065771517753601075,
0.006448128223419189,
0.006471680164337158,
0.006429696083068847,
0.0065669121742248536,
0.00657919979095459,
0.007028800010681152,
0.007010303974151612,
0.0070830078125,
0.007137248039245606,
0.007202816009521484,
0.0068791680335998535,
0.006947840213775635,
0.006860799789428711,
0.006814720153808594,
0.006837247848510742,
0.0068392958641052244,
0.006916096210479736,
0.0067338237762451176,
0.00678604793548584,
0.0067348480224609375,
0.006716415882110595,
0.006716415882110595,
0.006724607944488525,
0.006710271835327148,
0.006715392112731934,
0.006703104019165039,
0.006700032234191895,
0.006883327960968018,
0.006820864200592041,
0.006755328178405762,
0.0067276802062988285,
0.006723616123199463,
0.006834208011627197,
0.006855679988861084,
0.006842368125915528,
0.006766592025756836,
0.00675328016281128,
0.006707200050354004,
0.006723584175109864,
0.0065965762138366696,
0.006542335987091064,
0.006599679946899414,
0.0065771517753601075,
0.0065443840026855465,
0.006573056221008301,
0.006565887928009034,
0.006556672096252441,
0.006602752208709717,
0.00658022403717041,
0.006599679946899414,
0.006746111869812011,
0.006686719894409179,
0.006708223819732666,
0.006729728221893311,
0.006676479816436768,
0.006677504062652588,
0.006707200050354004,
0.006699007987976074,
0.006647808074951172,
0.006728640079498291,
0.006767615795135498
]
},
"throughput": {
"unit": "samples/s",
"value": 146.73309093247894
},
"energy": {
"unit": "kWh",
"cpu": 7.99394838786372e-08,
"ram": 4.369932158903595e-08,
"gpu": 1.4414068205369165e-07,
"total": 2.677794875213648e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3734415.99002319
}
}
}
}