{ "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.34.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.402176, "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.41366259765625, "mean": 7.41366259765625, "stdev": 0.0, "p50": 7.41366259765625, "p90": 7.41366259765625, "p95": 7.41366259765625, "p99": 7.41366259765625, "values": [ 7.41366259765625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0602535916665564e-06, "ram": 5.65599293363731e-07, "gpu": 0.0, "total": 1.6258528850302874e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1078.636544, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 142, "total": 0.9978686046600344, "mean": 0.007027243694788974, "stdev": 0.00023870016049978542, "p50": 0.00709171199798584, "p90": 0.007217052888870239, "p95": 0.007260723400115967, "p99": 0.007941908407211304, "values": [ 0.007184383869171143, 0.007003136157989502, 0.00693555212020874, 0.006931456089019775, 0.007048192024230957, 0.007195648193359375, 0.007241759777069092, 0.007162879943847656, 0.0072120318412780765, 0.007175168037414551, 0.007314432144165039, 0.007218175888061523, 0.007143424034118652, 0.00714035177230835, 0.007139328002929687, 0.00714035177230835, 0.007171072006225586, 0.0071495680809020995, 0.007208960056304932, 0.007170048236846924, 0.007158783912658692, 0.007985151767730713, 0.008173567771911621, 0.007879680156707763, 0.0072120318412780765, 0.007205887794494629, 0.007184383869171143, 0.007164927959442138, 0.007137279987335205, 0.0071495680809020995, 0.007147520065307617, 0.007194623947143554, 0.007129087924957276, 0.007235583782196045, 0.007079936027526855, 0.00714035177230835, 0.007128064155578613, 0.007130176067352295, 0.007207935810089112, 0.007251967906951904, 0.007269343852996826, 0.007288832187652588, 0.007217152118682861, 0.007206912040710449, 0.007216159820556641, 0.007201791763305664, 0.007139328002929687, 0.007205887794494629, 0.007201791763305664, 0.0071833600997924804, 0.007176191806793213, 0.007181312084197998, 0.00708403205871582, 0.0071485438346862796, 0.007234560012817383, 0.00713318395614624, 0.007234560012817383, 0.007209983825683594, 0.007098368167877197, 0.0071198720932006835, 0.007156735897064209, 0.007087103843688965, 0.007130112171173096, 0.007124991893768311, 0.007128064155578613, 0.0072765440940856935, 0.007261184215545655, 0.007214079856872559, 0.007145472049713135, 0.007189504146575928, 0.007120895862579346, 0.007143424034118652, 0.007184383869171143, 0.007068672180175781, 0.007200767993927002, 0.007164927959442138, 0.007065599918365479, 0.007096320152282715, 0.007004159927368164, 0.007073791980743408, 0.0071157760620117185, 0.0069201278686523435, 0.006804480075836182, 0.006841343879699707, 0.006895616054534912, 0.006914048194885254, 0.006956031799316406, 0.006970367908477783, 0.006977536201477051, 0.0070563840866088865, 0.007192575931549072, 0.006897664070129395, 0.00678604793548584, 0.006816768169403077, 0.006820864200592041, 0.006830080032348633, 0.0067573761940002445, 0.006799359798431396, 0.006823935985565186, 0.006800384044647217, 0.006744063854217529, 0.006748127937316895, 0.006737919807434082, 0.006758399963378906, 0.006767615795135498, 0.006755392074584961, 0.006761472225189209, 0.007049215793609619, 0.006880256175994873, 0.006820864200592041, 0.006801407814025879, 0.006801407814025879, 0.006801407814025879, 0.006716415882110595, 0.006759424209594727, 0.006774784088134766, 0.0067358717918396, 0.0067686400413513184, 0.0067420477867126466, 0.006758399963378906, 0.006743040084838867, 0.006743040084838867, 0.006765567779541016, 0.006746111869812011, 0.006757343769073486, 0.00677785587310791, 0.006737919807434082, 0.006762495994567871, 0.006803455829620361, 0.006740992069244385, 0.006750207901000976, 0.006780928134918213, 0.006795263767242431, 0.006763519763946534, 0.006799359798431396, 0.006788095951080322, 0.00675328016281128, 0.006773759841918945, 0.006818816184997558, 0.006731776237487793, 0.006752255916595459, 0.00675328016281128 ] }, "throughput": { "unit": "samples/s", "value": 142.30330460028676 }, "energy": { "unit": "kWh", "cpu": 7.816877453855808e-08, "ram": 4.260580188555393e-08, "gpu": 1.4597782146052374e-07, "total": 2.6675239788463575e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3748794.792212053 } } } }