IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3cb4001
verified
{ | |
"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_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": "91971089040d6dac4da0f6b0a30eec8415a34544", | |
"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.684096, | |
"max_global_vram": 841.781248, | |
"max_process_vram": 42439.380992, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.94510302734375, | |
"mean": 6.94510302734375, | |
"stdev": 0.0, | |
"p50": 6.94510302734375, | |
"p90": 6.94510302734375, | |
"p95": 6.94510302734375, | |
"p99": 6.94510302734375, | |
"values": [ | |
6.94510302734375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1017.368576, | |
"max_global_vram": 897.101824, | |
"max_process_vram": 215974.465536, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 143, | |
"total": 0.9956697506904602, | |
"mean": 0.006962725529303917, | |
"stdev": 0.0005691437276907642, | |
"p50": 0.006825791835784912, | |
"p90": 0.007133793067932129, | |
"p95": 0.007450834798812867, | |
"p99": 0.009271700410842928, | |
"values": [ | |
0.007263234138488769, | |
0.007284674167633056, | |
0.007477795124053955, | |
0.007529314994812012, | |
0.007733315944671631, | |
0.007474434852600098, | |
0.007459714889526368, | |
0.007299553871154785, | |
0.0072061138153076175, | |
0.01033796787261963, | |
0.007370913982391357, | |
0.006795072078704834, | |
0.0068067522048950195, | |
0.006819070816040039, | |
0.006791232109069824, | |
0.006789152145385742, | |
0.006847231864929199, | |
0.006804990768432617, | |
0.006829951763153076, | |
0.006844192028045654, | |
0.006804031848907471, | |
0.0068237118721008305, | |
0.006817630767822266, | |
0.006843871116638184, | |
0.006819392204284668, | |
0.006793791770935058, | |
0.006821792125701904, | |
0.00681619119644165, | |
0.006795711994171142, | |
0.0068067522048950195, | |
0.006810911178588867, | |
0.006802751064300537, | |
0.0068000321388244625, | |
0.0068384318351745604, | |
0.006817471981048584, | |
0.0067800312042236325, | |
0.006815392017364502, | |
0.006784512042999268, | |
0.006812191009521485, | |
0.006798751831054687, | |
0.006828351020812988, | |
0.012300698280334473, | |
0.00585858678817749, | |
0.00681139087677002, | |
0.006815071105957031, | |
0.006800191879272461, | |
0.006813792228698731, | |
0.006805631160736084, | |
0.006826910972595215, | |
0.006819231986999512, | |
0.006800352096557617, | |
0.0068403520584106444, | |
0.006820671081542969, | |
0.0067805109024047855, | |
0.0068169918060302735, | |
0.0068262720108032224, | |
0.006805631160736084, | |
0.006790911197662354, | |
0.006838111877441406, | |
0.0067926721572875975, | |
0.006790111064910889, | |
0.006803552150726319, | |
0.006820352077484131, | |
0.006834432125091553, | |
0.006825791835784912, | |
0.006863232135772705, | |
0.006853472232818603, | |
0.006810750961303711, | |
0.006805631160736084, | |
0.006793312072753906, | |
0.006808191776275635, | |
0.006797630786895752, | |
0.006819392204284668, | |
0.006824672222137451, | |
0.006814271926879883, | |
0.006804191112518311, | |
0.006807072162628174, | |
0.006785632133483887, | |
0.006789951801300049, | |
0.006791070938110351, | |
0.006801951885223389, | |
0.006780191898345948, | |
0.006794911861419678, | |
0.006817471027374267, | |
0.006817310810089111, | |
0.006805952072143555, | |
0.006846752166748047, | |
0.006830751895904541, | |
0.006832352161407471, | |
0.006830431938171387, | |
0.006833151817321777, | |
0.006809310913085937, | |
0.00682659101486206, | |
0.0068072319030761715, | |
0.006802432060241699, | |
0.007157153129577637, | |
0.0068310718536376954, | |
0.006820511817932129, | |
0.006810272216796875, | |
0.006804031848907471, | |
0.0068243517875671384, | |
0.0068203511238098145, | |
0.006812351226806641, | |
0.006810751914978028, | |
0.006836991786956787, | |
0.006825471878051758, | |
0.007799235820770264, | |
0.00734947395324707, | |
0.007005792140960693, | |
0.00698179292678833, | |
0.006966271877288818, | |
0.006968992233276367, | |
0.007033953189849854, | |
0.007008993148803711, | |
0.006975552082061767, | |
0.006969472885131836, | |
0.0070136327743530276, | |
0.006984992027282715, | |
0.006987873077392578, | |
0.006970592975616455, | |
0.006974112033843994, | |
0.006976033210754394, | |
0.006972511768341064, | |
0.006938752174377442, | |
0.006964032173156738, | |
0.006958111763000489, | |
0.006966753005981445, | |
0.006931871891021729, | |
0.00694707202911377, | |
0.0069269118309021, | |
0.006944032192230225, | |
0.006962112903594971, | |
0.006983551979064941, | |
0.0069222722053527835, | |
0.006962912082672119, | |
0.006923072814941407, | |
0.006936031818389893, | |
0.006936192035675049, | |
0.006969632148742676, | |
0.0069685130119323735, | |
0.006959392070770264, | |
0.006995713233947754, | |
0.007040352821350098 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 143.6219187143476 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |