diff --git a/check_install.py b/check_install.py index f544c88cff2..700fb2ea0df 100644 --- a/check_install.py +++ b/check_install.py @@ -82,7 +82,6 @@ def kernel_check(): OPENVINO_IMPORT = False - print("System information:") print(f"Python executable: {PYTHON_EXECUTABLE}") print(f"Pip version: {PIP_VERSION}") @@ -177,9 +176,7 @@ def kernel_check(): if not DEVTOOLS_INSTALLED: print() - print( - "OpenVINO development tools are not installed in this Python environment. \n" "Please follow the instructions in the README to install `openvino`\n" - ) + print("OpenVINO development tools are not installed in this Python environment. \n" "Please follow the instructions in the README to install `openvino`\n") if not NO_BROKEN_REQUIREMENTS: print() diff --git a/notebooks/janus-multimodal-generation/ov_janus_helper.py b/notebooks/janus-multimodal-generation/ov_janus_helper.py index f7c388a7a21..612a9a738e5 100644 --- a/notebooks/janus-multimodal-generation/ov_janus_helper.py +++ b/notebooks/janus-multimodal-generation/ov_janus_helper.py @@ -233,7 +233,7 @@ def convert_janus_model(model_id, output_dir, quantization_config): processor: VLChatProcessor = VLChatProcessor.from_pretrained(model_id) config = AutoConfig.from_pretrained(model_id, trust_remote_code=True) language_config = config.language_config - language_config._attn_implementation = 'sdpa' + language_config._attn_implementation = "sdpa" vl_gpt: MultiModalityCausalLM = AutoModelForCausalLM.from_pretrained(model_id, language_config=language_config, trust_remote_code=True) vl_gpt = vl_gpt.eval() vl_gpt.config.save_pretrained(output_dir) diff --git a/notebooks/yolov11-optimization/yolov11-keypoint-detection.ipynb b/notebooks/yolov11-optimization/yolov11-keypoint-detection.ipynb index c147579b0f3..9c406b8868a 100644 --- a/notebooks/yolov11-optimization/yolov11-keypoint-detection.ipynb +++ b/notebooks/yolov11-optimization/yolov11-keypoint-detection.ipynb @@ -1336,7 +1336,7 @@ "metadata": {}, "outputs": [], "source": [ - "#VIDEO_SOURCE = 0 #for webcam\n", + "# VIDEO_SOURCE = 0 #for webcam\n", "VIDEO_SOURCE = \"https://storage.openvinotoolkit.org/repositories/openvino_notebooks/data/data/video/people.mp4\"" ] },