hf-transformers-bot's picture
Upload folder using huggingface_hub
b4003e7 verified
{
"config": {
"name": "pytorch_generate",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-generation",
"library": "transformers",
"model_type": "gemma",
"model": "google/gemma-2b",
"processor": "google/gemma-2b",
"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": "float16",
"eval_mode": true,
"to_bettertransformer": false,
"low_cpu_mem_usage": null,
"attn_implementation": null,
"cache_implementation": "static",
"autocast_enabled": false,
"autocast_dtype": null,
"torch_compile": true,
"torch_compile_target": "forward",
"torch_compile_config": {
"backend": "inductor",
"mode": "reduce-overhead",
"fullgraph": true
},
"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": 2,
"duration": 0,
"warmup_runs": 10,
"input_shapes": {
"batch_size": 1,
"num_choices": 2,
"sequence_length": 7
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": false,
"forward_kwargs": {},
"generate_kwargs": {
"max_new_tokens": 128,
"min_new_tokens": 128,
"do_sample": false
},
"call_kwargs": {}
},
"launcher": {
"name": "process",
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
"device_isolation": true,
"device_isolation_action": "warn",
"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.29",
"processor": "x86_64",
"python_version": "3.8.10",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.0.dev0",
"transformers_commit": "21fac7abba2a37fae86106f87fcf9974fd1e3830",
"accelerate_version": "0.35.0.dev0",
"accelerate_commit": null,
"diffusers_version": null,
"diffusers_commit": null,
"optimum_version": "1.22.0.dev0",
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": "0.12.1.dev0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1338.195968,
"max_global_vram": 6768.033792,
"max_process_vram": 0.0,
"max_reserved": 6138.363904,
"max_allocated": 6060.931072
},
"latency": {
"unit": "s",
"count": 1,
"total": 12.598423828125,
"mean": 12.598423828125,
"stdev": 0.0,
"p50": 12.598423828125,
"p90": 12.598423828125,
"p95": 12.598423828125,
"p99": 12.598423828125,
"values": [
12.598423828125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1868.722176,
"max_global_vram": 6789.005312,
"max_process_vram": 0.0,
"max_reserved": 6138.363904,
"max_allocated": 5278.596608
},
"latency": {
"unit": "s",
"count": 2,
"total": 0.028350751876831056,
"mean": 0.014175375938415528,
"stdev": 0.000168527603149414,
"p50": 0.014175375938415528,
"p90": 0.014310198020935059,
"p95": 0.014327050781250001,
"p99": 0.014340532989501954,
"values": [
0.014006848335266114,
0.014343903541564942
]
},
"throughput": {
"unit": "tokens/s",
"value": 493.8140639381473
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 2038.325248,
"max_global_vram": 6071.779328,
"max_process_vram": 0.0,
"max_reserved": 5381.292032,
"max_allocated": 5282.647552
},
"latency": {
"unit": "s",
"count": 2,
"total": 3.13422509765625,
"mean": 1.567112548828125,
"stdev": 0.0010578613281249094,
"p50": 1.567112548828125,
"p90": 1.5679588378906248,
"p95": 1.5680646240234375,
"p99": 1.5681492529296874,
"values": [
1.5660546875,
1.56817041015625
]
},
"throughput": {
"unit": "tokens/s",
"value": 81.04076512881582
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 254,
"total": 3.1339376611709624,
"mean": 0.012338337248704563,
"stdev": 5.936671891165477e-05,
"p50": 0.012323840141296387,
"p90": 0.012357631683349609,
"p95": 0.012379903936386109,
"p99": 0.012672911186218262,
"values": [
0.012360704421997071,
0.012326911926269531,
0.012333056449890138,
0.012333056449890138,
0.012322815895080566,
0.012336128234863282,
0.012324864387512208,
0.012336128234863282,
0.012337151527404786,
0.01235148811340332,
0.012327936172485352,
0.012345343589782716,
0.012336128234863282,
0.012321791648864745,
0.01235968017578125,
0.012320768356323243,
0.012323840141296387,
0.012311552047729492,
0.012327936172485352,
0.012311552047729492,
0.012319744110107422,
0.012352512359619141,
0.012346367835998535,
0.012338175773620605,
0.012309503555297852,
0.01237299156188965,
0.012309503555297852,
0.012319744110107422,
0.012323840141296387,
0.012317695617675782,
0.012327936172485352,
0.012322815895080566,
0.012345343589782716,
0.012353535652160644,
0.012357631683349609,
0.01231984043121338,
0.012317600250244141,
0.012320768356323243,
0.012339200019836426,
0.012344320297241211,
0.012324864387512208,
0.01233407974243164,
0.012321791648864745,
0.012332032203674317,
0.012321791648864745,
0.012362751960754394,
0.012354559898376465,
0.012318719863891601,
0.01232588768005371,
0.012317695617675782,
0.012349439620971679,
0.012325984001159668,
0.01232374382019043,
0.012344320297241211,
0.01233414363861084,
0.012339200019836426,
0.012325823783874512,
0.012353535652160644,
0.012357631683349609,
0.01232588768005371,
0.012328960418701173,
0.012324864387512208,
0.012318719863891601,
0.012315648078918457,
0.012318719863891601,
0.012321791648864745,
0.012318719863891601,
0.012347392082214356,
0.012323840141296387,
0.012349439620971679,
0.012347392082214356,
0.012322815895080566,
0.012332032203674317,
0.012319744110107422,
0.012316672325134278,
0.012326911926269531,
0.012313599586486817,
0.012323840141296387,
0.012327936172485352,
0.012320768356323243,
0.012317695617675782,
0.012378111839294433,
0.012354559898376465,
0.012323840141296387,
0.012337151527404786,
0.012316672325134278,
0.012322815895080566,
0.012308480262756348,
0.012333056449890138,
0.012322815895080566,
0.012316703796386719,
0.0123156156539917,
0.012327936172485352,
0.012336128234863282,
0.01235148811340332,
0.01234227180480957,
0.012317695617675782,
0.012317695617675782,
0.012317695617675782,
0.01232588768005371,
0.012319744110107422,
0.012313599586486817,
0.012321791648864745,
0.012314623832702636,
0.012310527801513671,
0.012320768356323243,
0.01234329605102539,
0.012337151527404786,
0.012321791648864745,
0.012337151527404786,
0.012310527801513671,
0.012320768356323243,
0.012313599586486817,
0.012312576293945313,
0.012315648078918457,
0.012322815895080566,
0.012323840141296387,
0.012321791648864745,
0.012357631683349609,
0.012413951873779297,
0.012327936172485352,
0.012320768356323243,
0.012317695617675782,
0.012326911926269531,
0.012315648078918457,
0.012326911926269531,
0.012311552047729492,
0.012375040054321289,
0.012323840141296387,
0.012320768356323243,
0.012314623832702636,
0.012327936172485352,
0.012318719863891601,
0.012307488441467285,
0.012765151977539062,
0.012424192428588866,
0.01253990364074707,
0.012431360244750977,
0.01239244842529297,
0.0124334077835083,
0.012336128234863282,
0.012327936172485352,
0.012329983711242675,
0.012313599586486817,
0.012345343589782716,
0.012319744110107422,
0.012307456016540527,
0.012316672325134278,
0.012316672325134278,
0.012332032203674317,
0.012317695617675782,
0.012316672325134278,
0.012312576293945313,
0.012323840141296387,
0.012316672325134278,
0.012305472373962402,
0.012338111877441407,
0.012378111839294433,
0.012316672325134278,
0.012321791648864745,
0.012314623832702636,
0.012314623832702636,
0.012309503555297852,
0.012333056449890138,
0.01234329605102539,
0.012313599586486817,
0.012317695617675782,
0.012328960418701173,
0.012374015808105468,
0.012383232116699219,
0.012322815895080566,
0.012312576293945313,
0.012316672325134278,
0.012327936172485352,
0.012318719863891601,
0.012331007957458496,
0.012313599586486817,
0.012331007957458496,
0.012337151527404786,
0.012322815895080566,
0.012326911926269531,
0.012357631683349609,
0.012321791648864745,
0.012324864387512208,
0.012319744110107422,
0.012328960418701173,
0.012324864387512208,
0.012319744110107422,
0.012317695617675782,
0.012321791648864745,
0.012313599586486817,
0.012326911926269531,
0.012317695617675782,
0.012357631683349609,
0.012322879791259766,
0.012311488151550294,
0.012329983711242675,
0.012344320297241211,
0.012323840141296387,
0.012321791648864745,
0.012320768356323243,
0.012323840141296387,
0.012324864387512208,
0.012311552047729492,
0.012313599586486817,
0.012720128059387208,
0.0126310396194458,
0.012898303985595704,
0.0124334077835083,
0.012328960418701173,
0.012323840141296387,
0.012323840141296387,
0.012321791648864745,
0.012395520210266114,
0.012371968269348145,
0.012323840141296387,
0.012336128234863282,
0.012364800453186036,
0.012333056449890138,
0.012323840141296387,
0.012315648078918457,
0.012316672325134278,
0.012314623832702636,
0.012318719863891601,
0.012314623832702636,
0.0123504638671875,
0.01236684799194336,
0.01232588768005371,
0.012324864387512208,
0.01233510398864746,
0.012327936172485352,
0.012338175773620605,
0.012331007957458496,
0.012320768356323243,
0.012311552047729492,
0.012316672325134278,
0.012316672325134278,
0.012337151527404786,
0.012374015808105468,
0.012318719863891601,
0.012322815895080566,
0.012314623832702636,
0.01233510398864746,
0.012333056449890138,
0.012311552047729492,
0.01233407974243164,
0.012311552047729492,
0.012311552047729492,
0.012331007957458496,
0.012348416328430176,
0.0123504638671875,
0.012320768356323243,
0.012318719863891601,
0.012316672325134278
]
},
"throughput": {
"unit": "tokens/s",
"value": 81.048197973758
},
"energy": null,
"efficiency": null
}
}
}