IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2ccc450
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_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": 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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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.3.1", | |
"optimum_benchmark_commit": "16c37a2d0a7e1a726b6a2a50e2fbcf32df3b575c", | |
"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": 903.524352, | |
"max_global_vram": 841.760768, | |
"max_process_vram": 42193.711104, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.78465185546875, | |
"mean": 6.78465185546875, | |
"stdev": 0.0, | |
"p50": 6.78465185546875, | |
"p90": 6.78465185546875, | |
"p95": 6.78465185546875, | |
"p99": 6.78465185546875, | |
"values": [ | |
6.78465185546875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1012.65408, | |
"max_global_vram": 898.265088, | |
"max_process_vram": 213838.770176, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 0.9966491608619684, | |
"mean": 0.007274811393153058, | |
"stdev": 0.00018476605303383738, | |
"p50": 0.007200168132781982, | |
"p90": 0.00750759162902832, | |
"p95": 0.007565575981140136, | |
"p99": 0.0077655313491821285, | |
"values": [ | |
0.007424808025360107, | |
0.007511046886444092, | |
0.007782408237457275, | |
0.008707368850708008, | |
0.007735527992248535, | |
0.0076697678565979, | |
0.007652007102966309, | |
0.00764688777923584, | |
0.007558728218078613, | |
0.0074998469352722166, | |
0.0075052881240844724, | |
0.007523527145385742, | |
0.007405447006225586, | |
0.007378087043762207, | |
0.0073651280403137205, | |
0.007385927200317383, | |
0.007379047870635987, | |
0.007403367042541504, | |
0.007409607887268067, | |
0.0073696069717407225, | |
0.007340328216552734, | |
0.007217287063598633, | |
0.007179526805877685, | |
0.007170887947082519, | |
0.007185126781463623, | |
0.007184967041015625, | |
0.007198566913604736, | |
0.007243688106536865, | |
0.007159526824951172, | |
0.007191206932067871, | |
0.007207686901092529, | |
0.007200168132781982, | |
0.007149927139282227, | |
0.007167366981506348, | |
0.007182726860046387, | |
0.007172327041625976, | |
0.00715360689163208, | |
0.00720656681060791, | |
0.007198887825012207, | |
0.007168167114257813, | |
0.007164166927337646, | |
0.007198566913604736, | |
0.0071654472351074215, | |
0.007149287223815918, | |
0.0071395268440246585, | |
0.0071611270904541014, | |
0.007167047977447509, | |
0.007152807235717773, | |
0.007170086860656739, | |
0.007184967041015625, | |
0.0071900877952575685, | |
0.007183046817779541, | |
0.0072198472023010255, | |
0.007180007934570312, | |
0.0071752071380615234, | |
0.007173926830291748, | |
0.007167686939239502, | |
0.007210567951202392, | |
0.00717600679397583, | |
0.007180807113647461, | |
0.007197607040405274, | |
0.0071798481941223145, | |
0.007176327228546143, | |
0.007185286998748779, | |
0.0072080078125, | |
0.007167527198791504, | |
0.007209607124328613, | |
0.007225926876068115, | |
0.007234248161315918, | |
0.007194726943969726, | |
0.0072148871421813966, | |
0.00723248815536499, | |
0.007157287120819092, | |
0.007190886974334717, | |
0.007154726982116699, | |
0.007177127838134766, | |
0.007190567016601562, | |
0.007170726776123047, | |
0.007152486801147461, | |
0.007176008224487305, | |
0.007178886890411377, | |
0.007190086841583252, | |
0.007200808048248291, | |
0.00716944694519043, | |
0.007156806945800781, | |
0.007142726898193359, | |
0.007186886787414551, | |
0.007153286933898926, | |
0.007134087085723877, | |
0.007187847137451172, | |
0.007160326957702637, | |
0.007143846988677979, | |
0.007160326957702637, | |
0.007152166843414307, | |
0.0071440072059631345, | |
0.0071497678756713865, | |
0.007148006916046143, | |
0.007156006813049317, | |
0.007169126987457275, | |
0.007250088214874268, | |
0.007517446994781494, | |
0.007523367881774903, | |
0.0075358481407165525, | |
0.00759296703338623, | |
0.007544167995452881, | |
0.007431046962738037, | |
0.007306726932525634, | |
0.007358087062835693, | |
0.007396008014678955, | |
0.00739920711517334, | |
0.007310247898101806, | |
0.0074051270484924315, | |
0.007411528110504151, | |
0.007311047077178955, | |
0.007366888046264649, | |
0.007206407070159912, | |
0.007195046901702881, | |
0.007199367046356201, | |
0.0071945681571960445, | |
0.00721632719039917, | |
0.007296327114105224, | |
0.007268008232116699, | |
0.007218886852264404, | |
0.007187207221984863, | |
0.007267687797546387, | |
0.007281766891479492, | |
0.007270407199859619, | |
0.0072758479118347165, | |
0.007264327049255371, | |
0.007300167083740234, | |
0.007279848098754883, | |
0.007257126808166504, | |
0.007238886833190918, | |
0.0072392067909240725, | |
0.007218727111816406, | |
0.007228645801544189, | |
0.007301608085632324 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.4606083865191 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |