{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_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": 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.293824, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.219-208.866.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.3.0", "optimum_benchmark_commit": null, "transformers_version": "4.42.3", "transformers_commit": null, "accelerate_version": "0.31.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.7", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 903.073792, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 148, "total": 1.0025368313789367, "mean": 0.00677389750931714, "stdev": 0.00016809071371231855, "p50": 0.006749184131622315, "p90": 0.006875238466262818, "p95": 0.007166361498832703, "p99": 0.007442083973884583, "values": [ 0.0075008001327514645, 0.007172095775604248, 0.0073471999168395995, 0.007247871875762939, 0.0072130560874938965, 0.007155712127685547, 0.0072325119972229, 0.007584767818450928, 0.006561791896820069, 0.006386688232421875, 0.006353856086730957, 0.006549503803253174, 0.006370304107666015, 0.0065474557876586915, 0.006808576107025147, 0.006831039905548095, 0.006752255916595459, 0.006781951904296875, 0.0067686400413513184, 0.00676966381072998, 0.006796288013458252, 0.006789120197296142, 0.006732800006866455, 0.006980607986450196, 0.006833151817321777, 0.006759424209594727, 0.006765567779541016, 0.0067758078575134275, 0.00677785587310791, 0.0067358717918396, 0.006770688056945801, 0.006772736072540283, 0.0068055038452148435, 0.006810624122619629, 0.00682809591293335, 0.006778880119323731, 0.006980607986450196, 0.006971392154693603, 0.006796256065368652, 0.006700032234191895, 0.006791168212890625, 0.006785024166107178, 0.0067758078575134275, 0.006794303894042969, 0.00677785587310791, 0.006738944053649902, 0.006700032234191895, 0.0067645440101623535, 0.0067573761940002445, 0.006692863941192627, 0.006765567779541016, 0.007375872135162354, 0.006755328178405762, 0.006724607944488525, 0.006765567779541016, 0.006750207901000976, 0.006731776237487793, 0.006763519763946534, 0.0068577280044555666, 0.006731776237487793, 0.006648831844329834, 0.0066713600158691405, 0.0069621758460998535, 0.0067686400413513184, 0.006793216228485107, 0.006781951904296875, 0.006713280200958252, 0.006772736072540283, 0.006788095951080322, 0.0067358717918396, 0.006746111869812011, 0.006788095951080322, 0.00676255989074707, 0.006763519763946534, 0.00675328016281128, 0.006782976150512696, 0.006728672027587891, 0.006758399963378906, 0.0067645440101623535, 0.006700096130371094, 0.0067123198509216305, 0.006779903888702392, 0.006870016098022461, 0.006758399963378906, 0.0067717118263244626, 0.006774784088134766, 0.006758399963378906, 0.006887423992156983, 0.006770688056945801, 0.006722559928894043, 0.006740992069244385, 0.006726655960083008, 0.006715392112731934, 0.006716415882110595, 0.00675328016281128, 0.0067562880516052245, 0.006717376232147217, 0.006721536159515381, 0.006738944053649902, 0.00667955207824707, 0.006737919807434082, 0.006713344097137451, 0.006730751991271973, 0.006740992069244385, 0.006739967823028564, 0.006713344097137451, 0.006732800006866455, 0.006750207901000976, 0.006716415882110595, 0.006692863941192627, 0.006747136116027832, 0.00672870397567749, 0.006710271835327148, 0.006725632190704346, 0.006690815925598144, 0.006595583915710449, 0.006688767910003662, 0.0066826238632202144, 0.006617087841033936, 0.0066529598236083985, 0.006646783828735352, 0.0066202239990234375, 0.006605760097503662, 0.0066447358131408694, 0.006606847763061524, 0.006642687797546387, 0.0066826238632202144, 0.0066877121925354, 0.006749184131622315, 0.006716415882110595, 0.006731776237487793, 0.0067348480224609375, 0.006770688056945801, 0.006731776237487793, 0.006740992069244385, 0.006743040084838867, 0.006722559928894043, 0.006725632190704346, 0.006774784088134766, 0.006746111869812011, 0.0067051520347595215, 0.0067123198509216305, 0.0071198720932006835, 0.006716415882110595, 0.006792191982269287, 0.006749184131622315, 0.006722559928894043, 0.006731776237487793 ] }, "throughput": { "unit": "samples/s", "value": 147.62549900180105 }, "energy": { "unit": "kWh", "cpu": 7.82361722480484e-08, "ram": 4.27742046463645e-08, "gpu": 1.390096141315768e-07, "total": 2.6001999102598966e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3845858.1436534524 } } } }