{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.0+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "multiple-choice", "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", "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.29792, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.215-203.850.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.2.1", "optimum_benchmark_commit": null, "transformers_version": "4.40.2", "transformers_commit": null, "accelerate_version": "0.30.1", "accelerate_commit": null, "diffusers_version": "0.27.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 907.943936, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 135, "total": 1.002246529579163, "mean": 0.007424048367253057, "stdev": 0.0003563986058280127, "p50": 0.007448575973510742, "p90": 0.007803084754943848, "p95": 0.007858790493011475, "p99": 0.008373309879302977, "values": [ 0.007921664237976075, 0.007978047847747803, 0.00810905647277832, 0.00802406406402588, 0.0075939841270446775, 0.007611392021179199, 0.007623680114746094, 0.007450623989105225, 0.007452672004699707, 0.007449600219726562, 0.0074414081573486324, 0.007482367992401123, 0.007437312126159668, 0.00738099193572998, 0.007425087928771973, 0.007402495861053467, 0.007460864067077637, 0.007486464023590088, 0.0074659519195556644, 0.0074741759300231934, 0.007442431926727295, 0.007485439777374267, 0.0075008001327514645, 0.007477248191833496, 0.007480319976806641, 0.007512063980102539, 0.0074711041450500485, 0.007561215877532959, 0.009447487831115722, 0.007502848148345947, 0.007531519889831543, 0.007425024032592774, 0.007386112213134765, 0.0073573760986328125, 0.007391232013702393, 0.007386112213134765, 0.007411776065826416, 0.007445504188537597, 0.007418879985809326, 0.007494719982147216, 0.007463935852050781, 0.007486464023590088, 0.007475200176239013, 0.0074035201072692874, 0.007396351814270019, 0.007460864067077637, 0.007494688034057617, 0.0074403839111328125, 0.007411712169647216, 0.007415808200836181, 0.007827455997467042, 0.00773737621307373, 0.00774348783493042, 0.007788544178009033, 0.00785100793838501, 0.007753727912902832, 0.007721983909606934, 0.007805952072143555, 0.00774451208114624, 0.007727104187011719, 0.0077578239440917966, 0.007781375885009765, 0.007810080051422119, 0.007874559879302979, 0.00784281587600708, 0.007798783779144287, 0.008509440422058106, 0.007770112037658691, 0.007759871959686279, 0.007654399871826172, 0.007778304100036621, 0.007669760227203369, 0.007616511821746826, 0.007501823902130127, 0.00765337610244751, 0.0076308479309082035, 0.007442431926727295, 0.007357439994812012, 0.007663680076599121, 0.007614463806152344, 0.007635968208312988, 0.007711743831634522, 0.007797760009765625, 0.00785203218460083, 0.00781004810333252, 0.007524352073669433, 0.007502848148345947, 0.007448575973510742, 0.007611392021179199, 0.007231488227844239, 0.00709939193725586, 0.007051263809204102, 0.0070594558715820314, 0.0070553598403930665, 0.007051263809204102, 0.007108607769012451, 0.007030720233917236, 0.0070553598403930665, 0.007068672180175781, 0.007000063896179199, 0.007011328220367432, 0.007012351989746094, 0.007023615837097168, 0.006971392154693603, 0.007010240077972412, 0.007013376235961914, 0.007041024208068848, 0.0070225920677185055, 0.007030816078186035, 0.007041024208068848, 0.0070349440574645995, 0.007045119762420654, 0.007014400005340577, 0.007024640083312988, 0.007046144008636474, 0.007045119762420654, 0.007058432102203369, 0.007049215793609619, 0.007067647933959961, 0.007037951946258545, 0.007020544052124023, 0.007051263809204102, 0.007021567821502686, 0.007039999961853028, 0.007008255958557129, 0.007060480117797851, 0.007049215793609619, 0.007067647933959961, 0.007051263809204102, 0.007002111911773682, 0.007027711868286133, 0.007039008140563965, 0.007031807899475098, 0.007006207942962647, 0.0070225920677185055 ] }, "throughput": { "unit": "samples/s", "value": 134.6973983104593 }, "energy": { "unit": "kWh", "cpu": 8.381258037541766e-08, "ram": 4.581855671884267e-08, "gpu": 1.5258423787324674e-07, "total": 2.822153749675071e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3543393.0561548434 } } } }