{ "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": "f12f642abaf558e58516daaa40124ad343ac2723", "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": 519.962624, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 5.550753916 ], "count": 1, "total": 5.550753916, "mean": 5.550753916, "p50": 5.550753916, "p90": 5.550753916, "p95": 5.550753916, "p99": 5.550753916, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 937.918464, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 0.06796295799999896, 0.06066370799999987, 0.05333566699999892, 0.044895750000000234, 0.045641500000000335, 0.0446131249999997, 0.04452445799999971, 0.04828333299999876, 0.04747545799999919, 0.04420037500000085, 0.04479304200000023, 0.04492624999999961, 0.04544966599999967, 0.044633957999998586, 0.04490125000000056, 0.0446677090000005, 0.044622624999998806, 0.04492016700000079, 0.044714457999999624, 0.044125291999998595, 0.04448591599999929, 0.04456895900000113 ], "count": 22, "total": 1.038405623999994, "mean": 0.04720025563636336, "p50": 0.04484439600000023, "p90": 0.052830433599998915, "p95": 0.06029730594999982, "p99": 0.06643011549999915, "stdev": 0.005861754680485951, "stdev_": 12.418904519597602 }, "throughput": { "unit": "samples/s", "value": 42.372651864605324 }, "energy": null, "efficiency": null } } }