{ "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_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.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.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": 719.183872, "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.1431640625, "mean": 7.1431640625, "stdev": 0.0, "p50": 7.1431640625, "p90": 7.1431640625, "p95": 7.1431640625, "p99": 7.1431640625, "values": [ 7.1431640625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0409583648045858e-06, "ram": 5.547833997655971e-07, "gpu": 1.884168174000507e-06, "total": 3.47990993857069e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 912.719872, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 158, "total": 1.0011616640090941, "mean": 0.006336466227905659, "stdev": 0.0002657222843124126, "p50": 0.006308351993560791, "p90": 0.006491750240325928, "p95": 0.007032719922065735, "p99": 0.007385538563728332, "values": [ 0.007061503887176514, 0.007110655784606934, 0.007071743965148926, 0.007037888050079346, 0.007031807899475098, 0.006930431842803955, 0.006978559970855713, 0.0074137282371521, 0.006377471923828125, 0.006110208034515381, 0.006105088233947754, 0.006069248199462891, 0.006091775894165039, 0.006046720027923584, 0.006102015972137451, 0.006071296215057373, 0.006100992202758789, 0.006060031890869141, 0.006094848155975342, 0.006044672012329101, 0.006061056137084961, 0.006090752124786377, 0.006074368000030517, 0.006034431934356689, 0.006061056137084961, 0.006020095825195313, 0.0060702719688415525, 0.006043647766113281, 0.006037504196166992, 0.006055935859680176, 0.006052864074707031, 0.006144000053405762, 0.006299647808074951, 0.006400000095367431, 0.0063508481979370115, 0.006427648067474365, 0.006401023864746094, 0.0064880638122558594, 0.006358016014099121, 0.006309887886047363, 0.006340608119964599, 0.006323200225830078, 0.006344704151153564, 0.006308864116668702, 0.006318079948425293, 0.006348800182342529, 0.006364160060882569, 0.00658841609954834, 0.006345727920532227, 0.006315008163452148, 0.00638156795501709, 0.0063170561790466305, 0.006330368041992188, 0.006372352123260498, 0.006319104194641113, 0.006411263942718506, 0.006323200225830078, 0.00628326416015625, 0.006307839870452881, 0.006326272010803223, 0.00636518383026123, 0.006296576023101807, 0.006338560104370118, 0.006339583873748779, 0.006306816101074219, 0.006345727920532227, 0.006295551776885986, 0.006343616008758545, 0.006403071880340576, 0.006358016014099121, 0.006345727920532227, 0.0063272957801818845, 0.006392799854278565, 0.006348800182342529, 0.006344704151153564, 0.006323200225830078, 0.0063508481979370115, 0.006360064029693604, 0.006564864158630371, 0.006329343795776367, 0.006441984176635742, 0.006311935901641846, 0.006342656135559082, 0.006340608119964599, 0.006370304107666015, 0.0063201279640197755, 0.006311935901641846, 0.006359039783477783, 0.006295551776885986, 0.006292479991912842, 0.006394879817962646, 0.0062945599555969236, 0.006338560104370118, 0.0062873601913452145, 0.006460415840148926, 0.0063498239517211915, 0.006339583873748779, 0.0063569917678833006, 0.0063272957801818845, 0.006358016014099121, 0.006409215927124024, 0.006958079814910889, 0.0073820161819458, 0.007390207767486572, 0.007349247932434082, 0.006646783828735352, 0.006160384178161621, 0.006147071838378906, 0.006106175899505615, 0.006127615928649902, 0.006053887844085694, 0.006103040218353272, 0.006038527965545654, 0.006148096084594727, 0.006032383918762207, 0.006057983875274659, 0.00597811222076416, 0.0060282878875732426, 0.006227007865905762, 0.0062904319763183595, 0.006247424125671387, 0.006262784004211426, 0.0062679038047790524, 0.006252543926239014, 0.006285312175750732, 0.0062576642036437985, 0.0062638077735900875, 0.006500351905822754, 0.00628326416015625, 0.006288383960723877, 0.006253568172454834, 0.006281216144561768, 0.0062863359451293946, 0.006262784004211426, 0.006295551776885986, 0.006259712219238281, 0.006270976066589356, 0.0062197761535644535, 0.0063569917678833006, 0.006258687973022461, 0.006355967998504639, 0.006244351863861084, 0.006248447895050049, 0.006270976066589356, 0.0062566399574279785, 0.006271999835968017, 0.006302688121795654, 0.006303743839263916, 0.0063508481979370115, 0.0062740478515625, 0.006299647808074951, 0.006291456222534179, 0.006308864116668702, 0.00628223991394043, 0.00628223991394043, 0.006300672054290772, 0.006266880035400391, 0.00632422399520874 ] }, "throughput": { "unit": "samples/s", "value": 157.81667005436276 }, "energy": { "unit": "kWh", "cpu": 7.243677973747254e-08, "ram": 3.960359771265113e-08, "gpu": 1.4452077957316792e-07, "total": 2.565611570232916e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3897706.151633921 } } } }