{ "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.0", "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.893568, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 148, "total": 0.9955483527183534, "mean": 0.0067266780589077925, "stdev": 0.00024365844405297647, "p50": 0.006641663789749145, "p90": 0.007048191785812378, "p95": 0.007113983964920044, "p99": 0.007179817018508911, "values": [ 0.0075038719177246095, 0.007130112171173096, 0.007188479900360107, 0.007170048236846924, 0.007097343921661377, 0.007110655784606934, 0.0071157760620117185, 0.007126016139984131, 0.006982656002044678, 0.007126016139984131, 0.007041024208068848, 0.006964223861694336, 0.006906879901885986, 0.00694271993637085, 0.006980607986450196, 0.007074816226959229, 0.007087135791778564, 0.0069253120422363285, 0.006940608024597168, 0.00704307222366333, 0.007028736114501953, 0.006973440170288086, 0.007001088142395019, 0.006998015880584717, 0.0070225920677185055, 0.00694271993637085, 0.006993919849395752, 0.006960127830505371, 0.006904863834381104, 0.006887423992156983, 0.006922239780426025, 0.006932544231414795, 0.006959104061126709, 0.0069632000923156735, 0.007131135940551757, 0.007078911781311035, 0.007045119762420654, 0.00693452787399292, 0.006884352207183838, 0.007021567821502686, 0.006988800048828125, 0.006975488185882568, 0.0069621758460998535, 0.006903808116912841, 0.006918144226074219, 0.006939648151397705, 0.0070553598403930665, 0.0066406397819519045, 0.006699007987976074, 0.006681568145751953, 0.0066620478630065915, 0.006645760059356689, 0.006662144184112549, 0.006737919807434082, 0.006802432060241699, 0.0067010560035705566, 0.006747136116027832, 0.0067021121978759765, 0.006711296081542969, 0.0066406397819519045, 0.006700992107391357, 0.006635519981384277, 0.0066938881874084475, 0.006542335987091064, 0.006460383892059326, 0.006618112087249756, 0.006642687797546387, 0.00638976001739502, 0.006322207927703857, 0.006378496170043945, 0.006359039783477783, 0.006419424057006836, 0.006843391895294189, 0.006881279945373535, 0.006909952163696289, 0.006947840213775635, 0.006973440170288086, 0.007096320152282715, 0.006957056045532227, 0.006754303932189941, 0.0065781760215759275, 0.0066406397819519045, 0.006818816184997558, 0.006631423950195312, 0.006636576175689697, 0.006617087841033936, 0.006567935943603515, 0.00632422399520874, 0.0062638077735900875, 0.006326272010803223, 0.006351871967315674, 0.006301695823669433, 0.006329343795776367, 0.006291456222534179, 0.006334464073181153, 0.006347775936126709, 0.0063396477699279785, 0.006328320026397705, 0.006311935901641846, 0.006796288013458252, 0.006666240215301514, 0.00658841609954834, 0.0065823040008544925, 0.006624320030212402, 0.00657919979095459, 0.006543360233306885, 0.006688799858093262, 0.006560768127441406, 0.00653926420211792, 0.006595583915710449, 0.006519807815551758, 0.00658841609954834, 0.0065853757858276366, 0.006510591983795166, 0.006598656177520752, 0.006616064071655273, 0.006525951862335205, 0.006586368083953857, 0.00653926420211792, 0.006551551818847656, 0.006574079990386963, 0.006554624080657959, 0.0065771517753601075, 0.006595583915710449, 0.006621183872222901, 0.006549503803253174, 0.006593535900115967, 0.006567935943603515, 0.006620160102844238, 0.006631423950195312, 0.006551551818847656, 0.006687744140625, 0.006598656177520752, 0.006573056221008301, 0.006608895778656006, 0.006604800224304199, 0.006545407772064209, 0.0066007041931152345, 0.006560768127441406, 0.006543360233306885, 0.006598656177520752, 0.006555647850036621, 0.0065710082054138185, 0.006601727962493896, 0.0065771517753601075, 0.006556672096252441, 0.006620160102844238, 0.006632512092590332 ] }, "throughput": { "unit": "samples/s", "value": 148.66178985268243 }, "energy": { "unit": "kWh", "cpu": 7.774303724736342e-08, "ram": 4.2504939412626257e-08, "gpu": 1.3724230296732527e-07, "total": 2.5749027962731495e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3883641.749301664 } } } }