IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9a442b0 verified
raw
history blame
12.8 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.44.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"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": 763.838464,
"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.40290966796875,
"mean": 7.40290966796875,
"stdev": 0.0,
"p50": 7.40290966796875,
"p90": 7.40290966796875,
"p95": 7.40290966796875,
"p99": 7.40290966796875,
"values": [
7.40290966796875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.115731651388864e-06,
"ram": 5.65891498107513e-07,
"gpu": 1.669168002000048e-06,
"total": 3.3507911514964248e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 957.083648,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 161,
"total": 0.999686176776886,
"mean": 0.006209230911657677,
"stdev": 0.00018290817969804406,
"p50": 0.006120448112487793,
"p90": 0.0064133119583129885,
"p95": 0.006498303890228272,
"p99": 0.006715596961975098,
"values": [
0.006667263984680176,
0.006692863941192627,
0.006691904067993164,
0.006700032234191895,
0.006738944053649902,
0.006633471965789795,
0.007146495819091797,
0.006336512088775635,
0.006160384178161621,
0.006181888103485108,
0.00617574405670166,
0.006146048069000244,
0.0061634559631347655,
0.00611740779876709,
0.006139904022216797,
0.006112256050109863,
0.006157311916351318,
0.006146048069000244,
0.006110208034515381,
0.006132736206054688,
0.006082560062408447,
0.006141952037811279,
0.006082592010498047,
0.006115327835083008,
0.00608358383178711,
0.006120448112487793,
0.006089727878570556,
0.006123519897460937,
0.006085631847381592,
0.006112256050109863,
0.0060999679565429685,
0.006083648204803466,
0.006053887844085694,
0.00601087999343872,
0.006033408164978027,
0.006001664161682129,
0.006031360149383545,
0.006012928009033203,
0.006034431934356689,
0.0059955201148986816,
0.006055935859680176,
0.005997568130493164,
0.006038527965545654,
0.006012928009033203,
0.006047743797302246,
0.006014944076538086,
0.006049791812896729,
0.006023168087005615,
0.006041600227355957,
0.006081535816192627,
0.0061859841346740725,
0.006114304065704346,
0.00614188814163208,
0.006104063987731933,
0.006106112003326416,
0.006105088233947754,
0.006105088233947754,
0.006139904022216797,
0.006097951889038086,
0.006124544143676758,
0.006103040218353272,
0.006119359970092773,
0.006061056137084961,
0.006121471881866455,
0.006059999942779541,
0.006102015972137451,
0.006095871925354004,
0.006118400096893311,
0.006095871925354004,
0.006124544143676758,
0.006103040218353272,
0.006091775894165039,
0.006090752124786377,
0.00606822395324707,
0.006107135772705078,
0.006072319984436035,
0.006109183788299561,
0.006072319984436035,
0.006094848155975342,
0.006082560062408447,
0.006121471881866455,
0.006056960105895996,
0.0061296639442443845,
0.006118400096893311,
0.006138879776000977,
0.006113279819488526,
0.00608358383178711,
0.0060928001403808595,
0.006096896171569824,
0.0061224961280822755,
0.0060590081214904785,
0.0060999679565429685,
0.006160384178161621,
0.006159359931945801,
0.00608460807800293,
0.006079487800598145,
0.006080512046813965,
0.006110208034515381,
0.006081535816192627,
0.006082560062408447,
0.006079487800598145,
0.006098944187164307,
0.006065184116363525,
0.006062079906463623,
0.006061056137084961,
0.006066239833831787,
0.006085663795471191,
0.006061056137084961,
0.006096896171569824,
0.006060031890869141,
0.006097919940948486,
0.006045695781707764,
0.006552544116973877,
0.006445055961608887,
0.006455296039581298,
0.006498303890228272,
0.006377471923828125,
0.006445055961608887,
0.0064133119583129885,
0.006404032230377197,
0.006421504020690918,
0.006341631889343262,
0.006412288188934326,
0.006398975849151611,
0.00637440013885498,
0.006481919765472412,
0.00638156795501709,
0.006421504020690918,
0.006404096126556396,
0.006351871967315674,
0.006360064029693604,
0.0063621439933776855,
0.00638976001739502,
0.006370304107666015,
0.006318079948425293,
0.00635590410232544,
0.00632425594329834,
0.006364160060882569,
0.006369279861450195,
0.006329343795776367,
0.006355967998504639,
0.006307839870452881,
0.0063539199829101565,
0.0063272957801818845,
0.006331391811370849,
0.00634771203994751,
0.0063170561790466305,
0.006359039783477783,
0.006338560104370118,
0.006347775936126709,
0.00637440013885498,
0.006334464073181153,
0.00637440013885498,
0.00636624002456665,
0.006360064029693604,
0.0063794879913330075,
0.006310912132263183,
0.006367263793945313,
0.006326272010803223,
0.0063836159706115725,
0.0064174079895019534
]
},
"throughput": {
"unit": "samples/s",
"value": 161.0505413999864
},
"energy": {
"unit": "kWh",
"cpu": 7.579152883492722e-08,
"ram": 4.1428711470426856e-08,
"gpu": 1.362191464840761e-07,
"total": 2.5343938678943023e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3945716.6175628756
}
}
}
}