IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6dbde2d
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"library": "transformers", | |
"model_type": "roberta", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"device": "cuda", | |
"device_ids": "6", | |
"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": "warn", | |
"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]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1078.308864, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 49793.396736, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 15.6807021484375, | |
"mean": 15.6807021484375, | |
"stdev": 0.0, | |
"p50": 15.6807021484375, | |
"p90": 15.6807021484375, | |
"p95": 15.6807021484375, | |
"p99": 15.6807021484375, | |
"values": [ | |
15.6807021484375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1195.597824, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 242127.21664, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 0.995303790092468, | |
"mean": 0.0072649911685581615, | |
"stdev": 0.00037179565995743046, | |
"p50": 0.007143694877624512, | |
"p90": 0.007813519954681396, | |
"p95": 0.007843407917022706, | |
"p99": 0.007935984592437743, | |
"values": [ | |
0.007429454803466797, | |
0.007356335163116455, | |
0.007133134841918945, | |
0.006909773826599121, | |
0.006720814228057861, | |
0.006687373161315918, | |
0.006704333782196045, | |
0.006970734119415283, | |
0.00673185396194458, | |
0.006705773830413818, | |
0.006724333763122559, | |
0.006703373908996582, | |
0.006732653141021729, | |
0.006929295063018799, | |
0.006924973964691162, | |
0.007125133991241455, | |
0.007178254127502441, | |
0.007109294891357422, | |
0.007366095066070557, | |
0.007256014823913574, | |
0.007143694877624512, | |
0.007244974136352539, | |
0.007330414772033692, | |
0.0076059350967407225, | |
0.007534416198730469, | |
0.007422414779663086, | |
0.007309935092926025, | |
0.007127213954925537, | |
0.007100014209747314, | |
0.008363536834716797, | |
0.007955856800079346, | |
0.007576495170593262, | |
0.007640175819396973, | |
0.007571855068206787, | |
0.007605135917663574, | |
0.0077700958251953126, | |
0.0076185760498046875, | |
0.007712975025177002, | |
0.007488335132598877, | |
0.007402735233306885, | |
0.007498095989227295, | |
0.007465455055236816, | |
0.007843215942382813, | |
0.007380334854125976, | |
0.007630256175994873, | |
0.007478254795074463, | |
0.007765456199645996, | |
0.007612336158752442, | |
0.0074137749671936036, | |
0.007495375156402588, | |
0.00739809513092041, | |
0.0075704150199890135, | |
0.007455854892730713, | |
0.007461935043334961, | |
0.007552495002746582, | |
0.007559375762939453, | |
0.007293775081634522, | |
0.007739376068115234, | |
0.007401295185089111, | |
0.007358415126800537, | |
0.007125615119934082, | |
0.007312654972076416, | |
0.00717841386795044, | |
0.006935694217681885, | |
0.006935214042663574, | |
0.006953934192657471, | |
0.0069758548736572265, | |
0.006960333824157715, | |
0.007142735004425049, | |
0.00696497392654419, | |
0.0069486541748046875, | |
0.006951213836669922, | |
0.007140974998474121, | |
0.006979854106903076, | |
0.006952175140380859, | |
0.006915853977203369, | |
0.006928493976593017, | |
0.006950094223022461, | |
0.006983534812927246, | |
0.006954254150390625, | |
0.006955214023590088, | |
0.006943214893341065, | |
0.00698785400390625, | |
0.006962093830108642, | |
0.006946255207061767, | |
0.0069376139640808104, | |
0.006944014072418213, | |
0.006936173915863037, | |
0.006934414863586426, | |
0.006955053806304932, | |
0.006927854061126709, | |
0.006927534103393555, | |
0.00690433406829834, | |
0.006923213958740234, | |
0.006963694095611572, | |
0.006947854042053223, | |
0.006950735092163086, | |
0.006931213855743408, | |
0.006969614028930664, | |
0.006929294109344482, | |
0.00693473482131958, | |
0.00694305419921875, | |
0.00696769380569458, | |
0.0069560141563415525, | |
0.006906733989715576, | |
0.006956173896789551, | |
0.006949773788452148, | |
0.006929614067077637, | |
0.006889133930206299, | |
0.006936334133148194, | |
0.006912653923034668, | |
0.006972334861755371, | |
0.006935534000396729, | |
0.007382894992828369, | |
0.007863376140594482, | |
0.007818895816802979, | |
0.007853295803070068, | |
0.007779055118560791, | |
0.007844175815582275, | |
0.00790065622329712, | |
0.00785201597213745, | |
0.007764815807342529, | |
0.007305294990539551, | |
0.007820816040039062, | |
0.007809936046600342, | |
0.007761775970458984, | |
0.007809135913848877, | |
0.007797616004943848, | |
0.007801615238189698, | |
0.007780176162719726, | |
0.007829296112060546, | |
0.00782529592514038, | |
0.007842256069183349, | |
0.007839695930480957, | |
0.007807855129241943, | |
0.0073808150291442874, | |
0.00727809476852417 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.64641646473797 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |