|
6 | 6 | "source": "# Explore Kubeflow Katib Hyperparamter Optimization API",
|
7 | 7 | "id": "58ad086d543ba3a1"
|
8 | 8 | },
|
| 9 | + { |
| 10 | + "metadata": { |
| 11 | + "ExecuteTime": { |
| 12 | + "end_time": "2025-01-27T19:25:02.314305Z", |
| 13 | + "start_time": "2025-01-27T19:25:02.308576Z" |
| 14 | + } |
| 15 | + }, |
| 16 | + "cell_type": "code", |
| 17 | + "source": [ |
| 18 | + "import sys\n", |
| 19 | + "print(sys.version)" |
| 20 | + ], |
| 21 | + "id": "e32879d3100139f9", |
| 22 | + "outputs": [ |
| 23 | + { |
| 24 | + "name": "stdout", |
| 25 | + "output_type": "stream", |
| 26 | + "text": [ |
| 27 | + "3.9.21 (main, Dec 11 2024, 10:21:40) \n", |
| 28 | + "[Clang 14.0.6 ]\n" |
| 29 | + ] |
| 30 | + } |
| 31 | + ], |
| 32 | + "execution_count": 2 |
| 33 | + }, |
9 | 34 | {
|
10 | 35 | "cell_type": "code",
|
11 | 36 | "id": "initial_id",
|
12 | 37 | "metadata": {
|
13 | 38 | "collapsed": true,
|
14 | 39 | "ExecuteTime": {
|
15 |
| - "end_time": "2025-01-16T13:42:54.643224Z", |
16 |
| - "start_time": "2025-01-16T13:42:46.916516Z" |
| 40 | + "end_time": "2025-01-27T19:25:12.572178Z", |
| 41 | + "start_time": "2025-01-27T19:25:06.809884Z" |
17 | 42 | }
|
18 | 43 | },
|
19 | 44 | "source": [
|
|
26 | 51 | "output_type": "stream",
|
27 | 52 | "text": [
|
28 | 53 | "Collecting git+https://github.com/kubeflow/katib.git#subdirectory=sdk/python/v1beta1\r\n",
|
29 |
| - " Cloning https://github.com/kubeflow/katib.git to /private/var/folders/_z/49hgcx6x4db7pjpfzjcphlcm0000gn/T/pip-req-build-a6ajaxks\r\n", |
30 |
| - " Running command git clone --filter=blob:none --quiet https://github.com/kubeflow/katib.git /private/var/folders/_z/49hgcx6x4db7pjpfzjcphlcm0000gn/T/pip-req-build-a6ajaxks\r\n", |
31 |
| - " Resolved https://github.com/kubeflow/katib.git to commit 93bee4dc25529a92320cf33634bb6920013c8281\r\n", |
| 54 | + " Cloning https://github.com/kubeflow/katib.git to /private/var/folders/_z/49hgcx6x4db7pjpfzjcphlcm0000gn/T/pip-req-build-jkz5vj8a\r\n", |
| 55 | + " Running command git clone --filter=blob:none --quiet https://github.com/kubeflow/katib.git /private/var/folders/_z/49hgcx6x4db7pjpfzjcphlcm0000gn/T/pip-req-build-jkz5vj8a\r\n", |
| 56 | + " Resolved https://github.com/kubeflow/katib.git to commit 40e1e651f2f665cf8fb523b0f848644dc3036a78\r\n", |
32 | 57 | " Preparing metadata (setup.py) ... \u001B[?25ldone\r\n",
|
33 | 58 | "\u001B[?25hRequirement already satisfied: certifi>=14.05.14 in /Users/mahdikhashan/miniconda3/envs/llm-hp-optimization-katib-nb/lib/python3.9/site-packages (from kubeflow-katib==0.17.0) (2024.12.14)\r\n",
|
34 | 59 | "Requirement already satisfied: six>=1.10 in /Users/mahdikhashan/miniconda3/envs/llm-hp-optimization-katib-nb/lib/python3.9/site-packages (from kubeflow-katib==0.17.0) (1.16.0)\r\n",
|
|
52 | 77 | "Requirement already satisfied: idna<4,>=2.5 in /Users/mahdikhashan/miniconda3/envs/llm-hp-optimization-katib-nb/lib/python3.9/site-packages (from requests->kubernetes>=27.2.0->kubeflow-katib==0.17.0) (3.7)\r\n",
|
53 | 78 | "Requirement already satisfied: pyasn1<0.7.0,>=0.4.6 in /Users/mahdikhashan/miniconda3/envs/llm-hp-optimization-katib-nb/lib/python3.9/site-packages (from pyasn1-modules>=0.2.1->google-auth>=1.0.1->kubernetes>=27.2.0->kubeflow-katib==0.17.0) (0.6.1)\r\n",
|
54 | 79 | "Collecting git+https://github.com/kubeflow/training-operator.git#subdirectory=sdk/python\r\n",
|
55 |
| - " Cloning https://github.com/kubeflow/training-operator.git to /private/var/folders/_z/49hgcx6x4db7pjpfzjcphlcm0000gn/T/pip-req-build-95zfygeb\r\n", |
56 |
| - " Running command git clone --filter=blob:none --quiet https://github.com/kubeflow/training-operator.git /private/var/folders/_z/49hgcx6x4db7pjpfzjcphlcm0000gn/T/pip-req-build-95zfygeb\r\n", |
57 |
| - " Resolved https://github.com/kubeflow/training-operator.git to commit 1dfa40c12516fc9eb2ce12c5ef52da7d46670457\r\n", |
| 80 | + " Cloning https://github.com/kubeflow/training-operator.git to /private/var/folders/_z/49hgcx6x4db7pjpfzjcphlcm0000gn/T/pip-req-build-1g8szvmv\r\n", |
| 81 | + " Running command git clone --filter=blob:none --quiet https://github.com/kubeflow/training-operator.git /private/var/folders/_z/49hgcx6x4db7pjpfzjcphlcm0000gn/T/pip-req-build-1g8szvmv\r\n", |
| 82 | + " Resolved https://github.com/kubeflow/training-operator.git to commit ee1b691acdb2d605ffe77935aa45c57ac047ed15\r\n", |
58 | 83 | " Preparing metadata (setup.py) ... \u001B[?25ldone\r\n",
|
59 | 84 | "\u001B[?25hRequirement already satisfied: certifi>=14.05.14 in /Users/mahdikhashan/miniconda3/envs/llm-hp-optimization-katib-nb/lib/python3.9/site-packages (from kubeflow-training==1.8.1) (2024.12.14)\r\n",
|
60 | 85 | "Requirement already satisfied: six>=1.10 in /Users/mahdikhashan/miniconda3/envs/llm-hp-optimization-katib-nb/lib/python3.9/site-packages (from kubeflow-training==1.8.1) (1.16.0)\r\n",
|
61 | 86 | "Requirement already satisfied: setuptools>=21.0.0 in /Users/mahdikhashan/miniconda3/envs/llm-hp-optimization-katib-nb/lib/python3.9/site-packages (from kubeflow-training==1.8.1) (75.1.0)\r\n",
|
62 | 87 | "Requirement already satisfied: urllib3>=1.15.1 in /Users/mahdikhashan/miniconda3/envs/llm-hp-optimization-katib-nb/lib/python3.9/site-packages (from kubeflow-training==1.8.1) (2.2.3)\r\n",
|
63 | 88 | "Requirement already satisfied: kubernetes>=27.2.0 in /Users/mahdikhashan/miniconda3/envs/llm-hp-optimization-katib-nb/lib/python3.9/site-packages (from kubeflow-training==1.8.1) (31.0.0)\r\n",
|
64 |
| - "Collecting retrying>=1.3.3 (from kubeflow-training==1.8.1)\r\n", |
65 |
| - " Downloading retrying-1.3.4-py3-none-any.whl.metadata (6.9 kB)\r\n", |
| 89 | + "Requirement already satisfied: retrying>=1.3.3 in /Users/mahdikhashan/miniconda3/envs/llm-hp-optimization-katib-nb/lib/python3.9/site-packages (from kubeflow-training==1.8.1) (1.3.4)\r\n", |
66 | 90 | "Requirement already satisfied: python-dateutil>=2.5.3 in /Users/mahdikhashan/miniconda3/envs/llm-hp-optimization-katib-nb/lib/python3.9/site-packages (from kubernetes>=27.2.0->kubeflow-training==1.8.1) (2.9.0.post0)\r\n",
|
67 | 91 | "Requirement already satisfied: pyyaml>=5.4.1 in /Users/mahdikhashan/miniconda3/envs/llm-hp-optimization-katib-nb/lib/python3.9/site-packages (from kubernetes>=27.2.0->kubeflow-training==1.8.1) (6.0.2)\r\n",
|
68 | 92 | "Requirement already satisfied: google-auth>=1.0.1 in /Users/mahdikhashan/miniconda3/envs/llm-hp-optimization-katib-nb/lib/python3.9/site-packages (from kubernetes>=27.2.0->kubeflow-training==1.8.1) (2.37.0)\r\n",
|
|
76 | 100 | "Requirement already satisfied: rsa<5,>=3.1.4 in /Users/mahdikhashan/miniconda3/envs/llm-hp-optimization-katib-nb/lib/python3.9/site-packages (from google-auth>=1.0.1->kubernetes>=27.2.0->kubeflow-training==1.8.1) (4.9)\r\n",
|
77 | 101 | "Requirement already satisfied: charset-normalizer<4,>=2 in /Users/mahdikhashan/miniconda3/envs/llm-hp-optimization-katib-nb/lib/python3.9/site-packages (from requests->kubernetes>=27.2.0->kubeflow-training==1.8.1) (3.3.2)\r\n",
|
78 | 102 | "Requirement already satisfied: idna<4,>=2.5 in /Users/mahdikhashan/miniconda3/envs/llm-hp-optimization-katib-nb/lib/python3.9/site-packages (from requests->kubernetes>=27.2.0->kubeflow-training==1.8.1) (3.7)\r\n",
|
79 |
| - "Requirement already satisfied: pyasn1<0.7.0,>=0.4.6 in /Users/mahdikhashan/miniconda3/envs/llm-hp-optimization-katib-nb/lib/python3.9/site-packages (from pyasn1-modules>=0.2.1->google-auth>=1.0.1->kubernetes>=27.2.0->kubeflow-training==1.8.1) (0.6.1)\r\n", |
80 |
| - "Downloading retrying-1.3.4-py3-none-any.whl (11 kB)\r\n", |
81 |
| - "Building wheels for collected packages: kubeflow-training\r\n", |
82 |
| - " Building wheel for kubeflow-training (setup.py) ... \u001B[?25ldone\r\n", |
83 |
| - "\u001B[?25h Created wheel for kubeflow-training: filename=kubeflow_training-1.8.1-py3-none-any.whl size=111180 sha256=3c432a3ba850bb70ff4d17bce13c2882dd0ef9370d3a0ccc083df1431c4bb8f7\r\n", |
84 |
| - " Stored in directory: /private/var/folders/_z/49hgcx6x4db7pjpfzjcphlcm0000gn/T/pip-ephem-wheel-cache-d1jpqseq/wheels/4e/97/bb/7c46e489ad7772669c94e462b1f545c475d32d70259ba08209\r\n", |
85 |
| - "Successfully built kubeflow-training\r\n", |
86 |
| - "Installing collected packages: retrying, kubeflow-training\r\n", |
87 |
| - "Successfully installed kubeflow-training-1.8.1 retrying-1.3.4\r\n" |
| 103 | + "Requirement already satisfied: pyasn1<0.7.0,>=0.4.6 in /Users/mahdikhashan/miniconda3/envs/llm-hp-optimization-katib-nb/lib/python3.9/site-packages (from pyasn1-modules>=0.2.1->google-auth>=1.0.1->kubernetes>=27.2.0->kubeflow-training==1.8.1) (0.6.1)\r\n" |
88 | 104 | ]
|
89 | 105 | }
|
90 | 106 | ],
|
91 |
| - "execution_count": 7 |
| 107 | + "execution_count": 3 |
92 | 108 | },
|
93 | 109 | {
|
94 | 110 | "metadata": {
|
|
0 commit comments