{ "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_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.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.1", "optimum_benchmark_commit": null, "transformers_version": "4.43.1", "transformers_commit": null, "accelerate_version": "0.33.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": { "load": { "memory": { "unit": "MB", "max_ram": 719.495168, "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.21506103515625, "mean": 7.21506103515625, "stdev": 0.0, "p50": 7.21506103515625, "p90": 7.21506103515625, "p95": 7.21506103515625, "p99": 7.21506103515625, "values": [ 7.21506103515625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0529854231410556e-06, "ram": 5.611099502058891e-07, "gpu": 1.784168093999991e-06, "total": 3.3982634673469357e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 911.95392, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 157, "total": 0.9984313917160036, "mean": 0.0063594356160255, "stdev": 0.00025398612721478855, "p50": 0.0064143362045288085, "p90": 0.006578585529327393, "p95": 0.006785228824615477, "p99": 0.007213506412506104, "values": [ 0.007169023990631103, 0.007228415966033935, 0.007185408115386963, 0.007158783912658692, 0.007201791763305664, 0.007328767776489258, 0.0065484800338745115, 0.006280191898345947, 0.006227968215942382, 0.00623308801651001, 0.0062239041328430176, 0.006213632106781006, 0.0062146239280700686, 0.0062259202003479, 0.006214655876159668, 0.006205440044403076, 0.0061296639442443845, 0.006139904022216797, 0.006104063987731933, 0.00611737585067749, 0.006116352081298828, 0.006114304065704346, 0.006178815841674804, 0.006139904022216797, 0.006157311916351318, 0.006164415836334229, 0.006127647876739502, 0.006110208034515381, 0.006111231803894043, 0.006110208034515381, 0.006121471881866455, 0.00611737585067749, 0.006123519897460937, 0.006116352081298828, 0.006093823909759521, 0.006100927829742432, 0.006102015972137451, 0.006114304065704346, 0.006077439785003662, 0.006112256050109863, 0.006089727878570556, 0.006080512046813965, 0.006112256050109863, 0.006093823909759521, 0.006094848155975342, 0.006150144100189209, 0.006088704109191895, 0.006124544143676758, 0.006108160018920898, 0.006104063987731933, 0.006108160018920898, 0.006082560062408447, 0.006137856006622314, 0.00611737585067749, 0.006128640174865723, 0.006080512046813965, 0.006127615928649902, 0.006089727878570556, 0.006099008083343506, 0.0064542717933654785, 0.0064880638122558594, 0.006479872226715088, 0.0064880638122558594, 0.006459392070770263, 0.0064696002006530764, 0.006426623821258545, 0.006451200008392334, 0.006435840129852295, 0.0064471039772033695, 0.0064542717933654785, 0.00643993616104126, 0.00643891191482544, 0.006429696083068847, 0.006428736209869385, 0.006441984176635742, 0.0064174079895019534, 0.006465536117553711, 0.0064204797744750975, 0.0064174079895019534, 0.006437888145446777, 0.006453248023986816, 0.0064143362045288085, 0.006468607902526856, 0.006423552036285401, 0.006452223777770996, 0.006335487842559814, 0.006341631889343262, 0.006341631889343262, 0.006345727920532227, 0.006144000053405762, 0.006097919940948486, 0.006119423866271972, 0.006105088233947754, 0.006114304065704346, 0.00608358383178711, 0.006144000053405762, 0.006105088233947754, 0.006275072097778321, 0.006222815990447998, 0.006154240131378174, 0.006164480209350586, 0.006168575763702393, 0.00616755199432373, 0.006191103935241699, 0.006199295997619629, 0.006150144100189209, 0.006464511871337891, 0.006649856090545654, 0.006700032234191895, 0.006683648109436035, 0.006708223819732666, 0.006561791896820069, 0.006614016056060791, 0.006523776054382324, 0.0063539199829101565, 0.006363103866577149, 0.006498303890228272, 0.0065382399559021, 0.00648089599609375, 0.0069847040176391605, 0.006603775978088379, 0.006762495994567871, 0.006699007987976074, 0.00643779182434082, 0.00643891191482544, 0.006370304107666015, 0.006472608089447021, 0.006500351905822754, 0.006479872226715088, 0.006519807815551758, 0.006502399921417237, 0.006512639999389648, 0.006505472183227539, 0.006876160144805908, 0.006492159843444824, 0.00643993616104126, 0.006429696083068847, 0.006425600051879882, 0.006468607902526856, 0.006426623821258545, 0.0064849920272827145, 0.006450175762176514, 0.006457344055175781, 0.006445055961608887, 0.006441984176635742, 0.00643071985244751, 0.006455296039581298, 0.006416384220123291, 0.006459392070770263, 0.006465536117553711, 0.006451200008392334, 0.006427648067474365, 0.006423552036285401, 0.0064440321922302245, 0.00652291202545166, 0.006400000095367431, 0.006411263942718506 ] }, "throughput": { "unit": "samples/s", "value": 157.2466584110143 }, "energy": { "unit": "kWh", "cpu": 7.547316552052158e-08, "ram": 4.126517794742168e-08, "gpu": 1.4687025196178193e-07, "total": 2.636085954297252e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3793503.009148227 } } } }