{ "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": "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", "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.42.3", "transformers_commit": null, "accelerate_version": "0.31.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": { "forward": { "memory": { "unit": "MB", "max_ram": 902.967296, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 149, "total": 0.9996324176788332, "mean": 0.006708942400529081, "stdev": 0.0002456962388215916, "p50": 0.006626304149627686, "p90": 0.007005593776702881, "p95": 0.007056588649749756, "p99": 0.007395409927368167, "values": [ 0.007094272136688232, 0.0067645440101623535, 0.006937600135803222, 0.0068915200233459475, 0.006855679988861084, 0.006780863761901856, 0.006796288013458252, 0.006765567779541016, 0.0066344962120056155, 0.006653952121734619, 0.006654975891113281, 0.00658841609954834, 0.006567935943603515, 0.0065792322158813475, 0.006602752208709717, 0.006668288230895996, 0.006680575847625733, 0.006683648109436035, 0.006663167953491211, 0.006626304149627686, 0.0066109437942504885, 0.006690815925598144, 0.006687744140625, 0.006666240215301514, 0.006696896076202392, 0.00664569616317749, 0.006643712043762207, 0.006683648109436035, 0.006713344097137451, 0.0081080322265625, 0.006977536201477051, 0.007013376235961914, 0.007544832229614258, 0.006998015880584717, 0.006948863983154297, 0.006972415924072266, 0.0070553598403930665, 0.007031807899475098, 0.006976511955261231, 0.006973440170288086, 0.006887423992156983, 0.0070266880989074704, 0.00693555212020874, 0.006916096210479736, 0.006894591808319092, 0.00692633581161499, 0.006939648151397705, 0.00687718391418457, 0.0069928960800170895, 0.006879231929779053, 0.007233535766601563, 0.0069632000923156735, 0.006857759952545166, 0.007007232189178467, 0.006880256175994873, 0.00698367977142334, 0.007005184173583984, 0.0070522880554199216, 0.007080959796905518, 0.006949888229370117, 0.00693452787399292, 0.007057407855987549, 0.007110655784606934, 0.006904831886291504, 0.006847487926483154, 0.006751232147216797, 0.0067870402336120605, 0.006889472007751465, 0.0067348480224609375, 0.006676447868347168, 0.006550528049468994, 0.0066406397819519045, 0.006621183872222901, 0.00683622407913208, 0.006833151817321777, 0.006852608203887939, 0.007008255958557129, 0.007068672180175781, 0.006881247997283935, 0.0066744318008422855, 0.0065771198272705075, 0.0066037440299987794, 0.006585343837738037, 0.006549503803253174, 0.006595583915710449, 0.0065782079696655275, 0.006551551818847656, 0.006603775978088379, 0.0065812478065490725, 0.006554624080657959, 0.00659660816192627, 0.0065669121742248536, 0.006582272052764892, 0.0066304001808166506, 0.006622208118438721, 0.0066119680404663084, 0.00657919979095459, 0.006567935943603515, 0.006567935943603515, 0.006593535900115967, 0.006554624080657959, 0.006568960189819336, 0.0065710082054138185, 0.00655452823638916, 0.00652185583114624, 0.006590464115142822, 0.006576128005981445, 0.00658841609954834, 0.006512639999389648, 0.0065372161865234375, 0.006460415840148926, 0.006451200008392334, 0.006404096126556396, 0.006212607860565185, 0.0061859841346740725, 0.006187007904052734, 0.0061931519508361815, 0.00638156795501709, 0.006453248023986816, 0.006491136074066162, 0.0065771517753601075, 0.00653926420211792, 0.006564864158630371, 0.006551551818847656, 0.006633471965789795, 0.006589439868927002, 0.006569983959197998, 0.006563839912414551, 0.006591487884521485, 0.006604800224304199, 0.006535168170928955, 0.006550528049468994, 0.006543360233306885, 0.006550528049468994, 0.006563839912414551, 0.00657919979095459, 0.006551551818847656, 0.006551551818847656, 0.006518784046173095, 0.006555583953857422, 0.0065781760215759275, 0.006569983959197998, 0.006563839912414551, 0.006565887928009034, 0.006529024124145508, 0.006580160140991211, 0.0066078720092773435, 0.006355967998504639, 0.0062197761535644535 ] }, "throughput": { "unit": "samples/s", "value": 149.05478990565456 }, "energy": { "unit": "kWh", "cpu": 7.760353662349559e-08, "ram": 4.242982175316781e-08, "gpu": 1.4452807495425105e-07, "total": 2.645614333309145e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3779840.4227315933 } } } }