rocm
/
cuda_inference_transformers_image-classification_google
/vit-base-patch16-224
/benchmark.json
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
0662f80
verified
{ | |
"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_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.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": "1173614d292a81ced361d45dc81b00032c019f3c", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 898.801664, | |
"max_global_vram": 974.11072, | |
"max_process_vram": 46738.743296, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.70664599609375, | |
"mean": 7.70664599609375, | |
"stdev": 0.0, | |
"p50": 7.70664599609375, | |
"p90": 7.70664599609375, | |
"p95": 7.70664599609375, | |
"p99": 7.70664599609375, | |
"values": [ | |
7.70664599609375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1069.146112, | |
"max_global_vram": 1610.313728, | |
"max_process_vram": 184939.675648, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 142, | |
"total": 0.9956724343299869, | |
"mean": 0.0070117777065492005, | |
"stdev": 0.0001894224352755802, | |
"p50": 0.00695447850227356, | |
"p90": 0.007123918151855469, | |
"p95": 0.0073571579456329335, | |
"p99": 0.00800317150592804, | |
"values": [ | |
0.007165278911590576, | |
0.0072553582191467285, | |
0.007432158946990967, | |
0.007417918205261231, | |
0.0074337592124938965, | |
0.007385757923126221, | |
0.007287999153137207, | |
0.007360797882080078, | |
0.007206879138946533, | |
0.007132637977600098, | |
0.0071094388961791995, | |
0.007120798110961914, | |
0.00700783920288086, | |
0.0070564780235290525, | |
0.0070103988647460935, | |
0.0070211181640625, | |
0.007069438934326172, | |
0.00712319803237915, | |
0.007060318946838379, | |
0.007048478126525879, | |
0.007041919231414795, | |
0.007174878120422363, | |
0.006939999103546143, | |
0.007109278202056884, | |
0.007030239105224609, | |
0.007055198192596436, | |
0.007054238796234131, | |
0.007093278884887695, | |
0.007051517963409424, | |
0.007073759078979492, | |
0.007123998165130615, | |
0.007024158954620361, | |
0.007034557819366455, | |
0.007034238815307617, | |
0.007054718017578125, | |
0.00707279920578003, | |
0.0070705580711364745, | |
0.0069833588600158696, | |
0.006980957984924316, | |
0.007001439094543457, | |
0.00819087791442871, | |
0.007914718151092529, | |
0.006922079086303711, | |
0.0069193592071533205, | |
0.00689727783203125, | |
0.00692319917678833, | |
0.00691743803024292, | |
0.006993118762969971, | |
0.006920797824859619, | |
0.0068697590827941895, | |
0.006928318023681641, | |
0.006922238826751709, | |
0.006882079124450683, | |
0.006924637794494629, | |
0.006954878807067871, | |
0.006913278102874756, | |
0.006909119129180908, | |
0.00695183801651001, | |
0.006964319229125977, | |
0.006927517890930176, | |
0.006983199119567871, | |
0.006921278953552246, | |
0.0069145579338073734, | |
0.0069620790481567385, | |
0.0069860777854919434, | |
0.007010718822479248, | |
0.006954078197479248, | |
0.006964478969573975, | |
0.006935838222503662, | |
0.006910398960113525, | |
0.006927359104156494, | |
0.006942877769470215, | |
0.006934399127960205, | |
0.0068955178260803225, | |
0.006959039211273194, | |
0.006921597957611084, | |
0.0080646390914917, | |
0.006966238021850586, | |
0.0069267191886901855, | |
0.006898558139801026, | |
0.006882079124450683, | |
0.00694639778137207, | |
0.006982879161834717, | |
0.00698431921005249, | |
0.006944317817687989, | |
0.006944318771362304, | |
0.00695999813079834, | |
0.0069265589714050295, | |
0.006971837997436524, | |
0.0069193592071533205, | |
0.006903838157653808, | |
0.006936799049377442, | |
0.0068926382064819335, | |
0.006932959079742431, | |
0.006998398780822754, | |
0.0069622378349304195, | |
0.006938239097595215, | |
0.0069475178718566896, | |
0.006914238929748535, | |
0.006914877891540527, | |
0.006951838970184326, | |
0.006960958003997803, | |
0.006939359188079834, | |
0.006866718769073486, | |
0.006807198047637939, | |
0.006889119148254395, | |
0.0069524779319763185, | |
0.006899679183959961, | |
0.006874557971954346, | |
0.0069174389839172365, | |
0.00697807788848877, | |
0.006917758941650391, | |
0.0069291191101074215, | |
0.006964797973632812, | |
0.006940958976745605, | |
0.0069879980087280275, | |
0.007002079010009766, | |
0.0069934377670288084, | |
0.006939838886260987, | |
0.00696607780456543, | |
0.006906719207763672, | |
0.006947679042816162, | |
0.00694847822189331, | |
0.00693087911605835, | |
0.0069243178367614745, | |
0.006947039127349853, | |
0.006934877872467041, | |
0.006918559074401856, | |
0.006958558082580567, | |
0.006917119026184082, | |
0.006935678005218506, | |
0.00696143913269043, | |
0.006922399044036865, | |
0.006956477165222168, | |
0.006934399127960205, | |
0.006963997840881348, | |
0.006917919158935547, | |
0.007021597862243652, | |
0.006986238956451416, | |
0.006933117866516113, | |
0.006942718982696533, | |
0.0069412789344787595 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.61718523477597 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |