nvidia-nat 1.3.0a20251001__py3-none-any.whl → 1.3.0a20251002__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nat/agent/prompt_optimizer/register.py +2 -2
- nat/cli/commands/mcp/mcp.py +1 -1
- nat/cli/main.py +3 -0
- nat/profiler/decorators/framework_wrapper.py +1 -1
- nat/profiler/forecasting/models/linear_model.py +1 -1
- nat/profiler/forecasting/models/random_forest_regressor.py +1 -1
- nat/profiler/inference_optimization/bottleneck_analysis/nested_stack_analysis.py +1 -1
- nat/profiler/inference_optimization/experimental/prefix_span_analysis.py +1 -1
- {nvidia_nat-1.3.0a20251001.dist-info → nvidia_nat-1.3.0a20251002.dist-info}/METADATA +1 -1
- {nvidia_nat-1.3.0a20251001.dist-info → nvidia_nat-1.3.0a20251002.dist-info}/RECORD +15 -15
- {nvidia_nat-1.3.0a20251001.dist-info → nvidia_nat-1.3.0a20251002.dist-info}/WHEEL +0 -0
- {nvidia_nat-1.3.0a20251001.dist-info → nvidia_nat-1.3.0a20251002.dist-info}/entry_points.txt +0 -0
- {nvidia_nat-1.3.0a20251001.dist-info → nvidia_nat-1.3.0a20251002.dist-info}/licenses/LICENSE-3rd-party.txt +0 -0
- {nvidia_nat-1.3.0a20251001.dist-info → nvidia_nat-1.3.0a20251002.dist-info}/licenses/LICENSE.md +0 -0
- {nvidia_nat-1.3.0a20251001.dist-info → nvidia_nat-1.3.0a20251002.dist-info}/top_level.txt +0 -0
|
@@ -51,7 +51,7 @@ async def prompt_optimizer_function(config: PromptOptimizerConfig, builder: Buil
|
|
|
51
51
|
from .prompt import mutator_prompt
|
|
52
52
|
except ImportError as exc:
|
|
53
53
|
raise ImportError("langchain-core is not installed. Please install it to use MultiLLMPlanner.\n"
|
|
54
|
-
"This error can be resolve by installing nvidia-nat[langchain]") from exc
|
|
54
|
+
"This error can be resolve by installing \"nvidia-nat[langchain]\".") from exc
|
|
55
55
|
|
|
56
56
|
llm = await builder.get_llm(config.optimizer_llm, wrapper_type=LLMFrameworkEnum.LANGCHAIN)
|
|
57
57
|
|
|
@@ -111,7 +111,7 @@ async def prompt_recombiner_function(config: PromptRecombinerConfig, builder: Bu
|
|
|
111
111
|
from langchain_core.prompts import PromptTemplate
|
|
112
112
|
except ImportError as exc:
|
|
113
113
|
raise ImportError("langchain-core is not installed. Please install it to use MultiLLMPlanner.\n"
|
|
114
|
-
"This error can be resolve by installing nvidia-nat[langchain].") from exc
|
|
114
|
+
"This error can be resolve by installing \"nvidia-nat[langchain]\".") from exc
|
|
115
115
|
|
|
116
116
|
llm = await builder.get_llm(config.optimizer_llm, wrapper_type=LLMFrameworkEnum.LANGCHAIN)
|
|
117
117
|
|
nat/cli/commands/mcp/mcp.py
CHANGED
|
@@ -297,7 +297,7 @@ async def list_tools_via_function_group(
|
|
|
297
297
|
if fn is not None:
|
|
298
298
|
tools.append(to_tool_entry(full, fn))
|
|
299
299
|
else:
|
|
300
|
-
for full, fn in
|
|
300
|
+
for full, fn in fns.items():
|
|
301
301
|
tools.append(to_tool_entry(full, fn))
|
|
302
302
|
|
|
303
303
|
return tools
|
nat/cli/main.py
CHANGED
|
@@ -123,7 +123,7 @@ def set_framework_profiler_handler(
|
|
|
123
123
|
except ImportError as e:
|
|
124
124
|
logger.warning(
|
|
125
125
|
"ADK profiler not available. " +
|
|
126
|
-
"Install NAT with ADK extras: pip install
|
|
126
|
+
"Install NAT with ADK extras: pip install \"nvidia-nat[adk]\". Error: %s",
|
|
127
127
|
e)
|
|
128
128
|
else:
|
|
129
129
|
handler = ADKProfilerHandler()
|
|
@@ -36,7 +36,7 @@ class LinearModel(ForecastingBaseModel):
|
|
|
36
36
|
except ImportError:
|
|
37
37
|
logger.error(
|
|
38
38
|
"scikit-learn is not installed. Please install scikit-learn to use the LinearModel "
|
|
39
|
-
"profiling model or install
|
|
39
|
+
"profiling model or install \"nvidia-nat[profiler]\" to install all necessary profiling packages.")
|
|
40
40
|
|
|
41
41
|
raise
|
|
42
42
|
|
|
@@ -36,7 +36,7 @@ class RandomForestModel(ForecastingBaseModel):
|
|
|
36
36
|
except ImportError:
|
|
37
37
|
logger.error(
|
|
38
38
|
"scikit-learn is not installed. Please install scikit-learn to use the RandomForest "
|
|
39
|
-
"profiling model or install
|
|
39
|
+
"profiling model or install \"nvidia-nat[profiler]\" to install all necessary profiling packages.")
|
|
40
40
|
|
|
41
41
|
raise
|
|
42
42
|
|
|
@@ -304,7 +304,7 @@ def save_gantt_chart(all_nodes: list[CallNode], output_path: str) -> None:
|
|
|
304
304
|
import matplotlib.pyplot as plt
|
|
305
305
|
except ImportError:
|
|
306
306
|
logger.error("matplotlib is not installed. Please install matplotlib to use generate plots for the profiler "
|
|
307
|
-
"or install
|
|
307
|
+
"or install \"nvidia-nat[profiler]\" to install all necessary profiling packages.")
|
|
308
308
|
|
|
309
309
|
raise
|
|
310
310
|
|
|
@@ -212,7 +212,7 @@ def run_prefixspan(sequences_map: dict[int, list[PrefixCallNode]],
|
|
|
212
212
|
from prefixspan import PrefixSpan
|
|
213
213
|
except ImportError:
|
|
214
214
|
logger.error("prefixspan is not installed. Please install prefixspan to run the prefix analysis in the "
|
|
215
|
-
"profiler or install
|
|
215
|
+
"profiler or install \"nvidia-nat[profiler]\" to install all necessary profiling packages.")
|
|
216
216
|
|
|
217
217
|
raise
|
|
218
218
|
|
|
@@ -5,7 +5,7 @@ nat/agent/dual_node.py,sha256=pfvXa1iLKtrNBHsh-tM5RWRmVe7QkyYhQNanOfWdJJs,2569
|
|
|
5
5
|
nat/agent/register.py,sha256=rPhHDyqRBIKyon3HqhOmpAjqPP18Or6wDQb0wRUBIjQ,1032
|
|
6
6
|
nat/agent/prompt_optimizer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
nat/agent/prompt_optimizer/prompt.py,sha256=2I1cGZH73Q1pwxA_V-9b1sFCdQ1PLFxliaRtrIkVVVU,3042
|
|
8
|
-
nat/agent/prompt_optimizer/register.py,sha256=
|
|
8
|
+
nat/agent/prompt_optimizer/register.py,sha256=s1WZzHYivU1LwH3iZZ3YSEiOfIurzwxqvUGrfG2_rz4,6799
|
|
9
9
|
nat/agent/react_agent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
10
|
nat/agent/react_agent/agent.py,sha256=sWrg9WrglTKQQyG3EcjNm2JTEchCPEo9li-Po7TJKss,21294
|
|
11
11
|
nat/agent/react_agent/output_parser.py,sha256=m7K6wRwtckBBpAHqOf3BZ9mqZLwrP13Kxz5fvNxbyZE,4219
|
|
@@ -59,7 +59,7 @@ nat/builder/workflow.py,sha256=bHrxK-VFsxUTw2wZgkWcCttpCMDeWNGPfmIGEW_bjZo,6908
|
|
|
59
59
|
nat/builder/workflow_builder.py,sha256=Fdf2eIYrRg1ovLkySzzgh5C2PNLV7QzQIN7pLHSr6zI,56339
|
|
60
60
|
nat/cli/__init__.py,sha256=Xs1JQ16L9btwreh4pdGKwskffAw1YFO48jKrU4ib_7c,685
|
|
61
61
|
nat/cli/entrypoint.py,sha256=7NHq3Grb_qzpJzzbb0YtTsWd4YhA6y9ljHwsOQPQAIs,4928
|
|
62
|
-
nat/cli/main.py,sha256=
|
|
62
|
+
nat/cli/main.py,sha256=LZMKvoHYR926mghMjVpfLiI2qraqtrhMY9hvuAQCRWk,2258
|
|
63
63
|
nat/cli/register_workflow.py,sha256=DOQQgUWB_NO9k7nlkP4cAx_RX03Cndk032K-kqyuvEs,23285
|
|
64
64
|
nat/cli/type_registry.py,sha256=HbPU-7lzSHZ4aepJ3qOgfnl5LzK6-KHwcerhFpWw6mU,48839
|
|
65
65
|
nat/cli/cli_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -83,7 +83,7 @@ nat/cli/commands/info/info.py,sha256=BGqshIEDpNRH9hM-06k-Gq-QX-qNddPICSWCN-ReC-g
|
|
|
83
83
|
nat/cli/commands/info/list_channels.py,sha256=K97TE6wtikgImY-wAbFNi0HHUGtkvIFd2woaG06VkT0,1277
|
|
84
84
|
nat/cli/commands/info/list_components.py,sha256=QlAJVONBA77xW8Lx6Autw5NTAZNy_VrJGr1GL9MfnHM,4532
|
|
85
85
|
nat/cli/commands/mcp/__init__.py,sha256=GUJrgGtpvyMUCjUBvR3faAdv-tZzbU9W-izgx9aMEQg,680
|
|
86
|
-
nat/cli/commands/mcp/mcp.py,sha256=
|
|
86
|
+
nat/cli/commands/mcp/mcp.py,sha256=xpnPnLOuqHrDkZk-9oK96Ub9TNRidr_0rP8BuedxO4U,43852
|
|
87
87
|
nat/cli/commands/object_store/__init__.py,sha256=GUJrgGtpvyMUCjUBvR3faAdv-tZzbU9W-izgx9aMEQg,680
|
|
88
88
|
nat/cli/commands/object_store/object_store.py,sha256=_ivB-R30a-66fNy-fUzi58HQ0Ay0gYsGz7T1xXoRa3Y,8576
|
|
89
89
|
nat/cli/commands/registry/__init__.py,sha256=GUJrgGtpvyMUCjUBvR3faAdv-tZzbU9W-izgx9aMEQg,680
|
|
@@ -343,15 +343,15 @@ nat/profiler/callbacks/llama_index_callback_handler.py,sha256=xzYve07uMlSTDjj929
|
|
|
343
343
|
nat/profiler/callbacks/semantic_kernel_callback_handler.py,sha256=BknzhQNB-MDMhR4QC9JScCp-zXq7KZ33SFb7X0MiTaI,11087
|
|
344
344
|
nat/profiler/callbacks/token_usage_base_model.py,sha256=X0b_AbBgVQAAbgbDMim-3S3XdQ7PaPs9qMUACvMAe5o,1104
|
|
345
345
|
nat/profiler/decorators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
346
|
-
nat/profiler/decorators/framework_wrapper.py,sha256=
|
|
346
|
+
nat/profiler/decorators/framework_wrapper.py,sha256=qlQ_o6fzsV6jUBbHYFuGjX_Aq-NDZ23l9l3ViDKxy5g,7682
|
|
347
347
|
nat/profiler/decorators/function_tracking.py,sha256=-ai_4djCbNwMan5SiTq3MVMBrcKoUWyxzviAV-Eh4xg,16771
|
|
348
348
|
nat/profiler/forecasting/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
349
349
|
nat/profiler/forecasting/config.py,sha256=5BhMa8csuPCjEnTaNQjo_2IoO7esh1ch02MoSWkvwPw,791
|
|
350
350
|
nat/profiler/forecasting/model_trainer.py,sha256=6Ci2KN4sNj1V3yduHXlA0tn50yHUmM2VcbRRS2L96OA,2456
|
|
351
351
|
nat/profiler/forecasting/models/__init__.py,sha256=pLpWi7u1UrguKIYD-BYu8IExvJLX_U2cuW3Ifp3zCOY,937
|
|
352
352
|
nat/profiler/forecasting/models/forecasting_base_model.py,sha256=PP6PObogPsfvzVGo6trfcDZ5b-VutqGVjdeOMAZB2W8,1235
|
|
353
|
-
nat/profiler/forecasting/models/linear_model.py,sha256=
|
|
354
|
-
nat/profiler/forecasting/models/random_forest_regressor.py,sha256=
|
|
353
|
+
nat/profiler/forecasting/models/linear_model.py,sha256=3Jyw238v0j4MkR5cqPazYP-gjw6bMUS6fS6xZlRndJs,7010
|
|
354
|
+
nat/profiler/forecasting/models/random_forest_regressor.py,sha256=3Lgguy5CFKoPCJyrS7f8ImeV6SCLAGajfnZCIAmBs8Y,9550
|
|
355
355
|
nat/profiler/inference_optimization/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
356
356
|
nat/profiler/inference_optimization/data_models.py,sha256=gJzlzKIkUbPPA4QyhQIXtE3hzuxdKFpB5ywECJ4T2Vg,11779
|
|
357
357
|
nat/profiler/inference_optimization/llm_metrics.py,sha256=kC8LUonJiXjQ5ogH8D7GTEYk44ypwncRJrN0ByRWz6k,9482
|
|
@@ -359,11 +359,11 @@ nat/profiler/inference_optimization/prompt_caching.py,sha256=n3kfgWibCjkXbp6_Qo8
|
|
|
359
359
|
nat/profiler/inference_optimization/token_uniqueness.py,sha256=zCPPwaBj1LOp6b9xKg9rJ80nbx1pgiRbo2PID_N8d2c,4536
|
|
360
360
|
nat/profiler/inference_optimization/workflow_runtimes.py,sha256=RXCsLoWkaLi32fi8kqajhgVMIedtzljUUZ8LA-xJDEU,2664
|
|
361
361
|
nat/profiler/inference_optimization/bottleneck_analysis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
362
|
-
nat/profiler/inference_optimization/bottleneck_analysis/nested_stack_analysis.py,sha256=
|
|
362
|
+
nat/profiler/inference_optimization/bottleneck_analysis/nested_stack_analysis.py,sha256=ouXHdlzqGD1hHLCXE7fNmUmUJqk8-Kw33XcHYg9ACdU,16741
|
|
363
363
|
nat/profiler/inference_optimization/bottleneck_analysis/simple_stack_analysis.py,sha256=DBbOxgKAYsGMIkFnbHGNPDdZQllmXBKW0Nkiso05NzI,11096
|
|
364
364
|
nat/profiler/inference_optimization/experimental/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
365
365
|
nat/profiler/inference_optimization/experimental/concurrency_spike_analysis.py,sha256=3hFMDbfW7MKxFIhO7y35qtP5wPtLAA2ZqltlnI-OsVc,16953
|
|
366
|
-
nat/profiler/inference_optimization/experimental/prefix_span_analysis.py,sha256
|
|
366
|
+
nat/profiler/inference_optimization/experimental/prefix_span_analysis.py,sha256=mTC93u3e78nFDP36TnkNse8_HwNQKn3Qw4ksMycRAA8,16664
|
|
367
367
|
nat/profiler/parameter_optimization/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
368
368
|
nat/profiler/parameter_optimization/optimizable_utils.py,sha256=93Pl8A14Zq_f3XsxSH-yFnEJ6B7W5hp7doPnPoLlRB4,3714
|
|
369
369
|
nat/profiler/parameter_optimization/optimizer_runtime.py,sha256=rXmCOq81o7ZorQOUYociVjuO3NO9CIjFBbwql2u_4H4,2715
|
|
@@ -469,10 +469,10 @@ nat/utils/reactive/base/observer_base.py,sha256=6BiQfx26EMumotJ3KoVcdmFBYR_fnAss
|
|
|
469
469
|
nat/utils/reactive/base/subject_base.py,sha256=UQOxlkZTIeeyYmG5qLtDpNf_63Y7p-doEeUA08_R8ME,2521
|
|
470
470
|
nat/utils/settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
471
471
|
nat/utils/settings/global_settings.py,sha256=9JaO6pxKT_Pjw6rxJRsRlFCXdVKCl_xUKU2QHZQWWNM,7294
|
|
472
|
-
nvidia_nat-1.3.
|
|
473
|
-
nvidia_nat-1.3.
|
|
474
|
-
nvidia_nat-1.3.
|
|
475
|
-
nvidia_nat-1.3.
|
|
476
|
-
nvidia_nat-1.3.
|
|
477
|
-
nvidia_nat-1.3.
|
|
478
|
-
nvidia_nat-1.3.
|
|
472
|
+
nvidia_nat-1.3.0a20251002.dist-info/licenses/LICENSE-3rd-party.txt,sha256=fOk5jMmCX9YoKWyYzTtfgl-SUy477audFC5hNY4oP7Q,284609
|
|
473
|
+
nvidia_nat-1.3.0a20251002.dist-info/licenses/LICENSE.md,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
474
|
+
nvidia_nat-1.3.0a20251002.dist-info/METADATA,sha256=_QPmMUXzMuyjKCSmGZGiaBfJRTukJucRV3vGqa9yO50,22945
|
|
475
|
+
nvidia_nat-1.3.0a20251002.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
476
|
+
nvidia_nat-1.3.0a20251002.dist-info/entry_points.txt,sha256=4jCqjyETMpyoWbCBf4GalZU8I_wbstpzwQNezdAVbbo,698
|
|
477
|
+
nvidia_nat-1.3.0a20251002.dist-info/top_level.txt,sha256=lgJWLkigiVZuZ_O1nxVnD_ziYBwgpE2OStdaCduMEGc,8
|
|
478
|
+
nvidia_nat-1.3.0a20251002.dist-info/RECORD,,
|
|
File without changes
|
{nvidia_nat-1.3.0a20251001.dist-info → nvidia_nat-1.3.0a20251002.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
{nvidia_nat-1.3.0a20251001.dist-info → nvidia_nat-1.3.0a20251002.dist-info}/licenses/LICENSE.md
RENAMED
|
File without changes
|
|
File without changes
|