IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
dbd433d verified
raw
history blame
10 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_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": false,
"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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.2.1",
"optimum_benchmark_commit": "1981150adc21fc49153cb832dbc6f0ecca02bc2a",
"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": 1009.025024,
"max_global_vram": 1877.520384,
"max_process_vram": 204132.786176,
"max_reserved": 555.74528,
"max_allocated": 499.443712
},
"latency": {
"unit": "s",
"count": 127,
"total": 1.0010992493629456,
"mean": 0.007882671254826341,
"stdev": 0.00029700030826844057,
"p50": 0.008005441665649414,
"p90": 0.008236545372009277,
"p95": 0.008312625980377197,
"p99": 0.00840936222076416,
"values": [
0.008035040855407715,
0.008184162139892578,
0.008239521980285644,
0.008296161651611329,
0.008248961448669434,
0.008416961669921875,
0.008350722312927246,
0.007996321201324463,
0.007975361824035644,
0.00779168176651001,
0.0077219209671020505,
0.007812481880187988,
0.007991201877593994,
0.007892321109771729,
0.00796080207824707,
0.007772800922393799,
0.00756832218170166,
0.00787728214263916,
0.0082345609664917,
0.00835920238494873,
0.008388642311096192,
0.008416642189025879,
0.008321921348571777,
0.008319682121276855,
0.0082713623046875,
0.008251681327819824,
0.008243361473083495,
0.008135361671447754,
0.00809504222869873,
0.008056160926818847,
0.008023201942443848,
0.008067841529846192,
0.008060960769653321,
0.007980802059173585,
0.008097282409667969,
0.008053760528564453,
0.008036321640014648,
0.008075522422790528,
0.008072001457214355,
0.008115362167358399,
0.008005441665649414,
0.008084321022033691,
0.008131361961364747,
0.008054242134094239,
0.008047520637512207,
0.008025921821594239,
0.008063362121582032,
0.008145280838012695,
0.008094882011413574,
0.008021601676940918,
0.008038241386413575,
0.008066561698913574,
0.008008002281188965,
0.008052801132202149,
0.008058721542358399,
0.008051682472229003,
0.008025280952453613,
0.008025602340698242,
0.008064322471618653,
0.008059041023254394,
0.008089761734008789,
0.008047362327575684,
0.008105120658874511,
0.008064322471618653,
0.00801760196685791,
0.007993121147155762,
0.00813648223876953,
0.008032002449035645,
0.008108160972595214,
0.007827362060546876,
0.0075852818489074705,
0.007496641159057617,
0.0073675217628479004,
0.007393280982971192,
0.0077675218582153325,
0.0076393609046936034,
0.007349442005157471,
0.007380321979522705,
0.007523040771484375,
0.0076513619422912595,
0.007486880779266358,
0.0073713622093200684,
0.007409921169281006,
0.007454562187194824,
0.007768160820007324,
0.007340322017669678,
0.007277760982513428,
0.008073922157287597,
0.00801824188232422,
0.008031841278076171,
0.007921761989593505,
0.007880002021789552,
0.007990400791168212,
0.007998082160949707,
0.008033282279968261,
0.00806528091430664,
0.007671681880950928,
0.0076385622024536136,
0.007645921230316162,
0.007548962116241455,
0.007654881000518799,
0.0075828819274902344,
0.007581120967864991,
0.007482081890106201,
0.007991042137145996,
0.008082080841064453,
0.0080769624710083,
0.008101282119750976,
0.007993121147155762,
0.007836162090301513,
0.007362881183624268,
0.007375041007995606,
0.007356001853942871,
0.007668160915374756,
0.007511362075805664,
0.007885601043701172,
0.00758304214477539,
0.0073830409049987795,
0.007616802215576172,
0.007609762191772461,
0.007604960918426514,
0.007387522220611572,
0.007390881061553955,
0.007580962181091309,
0.007549921035766602,
0.007530560970306396,
0.0071862411499023435
]
},
"throughput": {
"unit": "samples/s",
"value": 126.86054862274355
},
"energy": null,
"efficiency": null
}
}
}