IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
d697d14 verified
raw
history blame
11.6 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "transformers",
"model": "google/vit-base-patch16-224",
"processor": "google/vit-base-patch16-224",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"hub_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,
"latency": true,
"memory": true,
"energy": false,
"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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": "79990507b694d513bac81e140baff3af23a6bff7",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1061.113856,
"max_global_vram": 64899.641344,
"max_process_vram": 166891.491328,
"max_reserved": 406.847488,
"max_allocated": 355.30752
},
"latency": {
"unit": "s",
"count": 164,
"total": 0.9986799731254579,
"mean": 0.006089512031252792,
"stdev": 0.00030304579951109144,
"p50": 0.00601032543182373,
"p90": 0.006237478113174438,
"p95": 0.00641058177947998,
"p99": 0.00679945791721344,
"values": [
0.006615046977996826,
0.006027365207672119,
0.006072966098785401,
0.006008646011352539,
0.006074244976043701,
0.006132006168365478,
0.006231205940246582,
0.0062193660736083985,
0.006168486118316651,
0.009303367614746094,
0.006118404865264893,
0.0061912059783935545,
0.005947525978088379,
0.0058868851661682126,
0.005918725967407227,
0.0059700851440429685,
0.006188325881958008,
0.005995366096496582,
0.005956645011901855,
0.005996965885162354,
0.005995205879211426,
0.006000484943389893,
0.0059851260185241695,
0.0060126461982727055,
0.005988645076751709,
0.005985445976257324,
0.00600096607208252,
0.006170724868774414,
0.005997926235198975,
0.00600416612625122,
0.005978085041046142,
0.006019365787506103,
0.005973926067352295,
0.006015524864196777,
0.006028806209564209,
0.006191366195678711,
0.005959044933319091,
0.005995366096496582,
0.006002086162567139,
0.006010564804077148,
0.005947684764862061,
0.006027046203613281,
0.006013444900512695,
0.006175846099853516,
0.005975686073303223,
0.005969765186309814,
0.005947205066680908,
0.005999045848846436,
0.005969604969024658,
0.00600368595123291,
0.006057446002960205,
0.00604208517074585,
0.00597088623046875,
0.005984325885772705,
0.006004004955291748,
0.006009605884552002,
0.006022885799407959,
0.006015365123748779,
0.005999045848846436,
0.005999685764312744,
0.005994245052337647,
0.0061979260444641115,
0.006240166187286377,
0.0060393657684326175,
0.006216324806213379,
0.0060132861137390135,
0.005979206085205078,
0.005986084938049316,
0.005991206169128418,
0.005986886024475098,
0.006004485130310058,
0.006006886005401611,
0.006037926197052002,
0.005972485065460205,
0.00601408576965332,
0.005990725994110107,
0.0059792051315307616,
0.00600368595123291,
0.0059870448112487795,
0.005986245155334473,
0.006002245903015136,
0.006038724899291992,
0.006143045902252197,
0.006036645889282226,
0.006006246089935303,
0.006011205196380615,
0.006160486221313477,
0.0059827260971069334,
0.006021444797515869,
0.005988006114959717,
0.005988646030426026,
0.005984485149383545,
0.005974405765533447,
0.005960645198822022,
0.005981124877929687,
0.00601408576965332,
0.006114245891571045,
0.006147204875946045,
0.005996325969696045,
0.0059899258613586425,
0.00599568510055542,
0.005980485916137695,
0.0059948859214782714,
0.006012485027313232,
0.005943205833435059,
0.0059918460845947265,
0.00676784610748291,
0.006006725788116455,
0.006028964996337891,
0.006004486083984375,
0.006036325931549073,
0.006004004955291748,
0.00600528621673584,
0.005978404998779297,
0.005985445022583008,
0.005989285945892334,
0.006033764839172363,
0.006010086059570313,
0.005965926170349121,
0.0059913649559020996,
0.005995205879211426,
0.006579205989837646,
0.006789927005767822,
0.006775045871734619,
0.006815686225891114,
0.006786406993865967,
0.0064070458412170414,
0.0063336057662963866,
0.006311366081237793,
0.006261445999145508,
0.006411205768585205,
0.006277445793151855,
0.006365126132965088,
0.006345766067504883,
0.006228485107421875,
0.0060347261428833005,
0.005993445873260498,
0.0060336050987243655,
0.0060126461982727055,
0.006005125999450684,
0.006019044876098633,
0.00604240608215332,
0.0060340862274169925,
0.006025764942169189,
0.006086246013641357,
0.0060254459381103515,
0.006016644954681396,
0.005996805191040039,
0.006018566131591797,
0.006006565093994141,
0.006022565841674805,
0.006043045997619629,
0.006025925159454346,
0.00600768518447876,
0.006017126083374023,
0.0060152049064636235,
0.006008646011352539,
0.0060272059440612796,
0.006005125045776367,
0.005997766017913819,
0.006033926010131836,
0.006018245220184326,
0.006025606155395507,
0.006029284954071045
]
},
"throughput": {
"unit": "samples/s",
"value": 164.21677055037702
},
"energy": null,
"efficiency": null
}
}
}