{ "config": { "name": "test_api_push_to_hub_mixin", "backend": { "name": "pytorch", "version": "2.4.1", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "fill-mask", "library": "transformers", "model_type": "bert", "model": "google-bert/bert-base-uncased", "processor": "google-bert/bert-base-uncased", "device": "cpu", "device_ids": null, "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "model_kwargs": {}, "processor_kwargs": {}, "no_weights": false, "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": 2, "sequence_length": 16, "num_choices": 2 }, "new_tokens": null, "memory": true, "latency": true, "energy": false, "forward_kwargs": {}, "generate_kwargs": {}, "call_kwargs": {} }, "launcher": { "name": "process", "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher", "device_isolation": false, "device_isolation_action": null, "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": "Apple M1 (Virtual)", "cpu_count": 3, "cpu_ram_mb": 7516.192768, "system": "Darwin", "machine": "arm64", "platform": "macOS-14.7.1-arm64-arm-64bit", "processor": "arm", "python_version": "3.8.10", "optimum_benchmark_version": "0.5.0.dev0", "optimum_benchmark_commit": "eb0d20f627fc9f70b626fe236a910757019c63c7", "transformers_version": "4.46.3", "transformers_commit": null, "accelerate_version": "1.0.1", "accelerate_commit": null, "diffusers_version": "0.31.0", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.12", "timm_commit": null, "peft_version": null, "peft_commit": null }, "print_report": true, "log_report": true }, "report": { "load_model": { "memory": { "unit": "MB", "max_ram": 510.246912, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 6.746034041 ], "count": 1, "total": 6.746034041, "mean": 6.746034041, "p50": 6.746034041, "p90": 6.746034041, "p95": 6.746034041, "p99": 6.746034041, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 889.765888, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 0.07204308300000051, 0.12142220800000203, 0.1290520000000015, 0.07737399999999894, 0.07824312500000019, 0.07448537500000185, 0.09599241699999794, 0.10933158299999945, 0.08131433300000168, 0.08118908299999816, 0.09023758400000048 ], "count": 11, "total": 1.0106847910000027, "mean": 0.09188043554545479, "p50": 0.08131433300000168, "p90": 0.12142220800000203, "p95": 0.12523710400000176, "p99": 0.12828902080000154, "stdev": 0.0188222802326258, "stdev_": 20.485623648697338 }, "throughput": { "unit": "samples/s", "value": 21.767419670214412 }, "energy": null, "efficiency": null } } }