IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8bf4ef8 verified
raw
history blame
12.1 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.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.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 788.13184,
"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.4559951171875,
"mean": 7.4559951171875,
"stdev": 0.0,
"p50": 7.4559951171875,
"p90": 7.4559951171875,
"p95": 7.4559951171875,
"p99": 7.4559951171875,
"values": [
7.4559951171875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0467009319437497e-06,
"ram": 5.575892847213798e-07,
"gpu": 1.6658346659991635e-06,
"total": 3.270124882664293e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1078.35392,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 144,
"total": 0.9996318712234497,
"mean": 0.00694188799460729,
"stdev": 0.00027199638826764806,
"p50": 0.006872063875198365,
"p90": 0.0072267873764038084,
"p95": 0.007367321538925171,
"p99": 0.008213145675659178,
"values": [
0.007451648235321045,
0.007504896163940429,
0.00738809585571289,
0.007374847888946533,
0.007324672222137451,
0.007448575973510742,
0.007321599960327148,
0.007243775844573975,
0.0072724480628967286,
0.007185408115386963,
0.007132160186767578,
0.007235583782196045,
0.007196671962738037,
0.00713318395614624,
0.0071157760620117185,
0.007117824077606201,
0.007142399787902832,
0.007204864025115967,
0.007208960056304932,
0.00722537612915039,
0.007157760143280029,
0.007162879943847656,
0.0071823039054870605,
0.007227392196655274,
0.007193600177764893,
0.007147520065307617,
0.006936575889587402,
0.006964223861694336,
0.006929408073425293,
0.00684441614151001,
0.00693452787399292,
0.006905856132507324,
0.0069632000923156735,
0.006873087882995605,
0.006813695907592773,
0.006852608203887939,
0.006840320110321045,
0.006870016098022461,
0.006959104061126709,
0.006929408073425293,
0.006862847805023193,
0.006909952163696289,
0.006970367908477783,
0.007004159927368164,
0.006922239780426025,
0.0069621758460998535,
0.006941696166992187,
0.006940671920776367,
0.006817791938781738,
0.006939648151397705,
0.006944799900054931,
0.006904831886291504,
0.0068618240356445315,
0.006917119979858399,
0.0068853759765625,
0.006789120197296142,
0.006842368125915528,
0.006933504104614257,
0.006927455902099609,
0.00694985580444336,
0.006871039867401123,
0.006834176063537598,
0.006903808116912841,
0.006849535942077637,
0.006881279945373535,
0.0068884482383728025,
0.006866943836212158,
0.006887423992156983,
0.006949888229370117,
0.006973440170288086,
0.0069324798583984375,
0.006965248107910156,
0.006937600135803222,
0.006908927917480469,
0.006871039867401123,
0.0069027838706970214,
0.006856704235076904,
0.006879231929779053,
0.006801407814025879,
0.006792191982269287,
0.006797311782836914,
0.006648831844329834,
0.00662937593460083,
0.006873087882995605,
0.006773759841918945,
0.0065771517753601075,
0.006542335987091064,
0.006512703895568847,
0.006553599834442139,
0.006631423950195312,
0.0067123198509216305,
0.008128512382507324,
0.008276991844177246,
0.008385536193847656,
0.0071198720932006835,
0.007259103775024414,
0.007128064155578613,
0.0070522880554199216,
0.006917119979858399,
0.0067717118263244626,
0.0068321280479431154,
0.006853631973266602,
0.006766592025756836,
0.0068392958641052244,
0.006823935985565186,
0.006816768169403077,
0.006754303932189941,
0.00678604793548584,
0.0067686400413513184,
0.006737919807434082,
0.006780928134918213,
0.0068156800270080566,
0.006732800006866455,
0.006761472225189209,
0.006759424209594727,
0.006810624122619629,
0.00675328016281128,
0.0067758078575134275,
0.006801407814025879,
0.00673689603805542,
0.006823999881744385,
0.006796224117279053,
0.0067420158386230465,
0.006773759841918945,
0.006797311782836914,
0.006756351947784424,
0.00672870397567749,
0.006759424209594727,
0.006778880119323731,
0.006723584175109864,
0.0067758078575134275,
0.00677785587310791,
0.006707200050354004,
0.006804480075836182,
0.0067758078575134275,
0.007097343921661377,
0.006790143966674805,
0.0067983360290527345,
0.006797311782836914,
0.00673689603805542,
0.006750207901000976,
0.006765567779541016,
0.006738944053649902,
0.006738944053649902
]
},
"throughput": {
"unit": "samples/s",
"value": 144.05303006571646
},
"energy": {
"unit": "kWh",
"cpu": 7.759781327160278e-08,
"ram": 4.2427414220024815e-08,
"gpu": 1.442230638169974e-07,
"total": 2.6424829130862497e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3784319.645163058
}
}
}
}