IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ef5e41c verified
raw
history blame
13 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.5.1+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"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": 2,
"sequence_length": 16,
"num_choices": 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.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.228-219.884.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 824.283136,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"values": [
0.07428915405273437
],
"count": 1,
"total": 0.07428915405273437,
"mean": 0.07428915405273437,
"p50": 0.07428915405273437,
"p90": 0.07428915405273437,
"p95": 0.07428915405273437,
"p99": 0.07428915405273437,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00010884254370416634,
"ram": 5.9629179534894385e-05,
"gpu": 0.00014414289309199997,
"total": 0.0003126146163310607
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1102.053376,
"max_global_vram": 1207.435264,
"max_process_vram": 0.0,
"max_reserved": 559.939584,
"max_allocated": 510.51264
},
"latency": {
"unit": "s",
"values": [
0.006524928092956543,
0.006155263900756836,
0.006089727878570556,
0.006212607860565185,
0.0062269439697265625,
0.006247424125671387,
0.0064143362045288085,
0.006601727962493896,
0.006560768127441406,
0.006462463855743408,
0.006459392070770263,
0.006459360122680664,
0.00638259220123291,
0.006419456005096436,
0.0064430079460144046,
0.006483839988708496,
0.006447231769561768,
0.006429696083068847,
0.006503488063812256,
0.006319968223571777,
0.006338560104370118,
0.006333439826965332,
0.006327328205108643,
0.006359039783477783,
0.006407167911529541,
0.0065382399559021,
0.006446080207824707,
0.006436895847320556,
0.0065484800338745115,
0.0064245758056640625,
0.006190144062042237,
0.006267776012420654,
0.006232992172241211,
0.006247424125671387,
0.006277120113372803,
0.006227968215942382,
0.0062146239280700686,
0.006194176197052002,
0.006181888103485108,
0.006140927791595459,
0.006131616115570069,
0.006199295997619629,
0.006246399879455566,
0.006213632106781006,
0.006159232139587402,
0.006194176197052002,
0.006150144100189209,
0.006199391841888427,
0.006535168170928955,
0.006130688190460205,
0.006119391918182373,
0.006163584232330322,
0.006155327796936035,
0.006090752124786377,
0.006093823909759521,
0.006172671794891358,
0.006252543926239014,
0.006175839900970459,
0.00606825590133667,
0.006220799922943115,
0.0064440321922302245,
0.006401023864746094,
0.006358016014099121,
0.006359039783477783,
0.0061337599754333495,
0.00629036808013916,
0.006438784122467041,
0.006384640216827392,
0.006386688232421875,
0.006171648025512695,
0.0062740478515625,
0.0062638077735900875,
0.00623199987411499,
0.006208672046661377,
0.006189055919647217,
0.0062259202003479,
0.006224864006042481,
0.006247424125671387,
0.006178815841674804,
0.0062044157981872555,
0.006111231803894043,
0.006094848155975342,
0.006252543926239014,
0.006090752124786377,
0.006024191856384278,
0.0060067839622497555,
0.005933055877685547,
0.005934080123901367,
0.006104063987731933,
0.006003712177276611,
0.005815296173095703,
0.0057487359046936035,
0.00577023983001709,
0.005928959846496582,
0.006223872184753418,
0.006251520156860352,
0.006379519939422608,
0.006303743839263916,
0.006421440124511719,
0.006565887928009034,
0.006409215927124024,
0.006505472183227539,
0.0061521921157836916,
0.006161407947540283,
0.006000639915466309,
0.006001664161682129,
0.00607539176940918,
0.006052864074707031,
0.0060405759811401364,
0.00606006383895874,
0.006168575763702393,
0.00602726411819458,
0.0062494721412658695,
0.006275072097778321,
0.006252543926239014,
0.006095871925354004,
0.006023327827453614,
0.0060282878875732426,
0.006052864074707031,
0.005964831829071045,
0.00601907205581665,
0.005957632064819336,
0.0060293121337890625,
0.005961728096008301,
0.006007808208465576,
0.005980095863342285,
0.005976960182189941,
0.005937151908874512,
0.005972991943359375,
0.005988351821899414,
0.006004928112030029,
0.00597811222076416,
0.005986303806304932,
0.005971007823944092,
0.005968768119812012,
0.006004735946655273,
0.0059985918998718265,
0.00592793607711792,
0.005970047950744629,
0.005942272186279297,
0.0060293121337890625,
0.005980160236358643,
0.006013951778411865,
0.005980160236358643,
0.005996543884277344,
0.005994495868682862,
0.0059955201148986816,
0.006076416015625,
0.0059688959121704105,
0.00597811222076416,
0.005956607818603516,
0.0059688959121704105,
0.0059955201148986816,
0.006023200035095215,
0.005961855888366699,
0.005955584049224853,
0.005956575870513916,
0.005997568130493164,
0.006034431934356689,
0.005954559803009033,
0.0059780158996582036,
0.005972991943359375
],
"count": 162,
"total": 0.9993840966224676,
"mean": 0.006169037633472018,
"p50": 0.006160320043563842,
"p90": 0.006442585563659668,
"p95": 0.006502505660057068,
"p99": 0.006562764849662781,
"stdev": 0.00018570668399733205,
"stdev_": 3.010302336132999
},
"throughput": {
"unit": "samples/s",
"value": 324.1996756752435
},
"energy": {
"unit": "kWh",
"cpu": 7.038003178418553e-08,
"ram": 3.845934541787025e-08,
"gpu": 1.7804747971597384e-07,
"total": 2.8688685691802963e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 6971389.423292568
}
}
}
}