IlyasMoutawwakil HF Staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3ef38b0 verified | { | |
| "config": { | |
| "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
| "backend": { | |
| "name": "pytorch", | |
| "version": "2.3.0+cu121", | |
| "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
| "task": "text-classification", | |
| "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": true, | |
| "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", | |
| "start_method": "spawn" | |
| }, | |
| "environment": { | |
| "cpu": " AMD EPYC 7R32", | |
| "cpu_count": 16, | |
| "cpu_ram_mb": 66697.29792, | |
| "system": "Linux", | |
| "machine": "x86_64", | |
| "platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35", | |
| "processor": "x86_64", | |
| "python_version": "3.10.12", | |
| "gpu": [ | |
| "NVIDIA A10G" | |
| ], | |
| "gpu_count": 1, | |
| "gpu_vram_mb": 24146608128, | |
| "optimum_benchmark_version": "0.2.0", | |
| "optimum_benchmark_commit": null, | |
| "transformers_version": "4.40.2", | |
| "transformers_commit": null, | |
| "accelerate_version": "0.30.1", | |
| "accelerate_commit": null, | |
| "diffusers_version": "0.27.2", | |
| "diffusers_commit": null, | |
| "optimum_version": null, | |
| "optimum_commit": null, | |
| "timm_version": "1.0.3", | |
| "timm_commit": null, | |
| "peft_version": null, | |
| "peft_commit": null | |
| } | |
| }, | |
| "report": { | |
| "forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 902.189056, | |
| "max_global_vram": 1195.900928, | |
| "max_process_vram": 0.0, | |
| "max_reserved": 555.74528, | |
| "max_allocated": 508.993536 | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "count": 145, | |
| "total": 0.997332896232605, | |
| "mean": 0.006878157905052447, | |
| "stdev": 0.0004279952769912334, | |
| "p50": 0.006903808116912841, | |
| "p90": 0.007034867382049561, | |
| "p95": 0.007138508796691894, | |
| "p99": 0.009311232376098634, | |
| "values": [ | |
| 0.009842687606811524, | |
| 0.009390080451965332, | |
| 0.009210880279541016, | |
| 0.007515135765075683, | |
| 0.007172095775604248, | |
| 0.0071485438346862796, | |
| 0.007143424034118652, | |
| 0.007044095993041993, | |
| 0.006956031799316406, | |
| 0.007001088142395019, | |
| 0.00692739200592041, | |
| 0.006944767951965332, | |
| 0.006966271877288818, | |
| 0.006912000179290771, | |
| 0.006834176063537598, | |
| 0.006889472007751465, | |
| 0.00693452787399292, | |
| 0.007053311824798584, | |
| 0.0069703998565673825, | |
| 0.006966271877288818, | |
| 0.006969344139099121, | |
| 0.006930431842803955, | |
| 0.00689356803894043, | |
| 0.006939648151397705, | |
| 0.007001088142395019, | |
| 0.007066624164581299, | |
| 0.006958079814910889, | |
| 0.007018527984619141, | |
| 0.006965248107910156, | |
| 0.00694374418258667, | |
| 0.006944767951965332, | |
| 0.006985727787017822, | |
| 0.007044095993041993, | |
| 0.00698367977142334, | |
| 0.0068689918518066405, | |
| 0.006922239780426025, | |
| 0.006915008068084717, | |
| 0.006953983783721924, | |
| 0.006903808116912841, | |
| 0.006873087882995605, | |
| 0.006927360057830811, | |
| 0.007018496036529541, | |
| 0.006973440170288086, | |
| 0.007027711868286133, | |
| 0.007012351989746094, | |
| 0.0069959678649902345, | |
| 0.006933504104614257, | |
| 0.006912000179290771, | |
| 0.006964223861694336, | |
| 0.007034848213195801, | |
| 0.006931456089019775, | |
| 0.006903808116912841, | |
| 0.007020544052124023, | |
| 0.006957056045532227, | |
| 0.006903808116912841, | |
| 0.006910975933074951, | |
| 0.006960127830505371, | |
| 0.006922239780426025, | |
| 0.006978559970855713, | |
| 0.006957056045532227, | |
| 0.006881279945373535, | |
| 0.006924320220947266, | |
| 0.006879231929779053, | |
| 0.006906879901885986, | |
| 0.006924287796020508, | |
| 0.006953983783721924, | |
| 0.007007232189178467, | |
| 0.006966271877288818, | |
| 0.007051263809204102, | |
| 0.0070348801612854, | |
| 0.0071188478469848635, | |
| 0.007009280204772949, | |
| 0.0069816322326660156, | |
| 0.006965248107910156, | |
| 0.006932447910308838, | |
| 0.0069550080299377445, | |
| 0.006965248107910156, | |
| 0.006899712085723877, | |
| 0.006852608203887939, | |
| 0.006751264095306396, | |
| 0.006899712085723877, | |
| 0.006998015880584717, | |
| 0.006756351947784424, | |
| 0.006624256134033203, | |
| 0.0065883522033691405, | |
| 0.006622208118438721, | |
| 0.0066375679969787596, | |
| 0.006804448127746582, | |
| 0.006807551860809326, | |
| 0.006807551860809326, | |
| 0.006870016098022461, | |
| 0.006852608203887939, | |
| 0.007011328220367432, | |
| 0.006989791870117188, | |
| 0.006760447978973389, | |
| 0.00675328016281128, | |
| 0.006735936164855957, | |
| 0.007278592109680176, | |
| 0.006605823993682861, | |
| 0.006544415950775147, | |
| 0.006632448196411133, | |
| 0.0066078720092773435, | |
| 0.006583295822143555, | |
| 0.0066007041931152345, | |
| 0.006569983959197998, | |
| 0.00658739185333252, | |
| 0.006627327919006347, | |
| 0.006567967891693115, | |
| 0.0066109437942504885, | |
| 0.006557695865631104, | |
| 0.006441984176635742, | |
| 0.006512639999389648, | |
| 0.006657023906707763, | |
| 0.006606847763061524, | |
| 0.006649856090545654, | |
| 0.0066447358131408694, | |
| 0.006533120155334473, | |
| 0.00654534387588501, | |
| 0.0065781760215759275, | |
| 0.006538176059722901, | |
| 0.006564864158630371, | |
| 0.006591487884521485, | |
| 0.006591487884521485, | |
| 0.00658022403717041, | |
| 0.00657919979095459, | |
| 0.006602752208709717, | |
| 0.006573056221008301, | |
| 0.0065474557876586915, | |
| 0.006551551818847656, | |
| 0.006584320068359375, | |
| 0.006550528049468994, | |
| 0.006598656177520752, | |
| 0.0066406397819519045, | |
| 0.006593535900115967, | |
| 0.006592512130737305, | |
| 0.006598688125610351, | |
| 0.006555647850036621, | |
| 0.006633471965789795, | |
| 0.006592512130737305, | |
| 0.006562816143035889, | |
| 0.006586368083953857, | |
| 0.0066007041931152345, | |
| 0.0065771517753601075, | |
| 0.0065924801826477055, | |
| 0.0065781760215759275 | |
| ] | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 145.3877642537744 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 7.669463059380917e-08, | |
| "ram": 4.1917744884783806e-08, | |
| "gpu": 1.417079986709657e-07, | |
| "total": 2.6032037414955867e-07 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 3841420.4161579846 | |
| } | |
| } | |
| } | |
| } |