{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.1+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.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.224-212.876.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.2", "transformers_commit": null, "accelerate_version": "0.34.2", "accelerate_commit": null, "diffusers_version": "0.30.3", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.12.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 798.826496, "max_global_vram": 1192.7552, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 8.0241337890625, "mean": 8.0241337890625, "stdev": 0.0, "p50": 8.0241337890625, "p90": 8.0241337890625, "p95": 8.0241337890625, "p99": 8.0241337890625, "values": [ 8.0241337890625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 2.6167232646306126e-06, "ram": 1.4094076307227014e-06, "gpu": 5.196670823937044e-06, "total": 9.222801719290359e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1089.363968, "max_global_vram": 1203.24096, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 147, "total": 0.9978366413116462, "mean": 0.006788004362664255, "stdev": 0.0003036411213655128, "p50": 0.006937600135803222, "p90": 0.007093862533569336, "p95": 0.0071144446849823, "p99": 0.007289999370574949, "values": [ 0.00688640022277832, 0.006929408073425293, 0.006830080032348633, 0.006952960014343262, 0.006937600135803222, 0.006842368125915528, 0.006748288154602051, 0.006767615795135498, 0.006749184131622315, 0.006732800006866455, 0.006663167953491211, 0.006668288230895996, 0.006658048152923584, 0.006763519763946534, 0.0067051520347595215, 0.006621183872222901, 0.0066212801933288575, 0.006658048152923584, 0.007007232189178467, 0.007041952133178711, 0.0070399360656738285, 0.007054336071014404, 0.007069695949554444, 0.007097343921661377, 0.007096320152282715, 0.006999040126800537, 0.007018496036529541, 0.007020544052124023, 0.007046144008636474, 0.007012351989746094, 0.007014400005340577, 0.006975488185882568, 0.007080959796905518, 0.007088128089904785, 0.007072768211364746, 0.007037951946258545, 0.006999040126800537, 0.0069847040176391605, 0.006890495777130127, 0.00693452787399292, 0.006951935768127441, 0.006999040126800537, 0.007047167778015137, 0.007064576148986816, 0.007013376235961914, 0.006988800048828125, 0.007035903930664063, 0.007073791980743408, 0.007081984043121338, 0.00709939193725586, 0.007044095993041993, 0.0071198720932006835, 0.007113728046417236, 0.007007232189178467, 0.007009280204772949, 0.007037951946258545, 0.007047167778015137, 0.006998015880584717, 0.007038976192474365, 0.00709222412109375, 0.00698367977142334, 0.006956960201263428, 0.007051263809204102, 0.007012351989746094, 0.007108607769012451, 0.007156735897064209, 0.0069959678649902345, 0.007019519805908203, 0.007031775951385498, 0.007077888011932373, 0.007050240039825439, 0.00704307222366333, 0.007061503887176514, 0.007102464199066162, 0.007114751815795899, 0.00713318395614624, 0.007090176105499267, 0.007117824077606201, 0.0071157760620117185, 0.007032832145690918, 0.00709119987487793, 0.007106560230255127, 0.006684671878814697, 0.006647808074951172, 0.00679423999786377, 0.006658080101013183, 0.006602752208709717, 0.00658022403717041, 0.006762495994567871, 0.0070594558715820314, 0.006959072113037109, 0.006749216079711914, 0.00672051191329956, 0.006673408031463623, 0.006754303932189941, 0.007009280204772949, 0.007002111911773682, 0.006975488185882568, 0.00709119987487793, 0.00707583999633789, 0.007428095817565918, 0.006993919849395752, 0.0074035201072692874, 0.006509568214416504, 0.006437888145446777, 0.006383552074432373, 0.0064174079895019534, 0.006496255874633789, 0.00643993616104126, 0.006428671836853027, 0.006370304107666015, 0.006411263942718506, 0.006385663986206055, 0.006377471923828125, 0.006364160060882569, 0.006346752166748047, 0.006358016014099121, 0.006367231845855713, 0.006372352123260498, 0.006369279861450195, 0.00633241605758667, 0.006366208076477051, 0.006371327877044678, 0.006370304107666015, 0.006355967998504639, 0.006338560104370118, 0.006325247764587402, 0.006309887886047363, 0.006364160060882569, 0.0063498239517211915, 0.006337535858154297, 0.006337471961975098, 0.006339583873748779, 0.006345727920532227, 0.006354911804199219, 0.006358016014099121, 0.006366208076477051, 0.0063610877990722655, 0.006396927833557129, 0.006392831802368164, 0.006346752166748047, 0.006364160060882569, 0.006329376220703125, 0.006343679904937744, 0.0065474557876586915, 0.006351871967315674, 0.00638156795501709 ] }, "throughput": { "unit": "samples/s", "value": 147.3187031965173 }, "energy": { "unit": "kWh", "cpu": 7.543239796904355e-08, "ram": 4.122342128090986e-08, "gpu": 1.396144075162209e-07, "total": 2.562702267661743e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3902131.0146668674 } } } }