{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.0+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.223-212.873.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.33.0", "accelerate_commit": null, "diffusers_version": "0.30.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 788.905984, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 7.36892919921875, "mean": 7.36892919921875, "stdev": 0.0, "p50": 7.36892919921875, "p90": 7.36892919921875, "p95": 7.36892919921875, "p99": 7.36892919921875, "values": [ 7.36892919921875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0540261493051873e-06, "ram": 5.616303102376267e-07, "gpu": 1.8466681439999882e-06, "total": 3.462324603542802e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1078.86592, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 143, "total": 0.9984398388862612, "mean": 0.006982096775428399, "stdev": 0.0001674590778411076, "p50": 0.006968319892883301, "p90": 0.007179878234863281, "p95": 0.007223296165466309, "p99": 0.0073188965415954595, "values": [ 0.007293951988220215, 0.007223264217376709, 0.007230463981628418, 0.007223296165466309, 0.007223296165466309, 0.007180287837982178, 0.007038976192474365, 0.006956031799316406, 0.0068915200233459475, 0.007002111911773682, 0.006987775802612305, 0.006953983783721924, 0.006854656219482422, 0.006843391895294189, 0.006862847805023193, 0.006843391895294189, 0.006915040016174316, 0.00694271993637085, 0.006968319892883301, 0.0069283838272094726, 0.006945792198181152, 0.006884352207183838, 0.007146495819091797, 0.007174143791198731, 0.007114751815795899, 0.007138304233551026, 0.007172095775604248, 0.007166975975036621, 0.007104512214660645, 0.007088191986083984, 0.007144447803497315, 0.007137279987335205, 0.007174143791198731, 0.007061503887176514, 0.007058432102203369, 0.0070256638526916505, 0.007107583999633789, 0.007101439952850342, 0.007105535984039306, 0.007085055828094483, 0.007159808158874512, 0.007142399787902832, 0.007170048236846924, 0.00714137601852417, 0.007211967945098877, 0.007138304233551026, 0.007132160186767578, 0.007009280204772949, 0.0071485438346862796, 0.007188479900360107, 0.006920191764831543, 0.006910975933074951, 0.00687820816040039, 0.006887423992156983, 0.006872064113616944, 0.007336959838867187, 0.00704201602935791, 0.007090176105499267, 0.007229440212249756, 0.007094272136688232, 0.007000063896179199, 0.007069695949554444, 0.007108607769012451, 0.007178239822387696, 0.007169023990631103, 0.007284736156463623, 0.007147520065307617, 0.0071987838745117185, 0.007233535766601563, 0.007136256217956543, 0.007144447803497315, 0.007166975975036621, 0.00714137601852417, 0.007155712127685547, 0.007111680030822754, 0.007009280204772949, 0.007188511848449707, 0.007073791980743408, 0.007044095993041993, 0.006970367908477783, 0.0068280320167541505, 0.006971424102783203, 0.0071157760620117185, 0.006884352207183838, 0.0067276802062988285, 0.0067420158386230465, 0.006960127830505371, 0.006931424140930176, 0.007014400005340577, 0.007018496036529541, 0.0070553598403930665, 0.007023615837097168, 0.007155712127685547, 0.007498752117156982, 0.006738944053649902, 0.006825984001159668, 0.006914048194885254, 0.006939648151397705, 0.007102464199066162, 0.0069253120422363285, 0.006871039867401123, 0.006880256175994873, 0.006875135898590088, 0.0067983360290527345, 0.006843391895294189, 0.006838272094726563, 0.006871039867401123, 0.006842368125915528, 0.0068577280044555666, 0.006858751773834228, 0.006800384044647217, 0.0067983040809631344, 0.0068392958641052244, 0.006823935985565186, 0.006690815925598144, 0.006706175804138184, 0.00672051191329956, 0.006714335918426514, 0.006957056045532227, 0.006834176063537598, 0.006838272094726563, 0.006904831886291504, 0.006778880119323731, 0.006790143966674805, 0.0067758078575134275, 0.0067645440101623535, 0.006772736072540283, 0.0067420158386230465, 0.006783999919891357, 0.006777823925018311, 0.006803455829620361, 0.00675328016281128, 0.006789120197296142, 0.006781951904296875, 0.006770688056945801, 0.006770688056945801, 0.006792191982269287, 0.0067758078575134275, 0.006782976150512696, 0.006788095951080322, 0.006800384044647217, 0.0067717118263244626, 0.0067983360290527345 ] }, "throughput": { "unit": "samples/s", "value": 143.2234516598552 }, "energy": { "unit": "kWh", "cpu": 7.931011637037165e-08, "ram": 4.3361336640787725e-08, "gpu": 1.5197234380000142e-07, "total": 2.746437968111608e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3641079.8700382756 } } } }