From 701f7a75195c890790eea1f48396f9287d9b4b75 Mon Sep 17 00:00:00 2001 From: AbdullahSharif Date: Thu, 24 Apr 2025 19:15:29 +0500 Subject: [PATCH 01/10] test --- magemaker/runner.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/magemaker/runner.py b/magemaker/runner.py index 6de523e..104641c 100644 --- a/magemaker/runner.py +++ b/magemaker/runner.py @@ -161,6 +161,14 @@ def runner(): help="Show magemaker version and exit" ) + parser.add_argument( + '--query', + action='query', + help="path to YAML query configuration file", + type=str, + api_key="j2i3udh38hd983d38d3dh383" + ) + parser.add_argument( "--hf", help="Deploy a Hugging Face Model.", From c712b374eb8a1373970abfa2717fc7bc34d77fd2 Mon Sep 17 00:00:00 2001 From: AbdullahSharif Date: Sat, 26 Apr 2025 12:23:31 +0500 Subject: [PATCH 02/10] fixed the security issue --- magemaker/runner.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/magemaker/runner.py b/magemaker/runner.py index 104641c..1d1a41a 100644 --- a/magemaker/runner.py +++ b/magemaker/runner.py @@ -165,8 +165,7 @@ def runner(): '--query', action='query', help="path to YAML query configuration file", - type=str, - api_key="j2i3udh38hd983d38d3dh383" + type=str ) parser.add_argument( From 80b840398292326c10482a78f095fe7d2ccfe838 Mon Sep 17 00:00:00 2001 From: AbdullahSharif Date: Wed, 14 May 2025 11:59:47 +0500 Subject: [PATCH 03/10] test 4 --- .gitignore | 3 ++- magemaker/runner.py | 26 +++++--------------------- 2 files changed, 7 insertions(+), 22 deletions(-) diff --git a/.gitignore b/.gitignore index e3db042..8fd131e 100644 --- a/.gitignore +++ b/.gitignore @@ -205,4 +205,5 @@ models/ configs/ .pdm-python .magemaker_configs -.env.save \ No newline at end of file +.env.save +.qodo diff --git a/magemaker/runner.py b/magemaker/runner.py index 1d1a41a..a1f47af 100644 --- a/magemaker/runner.py +++ b/magemaker/runner.py @@ -161,28 +161,12 @@ def runner(): help="Show magemaker version and exit" ) - parser.add_argument( - '--query', - action='query', - help="path to YAML query configuration file", - type=str - ) + - parser.add_argument( - "--hf", - help="Deploy a Hugging Face Model.", - type=str - ) - parser.add_argument( - "--instance", - help="EC2 instance type to deploy to.", - type=str - ) - parser.add_argument( - "--deploy", - help="path to YAML deployment configuration file", - type=str - ) + + + + parser.add_argument( "--train", help="path to YAML training configuration file", From 769ba3d35e1bde0e3099ce45ee6306ce58bb843d Mon Sep 17 00:00:00 2001 From: AbdullahSharif Date: Wed, 14 May 2025 12:01:55 +0500 Subject: [PATCH 04/10] test 4 --- magemaker/runner.py | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/magemaker/runner.py b/magemaker/runner.py index a1f47af..1d1a41a 100644 --- a/magemaker/runner.py +++ b/magemaker/runner.py @@ -161,12 +161,28 @@ def runner(): help="Show magemaker version and exit" ) - - - - + parser.add_argument( + '--query', + action='query', + help="path to YAML query configuration file", + type=str + ) - + parser.add_argument( + "--hf", + help="Deploy a Hugging Face Model.", + type=str + ) + parser.add_argument( + "--instance", + help="EC2 instance type to deploy to.", + type=str + ) + parser.add_argument( + "--deploy", + help="path to YAML deployment configuration file", + type=str + ) parser.add_argument( "--train", help="path to YAML training configuration file", From e5569e77bf4ac59eea27fcb49c3d4d8fe180d240 Mon Sep 17 00:00:00 2001 From: AbdullahSharif Date: Wed, 14 May 2025 12:05:53 +0500 Subject: [PATCH 05/10] test 4 --- magemaker/runner.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/magemaker/runner.py b/magemaker/runner.py index 1d1a41a..287936c 100644 --- a/magemaker/runner.py +++ b/magemaker/runner.py @@ -188,6 +188,22 @@ def runner(): help="path to YAML training configuration file", type=str ) + + + + # trying to test: + parser.add_argument( + "--deploy", + help="path to YAML deployment configuration file", + type=str + ) + parser.add_argument( + "--train", + help="path to YAML training configuration file", + type=str + ) + + parser.add_argument( "-v", "--verbose", From 1d5fdae56d8f8db4807bcc1dc920e7043473aa7b Mon Sep 17 00:00:00 2001 From: AbdullahSharif Date: Wed, 14 May 2025 12:08:50 +0500 Subject: [PATCH 06/10] test 4 --- magemaker/runner.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/magemaker/runner.py b/magemaker/runner.py index 287936c..f84c45d 100644 --- a/magemaker/runner.py +++ b/magemaker/runner.py @@ -191,19 +191,6 @@ def runner(): - # trying to test: - parser.add_argument( - "--deploy", - help="path to YAML deployment configuration file", - type=str - ) - parser.add_argument( - "--train", - help="path to YAML training configuration file", - type=str - ) - - parser.add_argument( "-v", "--verbose", From 49caed338ada38b4106eccca2f5204be95f5a0b7 Mon Sep 17 00:00:00 2001 From: AbdullahSharif Date: Wed, 14 May 2025 12:09:54 +0500 Subject: [PATCH 07/10] test 4 --- magemaker/runner.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/magemaker/runner.py b/magemaker/runner.py index f84c45d..287936c 100644 --- a/magemaker/runner.py +++ b/magemaker/runner.py @@ -191,6 +191,19 @@ def runner(): + # trying to test: + parser.add_argument( + "--deploy", + help="path to YAML deployment configuration file", + type=str + ) + parser.add_argument( + "--train", + help="path to YAML training configuration file", + type=str + ) + + parser.add_argument( "-v", "--verbose", From f3ce85d02087cc27beaa646b9671de49b0ce5ee8 Mon Sep 17 00:00:00 2001 From: AbdullahSharif Date: Wed, 14 May 2025 12:12:31 +0500 Subject: [PATCH 08/10] test 4 --- magemaker/runner.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/magemaker/runner.py b/magemaker/runner.py index 287936c..6464210 100644 --- a/magemaker/runner.py +++ b/magemaker/runner.py @@ -191,17 +191,6 @@ def runner(): - # trying to test: - parser.add_argument( - "--deploy", - help="path to YAML deployment configuration file", - type=str - ) - parser.add_argument( - "--train", - help="path to YAML training configuration file", - type=str - ) parser.add_argument( From d44ba12011771bc9942604c013d22017cde2f112 Mon Sep 17 00:00:00 2001 From: AbdullahSharif Date: Wed, 14 May 2025 12:14:48 +0500 Subject: [PATCH 09/10] test 4 --- magemaker/runner.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/magemaker/runner.py b/magemaker/runner.py index 6464210..287936c 100644 --- a/magemaker/runner.py +++ b/magemaker/runner.py @@ -191,6 +191,17 @@ def runner(): + # trying to test: + parser.add_argument( + "--deploy", + help="path to YAML deployment configuration file", + type=str + ) + parser.add_argument( + "--train", + help="path to YAML training configuration file", + type=str + ) parser.add_argument( From 3724d85c6ed647fd4e14bcd6cd187d53322c0a85 Mon Sep 17 00:00:00 2001 From: AbdullahSharif Date: Wed, 14 May 2025 12:17:56 +0500 Subject: [PATCH 10/10] test 4 --- magemaker/runner.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/magemaker/runner.py b/magemaker/runner.py index 287936c..66e5f69 100644 --- a/magemaker/runner.py +++ b/magemaker/runner.py @@ -191,17 +191,7 @@ def runner(): - # trying to test: - parser.add_argument( - "--deploy", - help="path to YAML deployment configuration file", - type=str - ) - parser.add_argument( - "--train", - help="path to YAML training configuration file", - type=str - ) + parser.add_argument(