IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
64c0651
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", | |
"model": "FacebookAI/roberta-base", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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", | |
"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.0", | |
"optimum_benchmark_commit": "b0a0b933f18d5fa56eadb290a26cc2099f2dd4d8", | |
"transformers_version": "4.40.2", | |
"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": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1010.888704, | |
"max_global_vram": 897.155072, | |
"max_process_vram": 230694.043648, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.443712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 142, | |
"total": 0.994761872291565, | |
"mean": 0.007005365297827922, | |
"stdev": 0.00022327412357065485, | |
"p50": 0.006926829576492309, | |
"p90": 0.007263018846511841, | |
"p95": 0.007460144853591917, | |
"p99": 0.007824453539848328, | |
"values": [ | |
0.00828825855255127, | |
0.006879149913787842, | |
0.006899149894714356, | |
0.006893549919128418, | |
0.00702026891708374, | |
0.006895469188690185, | |
0.0068981900215148925, | |
0.006890028953552246, | |
0.0069404301643371585, | |
0.006862510204315186, | |
0.006976268768310547, | |
0.0069532299041748045, | |
0.0070469889640808105, | |
0.006905869007110595, | |
0.0068786702156066895, | |
0.007057868003845215, | |
0.0072652268409729, | |
0.007265387058258056, | |
0.007082508087158203, | |
0.0069049100875854495, | |
0.007111789226531983, | |
0.00687755012512207, | |
0.006934510231018066, | |
0.006908750057220459, | |
0.006897389888763428, | |
0.006945390224456787, | |
0.006905230045318603, | |
0.006971309185028076, | |
0.006924909114837646, | |
0.006914030075073243, | |
0.006913389205932617, | |
0.006950509071350097, | |
0.007060908794403077, | |
0.006930349826812744, | |
0.006935628890991211, | |
0.006886350154876709, | |
0.007102828025817871, | |
0.006879148960113525, | |
0.006862030029296875, | |
0.006872109889984131, | |
0.006882349967956543, | |
0.00688955020904541, | |
0.006930988788604736, | |
0.006887310028076172, | |
0.006962028980255127, | |
0.0069186692237854005, | |
0.006914830207824707, | |
0.006911149978637695, | |
0.006899789810180664, | |
0.00690811014175415, | |
0.006957388877868652, | |
0.006872910022735596, | |
0.006915629863739014, | |
0.006898670196533203, | |
0.00690378999710083, | |
0.006865389823913574, | |
0.006892589092254639, | |
0.006929069995880127, | |
0.007007948875427246, | |
0.00692779016494751, | |
0.006924749851226807, | |
0.006925708770751953, | |
0.006900909900665283, | |
0.00690618896484375, | |
0.006925549983978272, | |
0.006957550048828125, | |
0.006918670177459717, | |
0.007792263031005859, | |
0.006922189235687256, | |
0.006948429107666016, | |
0.006913549900054931, | |
0.006923628807067871, | |
0.00694874906539917, | |
0.00691195011138916, | |
0.006921710014343262, | |
0.006912109851837159, | |
0.006896910190582276, | |
0.006907948970794678, | |
0.006936270236968994, | |
0.0069410700798034665, | |
0.006966669082641602, | |
0.0069527487754821775, | |
0.007116747856140137, | |
0.006942668914794922, | |
0.006940908908843994, | |
0.006911310195922851, | |
0.006935790061950684, | |
0.006914669036865234, | |
0.006928909778594971, | |
0.006914989948272705, | |
0.006945229053497314, | |
0.006941868782043457, | |
0.006891149997711182, | |
0.0069186692237854005, | |
0.0069361100196838376, | |
0.006894350051879883, | |
0.006935469150543213, | |
0.007034189224243164, | |
0.0069239487648010255, | |
0.0069012298583984374, | |
0.006949709892272949, | |
0.0069410700798034665, | |
0.006961069107055664, | |
0.0069308290481567385, | |
0.006883950233459473, | |
0.007466664791107178, | |
0.007846823215484619, | |
0.007771943092346191, | |
0.007753063201904297, | |
0.007766183853149414, | |
0.007621705055236816, | |
0.007231147766113282, | |
0.007314186096191406, | |
0.0072693867683410645, | |
0.0072431468963623045, | |
0.007189867019653321, | |
0.007242667198181152, | |
0.007280907154083252, | |
0.007336266040802002, | |
0.007330347061157227, | |
0.006920908927917481, | |
0.006943308830261231, | |
0.006898829936981201, | |
0.006915789127349853, | |
0.006919149875640869, | |
0.0068871498107910155, | |
0.0069258689880371095, | |
0.006935629844665527, | |
0.006914350032806396, | |
0.0068815498352050785, | |
0.006902510166168213, | |
0.006932589054107666, | |
0.006928589820861817, | |
0.006916429042816162, | |
0.006910029888153076, | |
0.0071161088943481445, | |
0.006930510044097901, | |
0.006887148857116699, | |
0.006923470020294189, | |
0.006931149959564209, | |
0.0069329080581665035, | |
0.006929228782653809 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.7477308442515 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |