{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "multiple-choice", "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.285632, "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.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "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": 718.364672, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.37152 }, "latency": { "unit": "s", "count": 1, "total": 7.1775712890625, "mean": 7.1775712890625, "stdev": 0.0, "p50": 7.1775712890625, "p90": 7.1775712890625, "p95": 7.1775712890625, "p99": 7.1775712890625, "values": [ 7.1775712890625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 8.731903301344979e-07, "ram": 4.625261627612076e-07, "gpu": 1.764723633999963e-06, "total": 3.100440126895668e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 917.23776, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.038592 }, "latency": { "unit": "s", "count": 137, "total": 1.0023361601829535, "mean": 0.007316322337101845, "stdev": 0.00040639933281472624, "p50": 0.007234560012817383, "p90": 0.0076134399414062495, "p95": 0.007704576015472412, "p99": 0.009109462738037085, "values": [ 0.01025331211090088, 0.00973209571838379, 0.007734303951263428, 0.007789567947387695, 0.007709695816040039, 0.007670783996582031, 0.008002559661865234, 0.007531519889831543, 0.007478271961212158, 0.007552000045776367, 0.007601151943206787, 0.007405504226684571, 0.007485439777374267, 0.0074967041015625, 0.007565311908721924, 0.00760422420501709, 0.007611392021179199, 0.007608384132385254, 0.007508992195129394, 0.007607295989990235, 0.007629824161529541, 0.0075673599243164065, 0.007616511821746826, 0.007400447845458984, 0.007704576015472412, 0.007512063980102539, 0.007391200065612793, 0.007234560012817383, 0.007361536026000977, 0.007208960056304932, 0.007170048236846924, 0.007431168079376221, 0.007501760005950928, 0.007414783954620361, 0.007394303798675537, 0.007233535766601563, 0.007250944137573242, 0.0073400321006774905, 0.007318528175354004, 0.00725708818435669, 0.007398399829864502, 0.00725708818435669, 0.007243775844573975, 0.007494656085968018, 0.007396351814270019, 0.007485439777374267, 0.007520256042480469, 0.007556096076965332, 0.007245823860168457, 0.00719974422454834, 0.007270400047302246, 0.00728166389465332, 0.007188479900360107, 0.007146495819091797, 0.007286784172058106, 0.0073994240760803225, 0.007443424224853516, 0.007466944217681884, 0.007422976016998291, 0.007552000045776367, 0.007577600002288819, 0.007704576015472412, 0.007621632099151611, 0.007576576232910156, 0.007703551769256592, 0.007581696033477783, 0.007275519847869873, 0.007225344181060791, 0.007165952205657959, 0.007227392196655274, 0.0071105918884277345, 0.007005184173583984, 0.007243775844573975, 0.00713318395614624, 0.00692633581161499, 0.006880256175994873, 0.0070256638526916505, 0.007216127872467041, 0.007377920150756836, 0.0074291200637817386, 0.007416831970214844, 0.007522304058074952, 0.00764518404006958, 0.007431168079376221, 0.007259136199951172, 0.007085055828094483, 0.007094272136688232, 0.007134208202362061, 0.007189504146575928, 0.007058432102203369, 0.007014400005340577, 0.006889472007751465, 0.00687718391418457, 0.006919167995452881, 0.0070267200469970705, 0.006983712196350098, 0.006851583957672119, 0.007019519805908203, 0.006870016098022461, 0.006859776020050049, 0.006972415924072266, 0.007136256217956543, 0.0071823358535766605, 0.007068672180175781, 0.007064576148986816, 0.007021567821502686, 0.007079936027526855, 0.007155680179595948, 0.007186399936676025, 0.007070720195770264, 0.007017471790313721, 0.006972415924072266, 0.007096320152282715, 0.007204864025115967, 0.007071743965148926, 0.007088128089904785, 0.007049215793609619, 0.007081984043121338, 0.007127039909362793, 0.007008255958557129, 0.007031839847564697, 0.007061503887176514, 0.007036928176879883, 0.007044095993041993, 0.007143424034118652, 0.007095359802246094, 0.007048192024230957, 0.007088128089904785, 0.00709119987487793, 0.007047167778015137, 0.007050240039825439, 0.007076863765716553, 0.007045119762420654, 0.007227392196655274, 0.007047167778015137, 0.007184383869171143, 0.007061535835266113 ] }, "throughput": { "unit": "samples/s", "value": 136.68069200954886 }, "energy": { "unit": "kWh", "cpu": 8.240174502134325e-08, "ram": 4.5053151123099555e-08, "gpu": 1.673265227500006e-07, "total": 2.947814188944434e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3392344.0756558822 } } } }