{ "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": 799.86688, "max_global_vram": 1192.7552, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 7.99124267578125, "mean": 7.99124267578125, "stdev": 0.0, "p50": 7.99124267578125, "p90": 7.99124267578125, "p95": 7.99124267578125, "p99": 7.99124267578125, "values": [ 7.99124267578125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 2.5568255118052324e-06, "ram": 1.3606703454387108e-06, "gpu": 3.352502682000061e-06, "total": 7.2699985392440045e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1090.39616, "max_global_vram": 1203.24096, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 155, "total": 1.0022120647430417, "mean": 0.006465884288664786, "stdev": 0.0002585651581029023, "p50": 0.006362112045288086, "p90": 0.006686105728149414, "p95": 0.00693125123977661, "p99": 0.00755310585021973, "values": [ 0.007324672222137451, 0.00738918399810791, 0.007342080116271973, 0.007301119804382325, 0.007243775844573975, 0.007745535850524903, 0.00662937593460083, 0.006352896213531494, 0.006368256092071533, 0.006368256092071533, 0.00636518383026123, 0.006408127784729004, 0.006375423908233643, 0.006376448154449463, 0.006364160060882569, 0.006345727920532227, 0.006378399848937988, 0.006319104194641113, 0.006372352123260498, 0.006348800182342529, 0.006344704151153564, 0.006370304107666015, 0.006323264122009277, 0.0063539199829101565, 0.006367231845855713, 0.0063272957801818845, 0.006362112045288086, 0.006341631889343262, 0.0063528637886047365, 0.006333439826965332, 0.0063498239517211915, 0.0063508481979370115, 0.006345727920532227, 0.006354944229125976, 0.006304768085479737, 0.0063569917678833006, 0.006355967998504639, 0.0063272957801818845, 0.0063569917678833006, 0.0063170561790466305, 0.006328320026397705, 0.006333439826965332, 0.00633955192565918, 0.006370304107666015, 0.006348800182342529, 0.006344704151153564, 0.006338560104370118, 0.006331391811370849, 0.006359039783477783, 0.006330368041992188, 0.006363135814666748, 0.006334464073181153, 0.0063539199829101565, 0.006366208076477051, 0.006335455894470215, 0.006388735771179199, 0.006344704151153564, 0.006342656135559082, 0.0063610877990722655, 0.006333439826965332, 0.006418432235717773, 0.006376448154449463, 0.0063610877990722655, 0.00690176010131836, 0.0064204797744750975, 0.006421504020690918, 0.007922688007354736, 0.007000063896179199, 0.00653926420211792, 0.006563839912414551, 0.006575104236602783, 0.006508543968200684, 0.00657916784286499, 0.006562816143035889, 0.006300672054290772, 0.00637337589263916, 0.006296576023101807, 0.0063539199829101565, 0.006342656135559082, 0.006312960147857666, 0.0063508481979370115, 0.006302720069885254, 0.006352896213531494, 0.006503424167633057, 0.006502399921417237, 0.0065382399559021, 0.006302720069885254, 0.0063569917678833006, 0.006334464073181153, 0.006312960147857666, 0.006345727920532227, 0.00628223991394043, 0.006362112045288086, 0.006307839870452881, 0.006318079948425293, 0.006318079948425293, 0.006312960147857666, 0.006351871967315674, 0.0063170561790466305, 0.006331391811370849, 0.006332352161407471, 0.006372352123260498, 0.0065064959526062015, 0.006535168170928955, 0.006462463855743408, 0.006563839912414551, 0.006812672138214112, 0.006652927875518798, 0.00652288007736206, 0.006472703933715821, 0.006515711784362793, 0.006526976108551025, 0.006493184089660644, 0.006415359973907471, 0.006481919765472412, 0.0065812478065490725, 0.0066979842185974124, 0.006661119937896728, 0.0066713600158691405, 0.006755328178405762, 0.00679423999786377, 0.006738944053649902, 0.0067870721817016606, 0.00669593620300293, 0.0065136637687683106, 0.0065443840026855465, 0.0065669121742248536, 0.00653004789352417, 0.00657919979095459, 0.006515711784362793, 0.006448128223419189, 0.006344704151153564, 0.00632422399520874, 0.006355967998504639, 0.006337535858154297, 0.006313983917236328, 0.0063937921524047855, 0.006499328136444092, 0.006491136074066162, 0.006323200225830078, 0.006302720069885254, 0.006336512088775635, 0.006294528007507324, 0.006339583873748779, 0.006372352123260498, 0.006344704151153564, 0.00637440013885498, 0.006339583873748779, 0.006350912094116211, 0.006340608119964599, 0.006311935901641846, 0.006309887886047363, 0.006303743839263916, 0.0064102401733398436, 0.0065474557876586915 ] }, "throughput": { "unit": "samples/s", "value": 154.65788674150576 }, "energy": { "unit": "kWh", "cpu": 7.8295947089727e-08, "ram": 4.278640843000624e-08, "gpu": 1.4060318265789415e-07, "total": 2.6168553817762744e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3821380.4513767892 } } } }