|
54 | 54 | },
|
55 | 55 | {
|
56 | 56 | "cell_type": "code",
|
57 |
| - "execution_count": 1, |
| 57 | + "execution_count": null, |
58 | 58 | "id": "47d43de7-9946-482d-84cb-222294c1cda8",
|
59 | 59 | "metadata": {},
|
60 |
| - "outputs": [ |
61 |
| - { |
62 |
| - "name": "stdout", |
63 |
| - "output_type": "stream", |
64 |
| - "text": [ |
65 |
| - "Note: you may need to restart the kernel to use updated packages.\n", |
66 |
| - "Note: you may need to restart the kernel to use updated packages.\n", |
67 |
| - "Note: you may need to restart the kernel to use updated packages.\n", |
68 |
| - "Note: you may need to restart the kernel to use updated packages.\n", |
69 |
| - "\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n", |
70 |
| - "llama-index-embeddings-openvino 0.5.0 requires huggingface-hub<0.24.0,>=0.23.0, but you have huggingface-hub 0.29.1 which is incompatible.\n", |
71 |
| - "llama-index-postprocessor-openvino-rerank 0.4.0 requires huggingface-hub<0.24.0,>=0.23.0, but you have huggingface-hub 0.29.1 which is incompatible.\u001b[0m\u001b[31m\n", |
72 |
| - "\u001b[0mNote: you may need to restart the kernel to use updated packages.\n" |
73 |
| - ] |
74 |
| - }, |
75 |
| - { |
76 |
| - "name": "stderr", |
77 |
| - "output_type": "stream", |
78 |
| - "text": [ |
79 |
| - "/home2/ethan/intel/openvino_notebooks/openvino_venv/lib/python3.10/site-packages/openvino/runtime/__init__.py:10: DeprecationWarning: The `openvino.runtime` module is deprecated and will be removed in the 2026.0 release. Please replace `openvino.runtime` with `openvino`.\n", |
80 |
| - " warnings.warn(\n" |
81 |
| - ] |
82 |
| - } |
83 |
| - ], |
| 60 | + "outputs": [], |
84 | 61 | "source": [
|
85 | 62 | "import os\n",
|
86 | 63 | "from pathlib import Path\n",
|
|
98 | 75 | "\"transformers>=4.38.1\" \"langchain>=0.2.3\" \"langchain-community>=0.2.4\" \"wikipedia\" \\\n",
|
99 | 76 | "\"pydantic==2.9.2\" \"pydantic-core==2.23.4\" \"gradio>=5.0.0\" \"gradio-client==1.4.0\" \"modelscope_studio==1.0.0-beta.8\"\n",
|
100 | 77 | "%pip install -q --extra-index-url https://download.pytorch.org/whl/cpu \\\n",
|
101 |
| - "\"git+https://github.com/huggingface/optimum-intel.git\" \\\n", |
102 |
| - "\"git+https://github.com/openvinotoolkit/nncf.git\"\n", |
103 |
| - "\"git+https://github.com/QwenLM/Qwen-Agent.git[gui]\"\n", |
| 78 | + "\"git+https://github.com/huggingface/optimum-intel.git\"\n", |
| 79 | + "%pip install -q \"git+https://github.com/openvinotoolkit/nncf.git\"\n", |
104 | 80 | " \n",
|
105 | 81 | "utility_files = [\"notebook_utils.py\", \"cmd_helper.py\"]\n",
|
106 | 82 | "\n",
|
|
119 | 95 | "collect_telemetry(\"llm-agent-functioncall-qwen.ipynb\")"
|
120 | 96 | ]
|
121 | 97 | },
|
| 98 | + { |
| 99 | + "cell_type": "code", |
| 100 | + "execution_count": null, |
| 101 | + "id": "4fc895e6-b641-4b6b-b366-12663bcde4a1", |
| 102 | + "metadata": {}, |
| 103 | + "outputs": [], |
| 104 | + "source": [ |
| 105 | + "!git clone https://github.com/QwenLM/Qwen-Agent.git\n", |
| 106 | + "%pip install -e ./Qwen-Agent/\"[gui]\"" |
| 107 | + ] |
| 108 | + }, |
122 | 109 | {
|
123 | 110 | "attachments": {},
|
124 | 111 | "cell_type": "markdown",
|
|
0 commit comments