IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
09389c1 verified
raw
history blame
10.3 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"library": "transformers",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"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.2.1",
"optimum_benchmark_commit": "c594845efb520077430f4fe3f536bc1756e2b290",
"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": 1004.838912,
"max_global_vram": 898.473984,
"max_process_vram": 197644.914688,
"max_reserved": 555.74528,
"max_allocated": 499.507712
},
"latency": {
"unit": "s",
"count": 134,
"total": 1.000472569465637,
"mean": 0.007466213204967441,
"stdev": 0.0005209764498595457,
"p50": 0.007522297143936157,
"p90": 0.007983735084533691,
"p95": 0.008352613878250122,
"p99": 0.008468040590286255,
"values": [
0.008169094085693359,
0.007671657085418701,
0.007840456008911133,
0.007986855030059815,
0.007915335178375244,
0.007824935913085938,
0.007793735027313233,
0.007703656196594238,
0.00756253719329834,
0.007650856018066406,
0.0076346960067749025,
0.007643015861511231,
0.007585896015167236,
0.007640137195587158,
0.007622696876525879,
0.007742856025695801,
0.007656776905059814,
0.007654537200927734,
0.007609896183013916,
0.007599656105041504,
0.007688456058502198,
0.007771495819091797,
0.0077343759536743165,
0.007722375869750976,
0.007673895835876464,
0.007636776924133301,
0.007689736843109131,
0.01016076946258545,
0.008474693298339844,
0.007757256031036377,
0.007566696166992188,
0.007482057094573975,
0.007986855030059815,
0.008409733772277833,
0.008407492637634278,
0.008454533576965332,
0.008401893615722656,
0.008171493530273438,
0.008334693908691406,
0.008157094955444337,
0.008385893821716308,
0.007921414852142334,
0.008183975219726563,
0.007899495124816894,
0.007922376155853271,
0.007917895793914794,
0.007937095165252685,
0.007918535232543945,
0.007913415908813476,
0.007922214984893799,
0.007931175231933594,
0.007928295135498047,
0.007932936191558838,
0.007924294948577881,
0.007907014846801758,
0.007737895965576172,
0.00703949785232544,
0.006984938144683838,
0.007368297100067139,
0.006999817848205567,
0.006970219135284424,
0.00697885799407959,
0.0069940581321716305,
0.007014217853546142,
0.0070036578178405764,
0.0070294179916381835,
0.006976298809051514,
0.006962697982788086,
0.006988778114318848,
0.007083978176116943,
0.007129258155822754,
0.006994537830352783,
0.0069633378982543945,
0.0069793381690979005,
0.006963499069213867,
0.006969098091125488,
0.006995498180389404,
0.006983977794647217,
0.0069590191841125484,
0.007217896938323975,
0.006980778217315674,
0.006954218864440918,
0.007167817115783692,
0.006963499069213867,
0.00697645902633667,
0.006975498199462891,
0.006991337776184082,
0.0069535779953002926,
0.0069850988388061525,
0.006960137844085694,
0.006993257999420166,
0.006975657939910888,
0.007952775955200195,
0.007930856227874756,
0.007934054851531983,
0.007920294761657716,
0.00769757604598999,
0.007899176120758057,
0.00794941520690918,
0.007976455211639404,
0.007888454914093018,
0.007647336006164551,
0.007703656196594238,
0.007687016010284424,
0.007462377071380615,
0.007089578151702881,
0.007004137992858887,
0.007024298191070557,
0.0070458979606628416,
0.006991978168487549,
0.0069847779273986815,
0.006996138095855713,
0.006986538887023926,
0.006988617897033691,
0.006977578163146972,
0.006983498096466065,
0.006999978065490723,
0.006974699020385743,
0.0069791779518127445,
0.006974537849426269,
0.006981418132781982,
0.0069801387786865236,
0.006972299098968506,
0.006959497928619385,
0.006980618000030517,
0.00716557788848877,
0.0069761381149292,
0.006956297874450684,
0.007004299163818359,
0.00699229907989502,
0.006986856937408447,
0.00699357795715332,
0.006997578144073487,
0.006971979141235351
]
},
"throughput": {
"unit": "samples/s",
"value": 133.93670560260418
},
"energy": null,
"efficiency": null
}
}
}