IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
fbb3ca5 verified
raw
history blame
12.4 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.4.0+rocm6.1",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "transformers",
"model_type": "vit",
"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": {},
"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": 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.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-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.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.1",
"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": 1383.40352,
"max_global_vram": 0.0,
"max_process_vram": 0.0,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.6373232421875,
"mean": 7.6373232421875,
"stdev": 0.0,
"p50": 7.6373232421875,
"p90": 7.6373232421875,
"p95": 7.6373232421875,
"p99": 7.6373232421875,
"values": [
7.6373232421875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1554.47296,
"max_global_vram": 0.0,
"max_process_vram": 0.0,
"max_reserved": 406.847488,
"max_allocated": 354.740224
},
"latency": {
"unit": "s",
"count": 164,
"total": 0.99387935590744,
"mean": 0.006060239975045367,
"stdev": 0.00034437273379574375,
"p50": 0.005996459007263184,
"p90": 0.006376425981521607,
"p95": 0.006418768262863159,
"p99": 0.006534019680023193,
"values": [
0.006515016078948974,
0.006229578018188476,
0.006443497180938721,
0.00656637716293335,
0.009208927154541016,
0.0064431772232055665,
0.006130377769470215,
0.005895019054412842,
0.006069097995758057,
0.00607869815826416,
0.006055018901824951,
0.005771978855133057,
0.005964939117431641,
0.006147017955780029,
0.005896139144897461,
0.005909739017486572,
0.006130057811737061,
0.005860299110412598,
0.005892458915710449,
0.0059001388549804685,
0.005851658821105957,
0.005977098941802979,
0.005850059986114502,
0.0059014191627502445,
0.006074538230895996,
0.005891819000244141,
0.005837258815765381,
0.005991659164428711,
0.005762379169464111,
0.0058310189247131345,
0.00594253921508789,
0.0058322992324829105,
0.005863179206848144,
0.0058572587966918945,
0.005874059200286865,
0.006143178939819336,
0.006079498767852783,
0.006067977905273437,
0.006289897918701172,
0.006133738040924072,
0.006231657981872559,
0.006242218017578125,
0.005974379062652588,
0.006132137775421142,
0.006240458011627197,
0.0060489377975463865,
0.006318697929382324,
0.0062826981544494625,
0.006304458141326904,
0.006308298110961914,
0.006278538227081299,
0.006323816776275634,
0.006305257797241211,
0.006291337966918945,
0.006311017990112305,
0.006295816898345947,
0.006322378158569336,
0.006306057929992676,
0.0063161377906799316,
0.006350378036499024,
0.006309096813201904,
0.0063228578567504886,
0.006299656867980957,
0.006297098159790039,
0.006279177188873291,
0.006305737972259522,
0.006311817169189453,
0.00631453800201416,
0.006313736915588379,
0.006289738178253174,
0.006250216960906983,
0.005928459167480468,
0.006242057800292969,
0.005997098922729492,
0.0059538989067077636,
0.006160778045654297,
0.00588477897644043,
0.0061975779533386234,
0.006221097946166992,
0.006077417850494385,
0.006350378036499024,
0.00620477819442749,
0.006144779205322266,
0.006089899063110351,
0.0058775792121887206,
0.006051338195800781,
0.00610925817489624,
0.005849100112915039,
0.005979339122772217,
0.005864139080047607,
0.0058775792121887206,
0.005970219135284424,
0.005874699115753174,
0.005882538795471191,
0.005950539112091064,
0.0059159789085388185,
0.005755659103393555,
0.005995819091796875,
0.005808938980102539,
0.005947498798370361,
0.006060778141021728,
0.005829099178314209,
0.005856618881225586,
0.006213098049163818,
0.005945418834686279,
0.005962059020996093,
0.005838859081268311,
0.005853899002075195,
0.0061236581802368165,
0.005952299118041992,
0.006049578189849854,
0.005847178936004639,
0.005739180088043213,
0.005640460014343262,
0.005778378963470459,
0.005648459911346436,
0.0056583800315856934,
0.005855659008026123,
0.005666860103607178,
0.0056479802131652835,
0.005883180141448975,
0.005611340999603271,
0.005637740135192871,
0.005826859951019287,
0.005640940189361572,
0.005643499851226807,
0.005950058937072754,
0.005868779182434082,
0.005706379890441895,
0.006008458137512207,
0.005776299953460694,
0.006388136863708496,
0.006396296977996826,
0.006383176803588867,
0.006369257926940918,
0.005948459148406983,
0.005642859935760498,
0.005852299213409424,
0.00562909984588623,
0.005706220149993896,
0.005683178901672363,
0.005700459957122803,
0.005934699058532715,
0.005673739910125732,
0.005637100219726562,
0.005878378868103027,
0.005626060009002685,
0.005838540077209473,
0.00593549919128418,
0.0060959792137145995,
0.005901100158691407,
0.006184617996215821,
0.006028459072113037,
0.005866219043731689,
0.006345576763153076,
0.00637949800491333,
0.006383178234100342,
0.0063866968154907226,
0.006416457176208496,
0.006403656959533691,
0.00641917610168457,
0.006447017192840576,
0.006447816848754883,
0.006427337169647216
]
},
"throughput": {
"unit": "samples/s",
"value": 165.00996728145472
},
"energy": null,
"efficiency": null
}
}
}