{ "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.25696, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.220-209.869.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.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.43.4", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 719.581184, "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.282384765625, "mean": 7.282384765625, "stdev": 0.0, "p50": 7.282384765625, "p90": 7.282384765625, "p95": 7.282384765625, "p99": 7.282384765625, "values": [ 7.282384765625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0688868527776347e-06, "ram": 5.696676993440471e-07, "gpu": 1.661112439999609e-06, "total": 3.2996669921212905e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 911.921152, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 154, "total": 0.9980753922462461, "mean": 0.00648100904056004, "stdev": 0.00022830994592120464, "p50": 0.0064322719573974615, "p90": 0.0067964928150177, "p95": 0.0068858366966247555, "p99": 0.006981754312515259, "values": [ 0.007007296085357666, 0.007018496036529541, 0.006959104061126709, 0.006938623905181885, 0.006890495777130127, 0.006883327960968018, 0.006904831886291504, 0.006892543792724609, 0.006803455829620361, 0.006945792198181152, 0.006792191982269287, 0.0067573761940002445, 0.006684671878814697, 0.006668288230895996, 0.006723584175109864, 0.006691840171813965, 0.006498303890228272, 0.006479872226715088, 0.006457344055175781, 0.006517727851867675, 0.006453248023986816, 0.00637440013885498, 0.00643177604675293, 0.006464511871337891, 0.006523903846740723, 0.006450175762176514, 0.006496255874633789, 0.006523903846740723, 0.006421504020690918, 0.006445055961608887, 0.006458367824554443, 0.006437888145446777, 0.006558720111846924, 0.006421504020690918, 0.0063539199829101565, 0.006358016014099121, 0.006352896213531494, 0.00642252779006958, 0.006368256092071533, 0.006386688232421875, 0.006440959930419922, 0.00643891191482544, 0.006867968082427979, 0.0068249602317810056, 0.006773759841918945, 0.0067348480224609375, 0.006730751991271973, 0.0066826238632202144, 0.006643712043762207, 0.0067686400413513184, 0.00676966381072998, 0.006686719894409179, 0.0064849920272827145, 0.006526976108551025, 0.006595583915710449, 0.00667852783203125, 0.006719488143920899, 0.0066713600158691405, 0.006802432060241699, 0.0066641921997070315, 0.006681600093841553, 0.0064245758056640625, 0.006401023864746094, 0.006385663986206055, 0.0064019842147827145, 0.00638976001739502, 0.006496255874633789, 0.00653926420211792, 0.006470655918121338, 0.006501376152038574, 0.0068618240356445315, 0.0067420158386230465, 0.00674508810043335, 0.0067983360290527345, 0.006703104019165039, 0.006670335769653321, 0.006789120197296142, 0.006686719894409179, 0.006605823993682861, 0.006535168170928955, 0.0064471039772033695, 0.0066743998527526854, 0.006603775978088379, 0.0063836159706115725, 0.006376448154449463, 0.006407167911529541, 0.00638156795501709, 0.006378496170043945, 0.006629439830780029, 0.006654975891113281, 0.0066938881874084475, 0.006722559928894043, 0.006815743923187256, 0.006670335769653321, 0.006582272052764892, 0.006474751949310303, 0.006432767868041992, 0.006378496170043945, 0.006408192157745361, 0.0063805441856384275, 0.006377471923828125, 0.00636518383026123, 0.006318079948425293, 0.006326272010803223, 0.0063211522102355954, 0.006299647808074951, 0.0063272957801818845, 0.0063170561790466305, 0.006330368041992188, 0.006301695823669433, 0.006333439826965332, 0.006310912132263183, 0.006298624038696289, 0.006338560104370118, 0.006294528007507324, 0.006299647808074951, 0.006395904064178467, 0.006308864116668702, 0.0063211522102355954, 0.006323200225830078, 0.006305791854858398, 0.006342656135559082, 0.006319104194641113, 0.006316031932830811, 0.0063907837867736815, 0.006046720027923584, 0.00597811222076416, 0.005985280036926269, 0.00621670389175415, 0.006090752124786377, 0.00607539176940918, 0.006074368000030517, 0.0060702719688415525, 0.00606822395324707, 0.006073344230651856, 0.006022143840789795, 0.006093823909759521, 0.006053887844085694, 0.006247424125671387, 0.006298624038696289, 0.006346752166748047, 0.0063211522102355954, 0.00637440013885498, 0.006326272010803223, 0.006280191898345947, 0.006341631889343262, 0.006299647808074951, 0.006298624038696289, 0.006355967998504639, 0.006273024082183838, 0.006298624038696289, 0.006288383960723877, 0.0063528637886047365, 0.0062873601913452145 ] }, "throughput": { "unit": "samples/s", "value": 154.29696112776716 }, "energy": { "unit": "kWh", "cpu": 7.492092786949478e-08, "ram": 4.093142391869056e-08, "gpu": 1.3970661071697925e-07, "total": 2.5555896250516456e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3912991.3120530494 } } } }