clarifai 9.8.1__py3-none-any.whl → 9.9.0__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.
Files changed (124) hide show
  1. clarifai/client/app.py +115 -14
  2. clarifai/client/base.py +11 -4
  3. clarifai/client/dataset.py +8 -3
  4. clarifai/client/input.py +34 -28
  5. clarifai/client/model.py +71 -2
  6. clarifai/client/module.py +4 -2
  7. clarifai/client/runner.py +161 -0
  8. clarifai/client/search.py +173 -0
  9. clarifai/client/user.py +110 -4
  10. clarifai/client/workflow.py +27 -2
  11. clarifai/constants/search.py +2 -0
  12. clarifai/datasets/upload/loaders/xview_detection.py +1 -1
  13. clarifai/models/model_serving/README.md +3 -3
  14. clarifai/models/model_serving/cli/deploy_cli.py +2 -3
  15. clarifai/models/model_serving/cli/repository.py +3 -5
  16. clarifai/models/model_serving/constants.py +1 -5
  17. clarifai/models/model_serving/docs/custom_config.md +5 -6
  18. clarifai/models/model_serving/docs/dependencies.md +5 -10
  19. clarifai/models/model_serving/examples/image_classification/age_vit/requirements.txt +1 -0
  20. clarifai/models/model_serving/examples/text_classification/xlm-roberta/requirements.txt +1 -0
  21. clarifai/models/model_serving/examples/text_to_image/sd-v1.5/requirements.txt +1 -0
  22. clarifai/models/model_serving/examples/text_to_text/bart-summarize/requirements.txt +1 -0
  23. clarifai/models/model_serving/examples/visual_detection/yolov5x/requirements.txt +1 -1
  24. clarifai/models/model_serving/examples/visual_embedding/vit-base/requirements.txt +1 -0
  25. clarifai/models/model_serving/examples/visual_segmentation/segformer-b2/requirements.txt +1 -0
  26. clarifai/models/model_serving/model_config/__init__.py +2 -0
  27. clarifai/models/model_serving/model_config/config.py +298 -0
  28. clarifai/models/model_serving/model_config/model_types_config/text-classifier.yaml +18 -0
  29. clarifai/models/model_serving/model_config/model_types_config/text-embedder.yaml +18 -0
  30. clarifai/models/model_serving/model_config/model_types_config/text-to-image.yaml +18 -0
  31. clarifai/models/model_serving/model_config/model_types_config/text-to-text.yaml +18 -0
  32. clarifai/models/model_serving/model_config/model_types_config/visual-classifier.yaml +18 -0
  33. clarifai/models/model_serving/model_config/model_types_config/visual-detector.yaml +28 -0
  34. clarifai/models/model_serving/model_config/model_types_config/visual-embedder.yaml +18 -0
  35. clarifai/models/model_serving/model_config/model_types_config/visual-segmenter.yaml +18 -0
  36. clarifai/models/model_serving/model_config/serializer.py +1 -1
  37. clarifai/models/model_serving/models/default_test.py +22 -21
  38. clarifai/models/model_serving/models/output.py +2 -2
  39. clarifai/models/model_serving/pb_model_repository.py +2 -5
  40. clarifai/runners/__init__.py +0 -0
  41. clarifai/runners/example.py +33 -0
  42. clarifai/schema/search.py +60 -0
  43. clarifai/utils/logging.py +53 -3
  44. clarifai/versions.py +1 -1
  45. clarifai/workflows/__init__.py +0 -0
  46. clarifai/workflows/export.py +68 -0
  47. clarifai/workflows/utils.py +59 -0
  48. clarifai/workflows/validate.py +67 -0
  49. {clarifai-9.8.1.dist-info → clarifai-9.9.0.dist-info}/METADATA +20 -2
  50. {clarifai-9.8.1.dist-info → clarifai-9.9.0.dist-info}/RECORD +102 -86
  51. clarifai_utils/client/app.py +115 -14
  52. clarifai_utils/client/base.py +11 -4
  53. clarifai_utils/client/dataset.py +8 -3
  54. clarifai_utils/client/input.py +34 -28
  55. clarifai_utils/client/model.py +71 -2
  56. clarifai_utils/client/module.py +4 -2
  57. clarifai_utils/client/runner.py +161 -0
  58. clarifai_utils/client/search.py +173 -0
  59. clarifai_utils/client/user.py +110 -4
  60. clarifai_utils/client/workflow.py +27 -2
  61. clarifai_utils/constants/search.py +2 -0
  62. clarifai_utils/datasets/upload/loaders/xview_detection.py +1 -1
  63. clarifai_utils/models/model_serving/README.md +3 -3
  64. clarifai_utils/models/model_serving/cli/deploy_cli.py +2 -3
  65. clarifai_utils/models/model_serving/cli/repository.py +3 -5
  66. clarifai_utils/models/model_serving/constants.py +1 -5
  67. clarifai_utils/models/model_serving/docs/custom_config.md +5 -6
  68. clarifai_utils/models/model_serving/docs/dependencies.md +5 -10
  69. clarifai_utils/models/model_serving/examples/image_classification/age_vit/requirements.txt +1 -0
  70. clarifai_utils/models/model_serving/examples/text_classification/xlm-roberta/requirements.txt +1 -0
  71. clarifai_utils/models/model_serving/examples/text_to_image/sd-v1.5/requirements.txt +1 -0
  72. clarifai_utils/models/model_serving/examples/text_to_text/bart-summarize/requirements.txt +1 -0
  73. clarifai_utils/models/model_serving/examples/visual_detection/yolov5x/requirements.txt +1 -1
  74. clarifai_utils/models/model_serving/examples/visual_embedding/vit-base/requirements.txt +1 -0
  75. clarifai_utils/models/model_serving/examples/visual_segmentation/segformer-b2/requirements.txt +1 -0
  76. clarifai_utils/models/model_serving/model_config/__init__.py +2 -0
  77. clarifai_utils/models/model_serving/model_config/config.py +298 -0
  78. clarifai_utils/models/model_serving/model_config/model_types_config/text-classifier.yaml +18 -0
  79. clarifai_utils/models/model_serving/model_config/model_types_config/text-embedder.yaml +18 -0
  80. clarifai_utils/models/model_serving/model_config/model_types_config/text-to-image.yaml +18 -0
  81. clarifai_utils/models/model_serving/model_config/model_types_config/text-to-text.yaml +18 -0
  82. clarifai_utils/models/model_serving/model_config/model_types_config/visual-classifier.yaml +18 -0
  83. clarifai_utils/models/model_serving/model_config/model_types_config/visual-detector.yaml +28 -0
  84. clarifai_utils/models/model_serving/model_config/model_types_config/visual-embedder.yaml +18 -0
  85. clarifai_utils/models/model_serving/model_config/model_types_config/visual-segmenter.yaml +18 -0
  86. clarifai_utils/models/model_serving/model_config/serializer.py +1 -1
  87. clarifai_utils/models/model_serving/models/default_test.py +22 -21
  88. clarifai_utils/models/model_serving/models/output.py +2 -2
  89. clarifai_utils/models/model_serving/pb_model_repository.py +2 -5
  90. clarifai_utils/runners/__init__.py +0 -0
  91. clarifai_utils/runners/example.py +33 -0
  92. clarifai_utils/schema/search.py +60 -0
  93. clarifai_utils/utils/logging.py +53 -3
  94. clarifai_utils/versions.py +1 -1
  95. clarifai_utils/workflows/__init__.py +0 -0
  96. clarifai_utils/workflows/export.py +68 -0
  97. clarifai_utils/workflows/utils.py +59 -0
  98. clarifai_utils/workflows/validate.py +67 -0
  99. clarifai/models/model_serving/envs/triton_conda-cp3.8-torch1.13.1-19f97078.yaml +0 -35
  100. clarifai/models/model_serving/envs/triton_conda-cp3.8-torch2.0.0-ce980f28.yaml +0 -51
  101. clarifai/models/model_serving/examples/image_classification/age_vit/triton_conda.yaml +0 -1
  102. clarifai/models/model_serving/examples/text_classification/xlm-roberta/triton_conda.yaml +0 -1
  103. clarifai/models/model_serving/examples/text_to_image/sd-v1.5/triton_conda.yaml +0 -1
  104. clarifai/models/model_serving/examples/text_to_text/bart-summarize/triton_conda.yaml +0 -1
  105. clarifai/models/model_serving/examples/visual_detection/yolov5x/triton_conda.yaml +0 -1
  106. clarifai/models/model_serving/examples/visual_embedding/vit-base/triton_conda.yaml +0 -1
  107. clarifai/models/model_serving/examples/visual_segmentation/segformer-b2/triton_conda.yaml +0 -1
  108. clarifai/models/model_serving/model_config/deploy.py +0 -75
  109. clarifai/models/model_serving/model_config/triton_config.py +0 -226
  110. clarifai_utils/models/model_serving/envs/triton_conda-cp3.8-torch1.13.1-19f97078.yaml +0 -35
  111. clarifai_utils/models/model_serving/envs/triton_conda-cp3.8-torch2.0.0-ce980f28.yaml +0 -51
  112. clarifai_utils/models/model_serving/examples/image_classification/age_vit/triton_conda.yaml +0 -1
  113. clarifai_utils/models/model_serving/examples/text_classification/xlm-roberta/triton_conda.yaml +0 -1
  114. clarifai_utils/models/model_serving/examples/text_to_image/sd-v1.5/triton_conda.yaml +0 -1
  115. clarifai_utils/models/model_serving/examples/text_to_text/bart-summarize/triton_conda.yaml +0 -1
  116. clarifai_utils/models/model_serving/examples/visual_detection/yolov5x/triton_conda.yaml +0 -1
  117. clarifai_utils/models/model_serving/examples/visual_embedding/vit-base/triton_conda.yaml +0 -1
  118. clarifai_utils/models/model_serving/examples/visual_segmentation/segformer-b2/triton_conda.yaml +0 -1
  119. clarifai_utils/models/model_serving/model_config/deploy.py +0 -75
  120. clarifai_utils/models/model_serving/model_config/triton_config.py +0 -226
  121. {clarifai-9.8.1.dist-info → clarifai-9.9.0.dist-info}/LICENSE +0 -0
  122. {clarifai-9.8.1.dist-info → clarifai-9.9.0.dist-info}/WHEEL +0 -0
  123. {clarifai-9.8.1.dist-info → clarifai-9.9.0.dist-info}/entry_points.txt +0 -0
  124. {clarifai-9.8.1.dist-info → clarifai-9.9.0.dist-info}/top_level.txt +0 -0
@@ -1,25 +1,28 @@
1
1
  clarifai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  clarifai/cli.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  clarifai/errors.py,sha256=F8YchDo3veKDthO0NQoPJ7_q2_QZEE0SwKZpUvcdadM,2651
4
- clarifai/versions.py,sha256=WCkz0e-1r3Vc-h8W-hK300_8B208Bv8LsjpxErDf17k,185
4
+ clarifai/versions.py,sha256=AnJWsDk31S7KD1kRO4b5RWUcFiqbkQUJy12-SBr41qU,185
5
5
  clarifai/auth/__init__.py,sha256=BgCHtnkmtDDcEZZaAyFbmf1kkdu0HMU5y3lHxGE04S0,236
6
6
  clarifai/auth/helper.py,sha256=QPxmhQ3k1JaCpchA6Ef2iy7kKTC6iX5wchHCO9JpIRE,13909
7
7
  clarifai/auth/register.py,sha256=2CMdBsoVLoTfjyksE6j7BM2tiEc73WKYvxnwDDgNn1k,536
8
8
  clarifai/auth/stub.py,sha256=KIzJZ8aRB1RzXJeWHDAx19HNdBsblPPHwYLfAkgI3rY,3779
9
9
  clarifai/client/__init__.py,sha256=ztWL7MGzuq4CI73p4eI3QK2VFxIQLyTHapzD_B0yoMU,664
10
- clarifai/client/app.py,sha256=Tf7LDODBvfZhimTa3_NF0edwmxEGK2ADtvj1czjj_fQ,18990
11
- clarifai/client/base.py,sha256=d6RmWwX1FfJSJLcIW9CdrhUXzrDOdybYwPIy_C00PfQ,4002
12
- clarifai/client/dataset.py,sha256=LZkmf9fs53NJJbF7Y8GpXwXx0o4vc5_4zeO5th1p5ZY,14190
13
- clarifai/client/input.py,sha256=tECtpePBCpPSsWbXbffQnjKTY5S-2CRD7gulZ1o_JmI,31163
10
+ clarifai/client/app.py,sha256=KC2G8WKxvrj6lLwGsqJLfXOAH_CC8i_2KLHqhszAFwM,22809
11
+ clarifai/client/base.py,sha256=vXiKTO1qA05DJnntgAADTk3GakCbq3NYVxbKw-A6DbM,4159
12
+ clarifai/client/dataset.py,sha256=lHCwDpOMXLJ8bfkFN0bnHg91r2Xp76i6aJNIxys1L0M,14371
13
+ clarifai/client/input.py,sha256=p-UyJr_Ach3PXN5vN6-apKQp4-RTCIllAOH3qMl4yHk,31396
14
14
  clarifai/client/lister.py,sha256=Zh1_k6-XWBVpnxIVezbqPzmZseOIEwmaV0ogcb4fEoQ,1460
15
- clarifai/client/model.py,sha256=S6uPT5yYfRaq7k-gu7FP8zs40Rs1sOWXxfoPUbRe7Ls,9104
16
- clarifai/client/module.py,sha256=1YIvgfbLFo83JLeW2Fe-Go5OxrBx10fVACalk6Gepak,3241
17
- clarifai/client/user.py,sha256=MZt-2jSwO6Ss_KCoP-5Mc8MFGJ7WgkXOrjPpX4uwBWg,4700
18
- clarifai/client/workflow.py,sha256=xkpfqd0dbSlkbIUS_E_WRhiiLzN2A6FXwWCD_8Lduc8,8164
15
+ clarifai/client/model.py,sha256=dVlqyguKrAa_L-ToZe1r5qYdMO4tdHgrsVJZig4zTws,12006
16
+ clarifai/client/module.py,sha256=mZzjnOiTnd2KIF8bkDZc8IhSJYBHDGyLLLVFwR3rbgU,3380
17
+ clarifai/client/runner.py,sha256=1JThpYSkriVreXCHykIBoOszrecdTBZeTeqvvd8g8TE,6722
18
+ clarifai/client/search.py,sha256=aV6KYibbx4oElGIIla7SderIWJ-5Xil1oAboVAfL85E,6617
19
+ clarifai/client/user.py,sha256=P783OxFX_Z6KiGIRXoIZjH_OScXp1x2vT65l14B4VQE,8816
20
+ clarifai/client/workflow.py,sha256=CiBKjhFtqwEv8hEcLR9omJLMf63MIUB5f4U3yzZ20Tc,9150
19
21
  clarifai/client/auth/__init__.py,sha256=7EwR0NrozkAUwpUnCsqXvE_p0wqx_SelXlSpKShKJK0,136
20
22
  clarifai/client/auth/helper.py,sha256=QPxmhQ3k1JaCpchA6Ef2iy7kKTC6iX5wchHCO9JpIRE,13909
21
23
  clarifai/client/auth/register.py,sha256=2CMdBsoVLoTfjyksE6j7BM2tiEc73WKYvxnwDDgNn1k,536
22
24
  clarifai/client/auth/stub.py,sha256=KIzJZ8aRB1RzXJeWHDAx19HNdBsblPPHwYLfAkgI3rY,3779
25
+ clarifai/constants/search.py,sha256=_g3S-JEvuygiFfMVK3cl4Ry9erZpt8Zo4ilXL2i3DAE,52
23
26
  clarifai/datasets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
27
  clarifai/datasets/export/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
28
  clarifai/datasets/export/dataset_inputs.py,sha256=agD6oJTNq4biCiqQd-HnXiAXFL6wGE4NjPsAvSHLYs8,7817
@@ -78,29 +81,26 @@ clarifai/datasets/upload/loaders/coco_captions.py,sha256=_amINtronjrhT6QOlIocTWu
78
81
  clarifai/datasets/upload/loaders/coco_detection.py,sha256=19JcwBxWWiwmmjpsgkipz8Ohv4r7plF_MNUgzwlRps8,5008
79
82
  clarifai/datasets/upload/loaders/coco_segmentation.py,sha256=iwh8Yhrl-1mv3K_Go5hSCVxMqPp0RH-k52U1ETDeYZs,6443
80
83
  clarifai/datasets/upload/loaders/imagenet_classification.py,sha256=BPT028Q2dvKryeBEnoG3bnhgWiqaDLf2CaRnq65XDhs,1928
81
- clarifai/datasets/upload/loaders/xview_detection.py,sha256=JMfny_ViL9y8gsmCnPwC-0kh0qIRC5uD_nJp6cajP-s,6056
84
+ clarifai/datasets/upload/loaders/xview_detection.py,sha256=J6qhd5OOI3GYBF9n8wA28nI03ft4edRDAqVpj7AMEEk,6054
82
85
  clarifai/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
83
86
  clarifai/models/api.py,sha256=fsE6eLZ0NgcvDpAQcRpT2DPataBTg0gIEOWxtoNeYXM,9555
84
- clarifai/models/model_serving/README.md,sha256=XdBYXR1n7gvONnlLU8O9sSOqkDIfHsbVuT2AnAmW9yE,8175
87
+ clarifai/models/model_serving/README.md,sha256=ykvdB4xFKVRKJRD34MgX31pUIhN-kAI9iM6jH2FT5bM,7941
85
88
  clarifai/models/model_serving/__init__.py,sha256=Nls28G-fedNw2oQZIkPQSN__TgjJXbG9RDzzuHIM0VI,575
86
- clarifai/models/model_serving/constants.py,sha256=JUXeo3Nla9UMA9U9yG-nbOfcRdEAwl30lj13Rp11xcg,196
87
- clarifai/models/model_serving/pb_model_repository.py,sha256=gqlyJi9PlIY_cwqd5Jd0dbjRnvw2mizkeC5IRTf--9I,3835
89
+ clarifai/models/model_serving/constants.py,sha256=KFASN7p9tq2JYSREGMCZ5YwS0x0Gy17lR8QrrL-z-9k,18
90
+ clarifai/models/model_serving/pb_model_repository.py,sha256=89uS4Dg4asy5EFHnLEtuQinCkv6w6DAH3ETZLopsHcM,3612
88
91
  clarifai/models/model_serving/cli/__init__.py,sha256=Nls28G-fedNw2oQZIkPQSN__TgjJXbG9RDzzuHIM0VI,575
89
- clarifai/models/model_serving/cli/deploy_cli.py,sha256=PVoMUbM-EQ0GGzws7XpPr59IwdBawIl71CM2jOoh-C4,3825
92
+ clarifai/models/model_serving/cli/deploy_cli.py,sha256=2U_Bq1O00Hqt_0l6bLdl84AnBiZm3I6ciXpYssVysO8,3776
90
93
  clarifai/models/model_serving/cli/model_zip.py,sha256=TVaHP_4l-WtRn9QJBkhZ7EzaSV9qyhyOUN_h2niNEeE,1866
91
- clarifai/models/model_serving/cli/repository.py,sha256=G9TXRrmtQqnXb0eBWhtCmfqeoGfmtTUrTW7TEY3F_Rc,2858
92
- clarifai/models/model_serving/docs/custom_config.md,sha256=-XRMKYvWN7KjQb4ns5LAh96643TZWTVakV3HVT0OL_s,1413
93
- clarifai/models/model_serving/docs/dependencies.md,sha256=mVOi8e4Fw90YKqMC6PTVJjaSp34hr-UyK8k44hnVUXE,1027
94
+ clarifai/models/model_serving/cli/repository.py,sha256=Piq1bo0NKItBjsmBBOK5Z7F16we9HHUkg_0g0q047Bo,2842
95
+ clarifai/models/model_serving/docs/custom_config.md,sha256=W1mMIRCI4dVP0czvq5fxOLq1hv0PCBMFRvtZtQwz8kU,1522
96
+ clarifai/models/model_serving/docs/dependencies.md,sha256=R9zyE2MbW98DsvFY2ABm4fik0fMPERxrQkhMKMDKpY4,721
94
97
  clarifai/models/model_serving/docs/model_types.md,sha256=fTslyPaHMJUxvq_tNy4ME-B-xXTFxmuQnRbAEhOjx10,1027
95
98
  clarifai/models/model_serving/docs/output.md,sha256=IFpwcwhEs7zjIxSDvtYFdmwXVwWal1s5yc-3ohyJEe4,2163
96
- clarifai/models/model_serving/envs/triton_conda-cp3.8-torch1.13.1-19f97078.yaml,sha256=xZxohsyNxpeWkkpa2FbIlmQ2n4vJIvqT4wX2tlfAPcc,1030
97
- clarifai/models/model_serving/envs/triton_conda-cp3.8-torch2.0.0-ce980f28.yaml,sha256=CcsWE59sfeXbKdSeMcxDkXfRGLo13CDHPQyH77VuK10,1484
98
99
  clarifai/models/model_serving/examples/README.md,sha256=lRfvJ53QRjajO2XA6DTpKYY4Kczx4n-HDDpCMpPeaUg,623
99
100
  clarifai/models/model_serving/examples/image_classification/README.md,sha256=hJlZ5YZgA85ozcynImqCpk863ij9a738dcBW08rdego,469
100
101
  clarifai/models/model_serving/examples/image_classification/age_vit/config.pbtxt,sha256=ASkLpkp2usoLsVXWCsEHP_R5-6cIug58VNLv9zDkx78,344
101
102
  clarifai/models/model_serving/examples/image_classification/age_vit/labels.txt,sha256=Rz-TfQDxDe-uah31ssBzqGPi4nMaAf-cm-HmYea2Wag,57
102
- clarifai/models/model_serving/examples/image_classification/age_vit/requirements.txt,sha256=Cfk5j5pVqJ16HFvxrXHoM3ak9Ss6DJ3VxAxsJ22EGUA,134
103
- clarifai/models/model_serving/examples/image_classification/age_vit/triton_conda.yaml,sha256=ieqLJd4bIPzdQKO5RHKMj8DJ4x0yEcyyEGEWM_u6cqU,46
103
+ clarifai/models/model_serving/examples/image_classification/age_vit/requirements.txt,sha256=jRtQHX2yn20Phl4mESZbT9b7N4YIKhnEasCWbUvwuWE,148
104
104
  clarifai/models/model_serving/examples/image_classification/age_vit/1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
105
105
  clarifai/models/model_serving/examples/image_classification/age_vit/1/inference.py,sha256=Iy7B3lAxyOXD6FjmTzoE4ec94zaty-ANjVVcQMYn4eY,2251
106
106
  clarifai/models/model_serving/examples/image_classification/age_vit/1/model.py,sha256=kC2gglV8QI8G4TNwjerDOO-Xm3UHtoMGeapLRpnKP8E,1941
@@ -110,8 +110,7 @@ clarifai/models/model_serving/examples/image_classification/age_vit/1/vit-age-cl
110
110
  clarifai/models/model_serving/examples/text_classification/README.md,sha256=5ydYOxqxzX6nTcVjJx1kgBPN8k4QXHtB4CU4qDTiids,556
111
111
  clarifai/models/model_serving/examples/text_classification/xlm-roberta/config.pbtxt,sha256=lql9vDtJJm0tWJMrWctgOhzluOuALnvOGjz6iQVlSH0,326
112
112
  clarifai/models/model_serving/examples/text_classification/xlm-roberta/labels.txt,sha256=FYuCvooWVAzsLBJ9ZrdQuvPWZACP70DPceR7za_aQ9k,26
113
- clarifai/models/model_serving/examples/text_classification/xlm-roberta/requirements.txt,sha256=Cfk5j5pVqJ16HFvxrXHoM3ak9Ss6DJ3VxAxsJ22EGUA,134
114
- clarifai/models/model_serving/examples/text_classification/xlm-roberta/triton_conda.yaml,sha256=ieqLJd4bIPzdQKO5RHKMj8DJ4x0yEcyyEGEWM_u6cqU,46
113
+ clarifai/models/model_serving/examples/text_classification/xlm-roberta/requirements.txt,sha256=jRtQHX2yn20Phl4mESZbT9b7N4YIKhnEasCWbUvwuWE,148
115
114
  clarifai/models/model_serving/examples/text_classification/xlm-roberta/1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
116
115
  clarifai/models/model_serving/examples/text_classification/xlm-roberta/1/inference.py,sha256=jzdWLJQ8K6h-CFrmZju-DTuQNPSRXhJTS3zXdNaiA7A,2173
117
116
  clarifai/models/model_serving/examples/text_classification/xlm-roberta/1/model.py,sha256=kC2gglV8QI8G4TNwjerDOO-Xm3UHtoMGeapLRpnKP8E,1941
@@ -121,49 +120,51 @@ clarifai/models/model_serving/examples/text_classification/xlm-roberta/1/twitter
121
120
  clarifai/models/model_serving/examples/text_embedding/README.md,sha256=MOcC3NXCmTx3-pfHT_Y4u13KhSXtApnIgcs0wN3hf5Q,476
122
121
  clarifai/models/model_serving/examples/text_to_image/README.md,sha256=fPz8NJYQBNwiqz25j_QaSJWm6nptZVpra6u_Mu2cuN0,463
123
122
  clarifai/models/model_serving/examples/text_to_image/sd-v1.5/config.pbtxt,sha256=XPod_q-5EgkSYL6AIAjcgNKf9y0SOrFUci4ezuyXArs,299
124
- clarifai/models/model_serving/examples/text_to_image/sd-v1.5/requirements.txt,sha256=1N0N5Z_Rdu7vOzXP0t-fgP04MA1QA7Y_83vmMa1R0qk,87
125
- clarifai/models/model_serving/examples/text_to_image/sd-v1.5/triton_conda.yaml,sha256=ieqLJd4bIPzdQKO5RHKMj8DJ4x0yEcyyEGEWM_u6cqU,46
123
+ clarifai/models/model_serving/examples/text_to_image/sd-v1.5/requirements.txt,sha256=KoiR_eJhEfRtdybQghtM8NmGgTPNsgDf0z8-iWHdtD4,101
126
124
  clarifai/models/model_serving/examples/text_to_image/sd-v1.5/1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
127
125
  clarifai/models/model_serving/examples/text_to_image/sd-v1.5/1/inference.py,sha256=ICVrU25goQonqQqeVM1q0FgJAoQQkhaFbyqExXC3IDY,1945
128
126
  clarifai/models/model_serving/examples/text_to_image/sd-v1.5/1/model.py,sha256=gLIP0dNXLD9lfBQmXEnGgjDo39QnCcu0PiFB37Wqxgg,1863
129
127
  clarifai/models/model_serving/examples/text_to_text/README.md,sha256=pKsUbV4Y8631YYkxLso7R7S4ZFUhrLMOjH80ry31BzI,831
130
128
  clarifai/models/model_serving/examples/text_to_text/bart-summarize/config.pbtxt,sha256=2Hjku9zefBJdQf7j8Eaf4r0mIznrYO6mOc9cO5YcJFI,284
131
- clarifai/models/model_serving/examples/text_to_text/bart-summarize/requirements.txt,sha256=Xg6N5JMDS2x1hdIJPNR_uH5Dgz5z1z20nDYrzXILEvc,54
132
- clarifai/models/model_serving/examples/text_to_text/bart-summarize/triton_conda.yaml,sha256=ieqLJd4bIPzdQKO5RHKMj8DJ4x0yEcyyEGEWM_u6cqU,46
129
+ clarifai/models/model_serving/examples/text_to_text/bart-summarize/requirements.txt,sha256=-zgX5gRiqwFPx2r9KsmpNmou4aQ9lpLsWzWxpVT7zL4,68
133
130
  clarifai/models/model_serving/examples/text_to_text/bart-summarize/1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
134
131
  clarifai/models/model_serving/examples/text_to_text/bart-summarize/1/inference.py,sha256=ekHKG926K3JOKUvFPdL0wuhPyTCpkCYsiY39YhchKaA,1847
135
132
  clarifai/models/model_serving/examples/text_to_text/bart-summarize/1/model.py,sha256=gLIP0dNXLD9lfBQmXEnGgjDo39QnCcu0PiFB37Wqxgg,1863
136
133
  clarifai/models/model_serving/examples/visual_detection/README.md,sha256=DXCdZIaA2Efw1A7kS_w995akWcvhgRPHAuWizyQYF9Q,521
137
134
  clarifai/models/model_serving/examples/visual_detection/yolov5x/config.pbtxt,sha256=51IL1nLzq-A5D053QQoxlcp14QHLqV1z85h-36tHEqA,520
138
135
  clarifai/models/model_serving/examples/visual_detection/yolov5x/labels.txt,sha256=rKdtMr4IEIfx8xzCj9315gNEh2NrZqWrLBn6JJApv3g,621
139
- clarifai/models/model_serving/examples/visual_detection/yolov5x/requirements.txt,sha256=esPt3gD-Qt38YV9812vz7BNSv6IuygUnUrWF2zMC29k,281
140
- clarifai/models/model_serving/examples/visual_detection/yolov5x/triton_conda.yaml,sha256=ieqLJd4bIPzdQKO5RHKMj8DJ4x0yEcyyEGEWM_u6cqU,46
136
+ clarifai/models/model_serving/examples/visual_detection/yolov5x/requirements.txt,sha256=MklRHZ8VOab-pLbmY_ifLUynqwf9891_8K6p4x7ffRk,286
141
137
  clarifai/models/model_serving/examples/visual_detection/yolov5x/1/inference.py,sha256=bF-hhNBIZTq5Fci182OkWnToAQMJz4W2tzRf9D4oIsQ,2906
142
138
  clarifai/models/model_serving/examples/visual_detection/yolov5x/1/model.py,sha256=kC2gglV8QI8G4TNwjerDOO-Xm3UHtoMGeapLRpnKP8E,1941
143
139
  clarifai/models/model_serving/examples/visual_embedding/README.md,sha256=RIYM4T9yY6cOgDc3P_VyId3nuR9XJVNIS_bEAwjkLHM,445
144
140
  clarifai/models/model_serving/examples/visual_embedding/vit-base/config.pbtxt,sha256=9bNKQ0n0etMZ5lQB4Psoezn80PPQwPhZDrUy7HvTP9s,305
145
- clarifai/models/model_serving/examples/visual_embedding/vit-base/requirements.txt,sha256=xROiuSdvOA8h7TJ2YxGo2hCJCOzH6h_IkaH-wBrfg7g,69
146
- clarifai/models/model_serving/examples/visual_embedding/vit-base/triton_conda.yaml,sha256=ieqLJd4bIPzdQKO5RHKMj8DJ4x0yEcyyEGEWM_u6cqU,46
141
+ clarifai/models/model_serving/examples/visual_embedding/vit-base/requirements.txt,sha256=dqvnIN60PvExFAcv9QoBq1siPYpl6GuXwQ-8VaruThs,83
147
142
  clarifai/models/model_serving/examples/visual_embedding/vit-base/1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
148
143
  clarifai/models/model_serving/examples/visual_embedding/vit-base/1/inference.py,sha256=P1JLU-N7IzYRzAjRlJjiqat0CF8M7Fzl_U6sfOBa2jM,1971
149
144
  clarifai/models/model_serving/examples/visual_embedding/vit-base/1/model.py,sha256=gLIP0dNXLD9lfBQmXEnGgjDo39QnCcu0PiFB37Wqxgg,1863
150
145
  clarifai/models/model_serving/examples/visual_segmentation/README.md,sha256=o_2hD1SL8yBaxpSZOfOrKIXCUhwKfCxns_JTJRYra5I,467
151
146
  clarifai/models/model_serving/examples/visual_segmentation/segformer-b2/config.pbtxt,sha256=qzavRmtEsjAATer8xn8iuZgA4UcRsaSQ0D7jyAZMnR4,356
152
147
  clarifai/models/model_serving/examples/visual_segmentation/segformer-b2/labels.txt,sha256=pvh3a6LoIabfklJeb9d_W19MsD2vpaMxWXBC4cWDZyI,140
153
- clarifai/models/model_serving/examples/visual_segmentation/segformer-b2/requirements.txt,sha256=xROiuSdvOA8h7TJ2YxGo2hCJCOzH6h_IkaH-wBrfg7g,69
154
- clarifai/models/model_serving/examples/visual_segmentation/segformer-b2/triton_conda.yaml,sha256=ieqLJd4bIPzdQKO5RHKMj8DJ4x0yEcyyEGEWM_u6cqU,46
148
+ clarifai/models/model_serving/examples/visual_segmentation/segformer-b2/requirements.txt,sha256=QR1T3Hcz_V4_nokb3ZfWOt_x0qp5g1IqaIbe_DEpQXA,83
155
149
  clarifai/models/model_serving/examples/visual_segmentation/segformer-b2/1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
156
150
  clarifai/models/model_serving/examples/visual_segmentation/segformer-b2/1/inference.py,sha256=Det16IapShTKwD6eEOFm7zczNF73ctoJ3sEb9EIY9nU,2119
157
151
  clarifai/models/model_serving/examples/visual_segmentation/segformer-b2/1/model.py,sha256=gLIP0dNXLD9lfBQmXEnGgjDo39QnCcu0PiFB37Wqxgg,1863
158
- clarifai/models/model_serving/model_config/__init__.py,sha256=Nls28G-fedNw2oQZIkPQSN__TgjJXbG9RDzzuHIM0VI,575
159
- clarifai/models/model_serving/model_config/deploy.py,sha256=4JJlor543ePredE88kR8vwvw25xpYb8ESctp7Jr7A_c,2801
160
- clarifai/models/model_serving/model_config/serializer.py,sha256=rr5Bc7vuExT6L1hoBOaMNKeESQ-qH4TzPleopvdthR4,4231
161
- clarifai/models/model_serving/model_config/triton_config.py,sha256=TJomcgXH5d53c0oLlma_G2-vvnQhIUzsDgv4dH-Uc7o,6752
152
+ clarifai/models/model_serving/model_config/__init__.py,sha256=wNmIBwhgQaYlVNKYdDqBgbgdnfP4e9vtqKoDbL4cf34,712
153
+ clarifai/models/model_serving/model_config/config.py,sha256=mCLi9TzU5MB1S2q9o9GONsQC0sZjmrbWdqb0Vq1nLNQ,7392
154
+ clarifai/models/model_serving/model_config/serializer.py,sha256=Am4jvIRye9c-D82wJ2bnjTV94E6tfoHWRXgY4gV8MSs,4224
155
+ clarifai/models/model_serving/model_config/model_types_config/text-classifier.yaml,sha256=zX2CGlyZr0Pg4eIEs3Du-Ymk14fSaMBZUFWVRcNGEm8,358
156
+ clarifai/models/model_serving/model_config/model_types_config/text-embedder.yaml,sha256=JUqKZOR10GhcnBTGNwYYtlO5omhsRrt1N-b7DCBlnfs,340
157
+ clarifai/models/model_serving/model_config/model_types_config/text-to-image.yaml,sha256=GepiAaDqSnfEMBoX6oJxgqHefbuUyQGE0RhvfBvnVW8,329
158
+ clarifai/models/model_serving/model_config/model_types_config/text-to-text.yaml,sha256=-224qTe32EadryifTPykwQouRsaLT-juwxzzv4Bnvw8,317
159
+ clarifai/models/model_serving/model_config/model_types_config/visual-classifier.yaml,sha256=vcqcPkJUt-q10UljxW6p4L2gfSOCiMipOPnCiCyausE,370
160
+ clarifai/models/model_serving/model_config/model_types_config/visual-detector.yaml,sha256=gqM7jR1Z1RCuGn3M4eGqs3viIjwaD88_L6t7wlSjB2I,720
161
+ clarifai/models/model_serving/model_config/model_types_config/visual-embedder.yaml,sha256=-kWXlM7m2DBSWcjBF1PWThKTXr8pE1eh8vuml0uBB3o,352
162
+ clarifai/models/model_serving/model_config/model_types_config/visual-segmenter.yaml,sha256=3sG07bc6j8Sbxeos8dU0cJH16ZFDkYd9FGkwXiIVyXc,411
162
163
  clarifai/models/model_serving/models/__init__.py,sha256=Nls28G-fedNw2oQZIkPQSN__TgjJXbG9RDzzuHIM0VI,575
163
- clarifai/models/model_serving/models/default_test.py,sha256=YVPFTqcpfn4eTXWWu8CHf6QYCWr7Y8ZkQRRuM0VwDOo,8895
164
+ clarifai/models/model_serving/models/default_test.py,sha256=M5CcmpNzB72GbbpvW8V5Rbe0g4Zng3Of0kvgUYNJ5Bs,9157
164
165
  clarifai/models/model_serving/models/inference.py,sha256=BpniZvGAVjMaJaBkZMQob3qqG1QKEA7px12WKzMBMeo,1639
165
166
  clarifai/models/model_serving/models/model_types.py,sha256=MI9liI-Isg1LxQbtOLhILMmK4vQZi5DunEY6GmftIZc,7069
166
- clarifai/models/model_serving/models/output.py,sha256=jzF6QMUXnQIWAeyY3-7qGfrr8HtFCth5wr10eSPyFdI,3852
167
+ clarifai/models/model_serving/models/output.py,sha256=iNOxlcLwF9I_1ULMTOdbjlx5VbjVByYbd1XNO9klg2g,3852
167
168
  clarifai/models/model_serving/models/pb_model.py,sha256=gLIP0dNXLD9lfBQmXEnGgjDo39QnCcu0PiFB37Wqxgg,1863
168
169
  clarifai/models/model_serving/models/test.py,sha256=dq2jZ1114YCj2Or_wQwZMneOMx_Ki2Ja6d-QrSbq9u0,1983
169
170
  clarifai/modules/README.md,sha256=mx8pVx6cPp-pP4LcFPT_nX3ngGmhygVK0WiXeD3cbIo,367
@@ -171,32 +172,42 @@ clarifai/modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
171
172
  clarifai/modules/css.py,sha256=kadCEunmyh5h2yf0-4aysE3ZcZ6qaQcxuAgDXS96yF8,2020
172
173
  clarifai/modules/pages.py,sha256=iOoM3RNRMgXlV0qBqcdQofxoXo2RuRQh0h9c9BIS0-I,1383
173
174
  clarifai/modules/style.css,sha256=j7FNPZVhLPj35vvBksAJ90RuX5sLuqzDR5iM2WIEhiA,6073
175
+ clarifai/runners/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
176
+ clarifai/runners/example.py,sha256=7pEzNjP7qnJsXWmGC3KMxM4xIJoN50MKa1uBDq5o1SE,1005
177
+ clarifai/schema/search.py,sha256=OX0mQWzDvf_CoVc_pL-y9MIr3RJ_NYhKKGY0CLX8BcM,1962
174
178
  clarifai/urls/helper.py,sha256=vFzGfV0GKc272pArQgEAGuPWTzxN1v9mp34sWSaErZ0,4208
175
179
  clarifai/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
176
- clarifai/utils/logging.py,sha256=8TSlJvTAT7trgIPmXMYAUmzGkEvRNgip-4A_mCdlhhY,1088
180
+ clarifai/utils/logging.py,sha256=LE7mLIJGdPAHQQP-oEHannYgjP_0BjXTG5YzuY3vTco,2911
177
181
  clarifai/utils/misc.py,sha256=YBYFGaGdGeBVLwYi1vfJsg4gCjt-S6MDswj4wiqChLw,732
182
+ clarifai/workflows/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
183
+ clarifai/workflows/export.py,sha256=vICRhIreqDSShxLKjHNM2JwzKsf1B4fdXB0ciMcA70k,1945
184
+ clarifai/workflows/utils.py,sha256=nGeB_yjVgUO9kOeKTg4OBBaBz-AwXI3m-huSVj-9W18,1924
185
+ clarifai/workflows/validate.py,sha256=iCEKBTtB-57uE3LVU7D4AI9BRHxIxahk3U1Ro08HP-o,2535
178
186
  clarifai_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
179
187
  clarifai_utils/cli.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
180
188
  clarifai_utils/errors.py,sha256=F8YchDo3veKDthO0NQoPJ7_q2_QZEE0SwKZpUvcdadM,2651
181
- clarifai_utils/versions.py,sha256=WCkz0e-1r3Vc-h8W-hK300_8B208Bv8LsjpxErDf17k,185
189
+ clarifai_utils/versions.py,sha256=AnJWsDk31S7KD1kRO4b5RWUcFiqbkQUJy12-SBr41qU,185
182
190
  clarifai_utils/auth/__init__.py,sha256=BgCHtnkmtDDcEZZaAyFbmf1kkdu0HMU5y3lHxGE04S0,236
183
191
  clarifai_utils/auth/helper.py,sha256=QPxmhQ3k1JaCpchA6Ef2iy7kKTC6iX5wchHCO9JpIRE,13909
184
192
  clarifai_utils/auth/register.py,sha256=2CMdBsoVLoTfjyksE6j7BM2tiEc73WKYvxnwDDgNn1k,536
185
193
  clarifai_utils/auth/stub.py,sha256=KIzJZ8aRB1RzXJeWHDAx19HNdBsblPPHwYLfAkgI3rY,3779
186
194
  clarifai_utils/client/__init__.py,sha256=ztWL7MGzuq4CI73p4eI3QK2VFxIQLyTHapzD_B0yoMU,664
187
- clarifai_utils/client/app.py,sha256=Tf7LDODBvfZhimTa3_NF0edwmxEGK2ADtvj1czjj_fQ,18990
188
- clarifai_utils/client/base.py,sha256=d6RmWwX1FfJSJLcIW9CdrhUXzrDOdybYwPIy_C00PfQ,4002
189
- clarifai_utils/client/dataset.py,sha256=LZkmf9fs53NJJbF7Y8GpXwXx0o4vc5_4zeO5th1p5ZY,14190
190
- clarifai_utils/client/input.py,sha256=tECtpePBCpPSsWbXbffQnjKTY5S-2CRD7gulZ1o_JmI,31163
195
+ clarifai_utils/client/app.py,sha256=KC2G8WKxvrj6lLwGsqJLfXOAH_CC8i_2KLHqhszAFwM,22809
196
+ clarifai_utils/client/base.py,sha256=vXiKTO1qA05DJnntgAADTk3GakCbq3NYVxbKw-A6DbM,4159
197
+ clarifai_utils/client/dataset.py,sha256=lHCwDpOMXLJ8bfkFN0bnHg91r2Xp76i6aJNIxys1L0M,14371
198
+ clarifai_utils/client/input.py,sha256=p-UyJr_Ach3PXN5vN6-apKQp4-RTCIllAOH3qMl4yHk,31396
191
199
  clarifai_utils/client/lister.py,sha256=Zh1_k6-XWBVpnxIVezbqPzmZseOIEwmaV0ogcb4fEoQ,1460
192
- clarifai_utils/client/model.py,sha256=S6uPT5yYfRaq7k-gu7FP8zs40Rs1sOWXxfoPUbRe7Ls,9104
193
- clarifai_utils/client/module.py,sha256=1YIvgfbLFo83JLeW2Fe-Go5OxrBx10fVACalk6Gepak,3241
194
- clarifai_utils/client/user.py,sha256=MZt-2jSwO6Ss_KCoP-5Mc8MFGJ7WgkXOrjPpX4uwBWg,4700
195
- clarifai_utils/client/workflow.py,sha256=xkpfqd0dbSlkbIUS_E_WRhiiLzN2A6FXwWCD_8Lduc8,8164
200
+ clarifai_utils/client/model.py,sha256=dVlqyguKrAa_L-ToZe1r5qYdMO4tdHgrsVJZig4zTws,12006
201
+ clarifai_utils/client/module.py,sha256=mZzjnOiTnd2KIF8bkDZc8IhSJYBHDGyLLLVFwR3rbgU,3380
202
+ clarifai_utils/client/runner.py,sha256=1JThpYSkriVreXCHykIBoOszrecdTBZeTeqvvd8g8TE,6722
203
+ clarifai_utils/client/search.py,sha256=aV6KYibbx4oElGIIla7SderIWJ-5Xil1oAboVAfL85E,6617
204
+ clarifai_utils/client/user.py,sha256=P783OxFX_Z6KiGIRXoIZjH_OScXp1x2vT65l14B4VQE,8816
205
+ clarifai_utils/client/workflow.py,sha256=CiBKjhFtqwEv8hEcLR9omJLMf63MIUB5f4U3yzZ20Tc,9150
196
206
  clarifai_utils/client/auth/__init__.py,sha256=7EwR0NrozkAUwpUnCsqXvE_p0wqx_SelXlSpKShKJK0,136
197
207
  clarifai_utils/client/auth/helper.py,sha256=QPxmhQ3k1JaCpchA6Ef2iy7kKTC6iX5wchHCO9JpIRE,13909
198
208
  clarifai_utils/client/auth/register.py,sha256=2CMdBsoVLoTfjyksE6j7BM2tiEc73WKYvxnwDDgNn1k,536
199
209
  clarifai_utils/client/auth/stub.py,sha256=KIzJZ8aRB1RzXJeWHDAx19HNdBsblPPHwYLfAkgI3rY,3779
210
+ clarifai_utils/constants/search.py,sha256=_g3S-JEvuygiFfMVK3cl4Ry9erZpt8Zo4ilXL2i3DAE,52
200
211
  clarifai_utils/datasets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
201
212
  clarifai_utils/datasets/export/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
202
213
  clarifai_utils/datasets/export/dataset_inputs.py,sha256=agD6oJTNq4biCiqQd-HnXiAXFL6wGE4NjPsAvSHLYs8,7817
@@ -255,29 +266,26 @@ clarifai_utils/datasets/upload/loaders/coco_captions.py,sha256=_amINtronjrhT6QOl
255
266
  clarifai_utils/datasets/upload/loaders/coco_detection.py,sha256=19JcwBxWWiwmmjpsgkipz8Ohv4r7plF_MNUgzwlRps8,5008
256
267
  clarifai_utils/datasets/upload/loaders/coco_segmentation.py,sha256=iwh8Yhrl-1mv3K_Go5hSCVxMqPp0RH-k52U1ETDeYZs,6443
257
268
  clarifai_utils/datasets/upload/loaders/imagenet_classification.py,sha256=BPT028Q2dvKryeBEnoG3bnhgWiqaDLf2CaRnq65XDhs,1928
258
- clarifai_utils/datasets/upload/loaders/xview_detection.py,sha256=JMfny_ViL9y8gsmCnPwC-0kh0qIRC5uD_nJp6cajP-s,6056
269
+ clarifai_utils/datasets/upload/loaders/xview_detection.py,sha256=J6qhd5OOI3GYBF9n8wA28nI03ft4edRDAqVpj7AMEEk,6054
259
270
  clarifai_utils/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
260
271
  clarifai_utils/models/api.py,sha256=fsE6eLZ0NgcvDpAQcRpT2DPataBTg0gIEOWxtoNeYXM,9555
261
- clarifai_utils/models/model_serving/README.md,sha256=XdBYXR1n7gvONnlLU8O9sSOqkDIfHsbVuT2AnAmW9yE,8175
272
+ clarifai_utils/models/model_serving/README.md,sha256=ykvdB4xFKVRKJRD34MgX31pUIhN-kAI9iM6jH2FT5bM,7941
262
273
  clarifai_utils/models/model_serving/__init__.py,sha256=Nls28G-fedNw2oQZIkPQSN__TgjJXbG9RDzzuHIM0VI,575
263
- clarifai_utils/models/model_serving/constants.py,sha256=JUXeo3Nla9UMA9U9yG-nbOfcRdEAwl30lj13Rp11xcg,196
264
- clarifai_utils/models/model_serving/pb_model_repository.py,sha256=gqlyJi9PlIY_cwqd5Jd0dbjRnvw2mizkeC5IRTf--9I,3835
274
+ clarifai_utils/models/model_serving/constants.py,sha256=KFASN7p9tq2JYSREGMCZ5YwS0x0Gy17lR8QrrL-z-9k,18
275
+ clarifai_utils/models/model_serving/pb_model_repository.py,sha256=89uS4Dg4asy5EFHnLEtuQinCkv6w6DAH3ETZLopsHcM,3612
265
276
  clarifai_utils/models/model_serving/cli/__init__.py,sha256=Nls28G-fedNw2oQZIkPQSN__TgjJXbG9RDzzuHIM0VI,575
266
- clarifai_utils/models/model_serving/cli/deploy_cli.py,sha256=PVoMUbM-EQ0GGzws7XpPr59IwdBawIl71CM2jOoh-C4,3825
277
+ clarifai_utils/models/model_serving/cli/deploy_cli.py,sha256=2U_Bq1O00Hqt_0l6bLdl84AnBiZm3I6ciXpYssVysO8,3776
267
278
  clarifai_utils/models/model_serving/cli/model_zip.py,sha256=TVaHP_4l-WtRn9QJBkhZ7EzaSV9qyhyOUN_h2niNEeE,1866
268
- clarifai_utils/models/model_serving/cli/repository.py,sha256=G9TXRrmtQqnXb0eBWhtCmfqeoGfmtTUrTW7TEY3F_Rc,2858
269
- clarifai_utils/models/model_serving/docs/custom_config.md,sha256=-XRMKYvWN7KjQb4ns5LAh96643TZWTVakV3HVT0OL_s,1413
270
- clarifai_utils/models/model_serving/docs/dependencies.md,sha256=mVOi8e4Fw90YKqMC6PTVJjaSp34hr-UyK8k44hnVUXE,1027
279
+ clarifai_utils/models/model_serving/cli/repository.py,sha256=Piq1bo0NKItBjsmBBOK5Z7F16we9HHUkg_0g0q047Bo,2842
280
+ clarifai_utils/models/model_serving/docs/custom_config.md,sha256=W1mMIRCI4dVP0czvq5fxOLq1hv0PCBMFRvtZtQwz8kU,1522
281
+ clarifai_utils/models/model_serving/docs/dependencies.md,sha256=R9zyE2MbW98DsvFY2ABm4fik0fMPERxrQkhMKMDKpY4,721
271
282
  clarifai_utils/models/model_serving/docs/model_types.md,sha256=fTslyPaHMJUxvq_tNy4ME-B-xXTFxmuQnRbAEhOjx10,1027
272
283
  clarifai_utils/models/model_serving/docs/output.md,sha256=IFpwcwhEs7zjIxSDvtYFdmwXVwWal1s5yc-3ohyJEe4,2163
273
- clarifai_utils/models/model_serving/envs/triton_conda-cp3.8-torch1.13.1-19f97078.yaml,sha256=xZxohsyNxpeWkkpa2FbIlmQ2n4vJIvqT4wX2tlfAPcc,1030
274
- clarifai_utils/models/model_serving/envs/triton_conda-cp3.8-torch2.0.0-ce980f28.yaml,sha256=CcsWE59sfeXbKdSeMcxDkXfRGLo13CDHPQyH77VuK10,1484
275
284
  clarifai_utils/models/model_serving/examples/README.md,sha256=lRfvJ53QRjajO2XA6DTpKYY4Kczx4n-HDDpCMpPeaUg,623
276
285
  clarifai_utils/models/model_serving/examples/image_classification/README.md,sha256=hJlZ5YZgA85ozcynImqCpk863ij9a738dcBW08rdego,469
277
286
  clarifai_utils/models/model_serving/examples/image_classification/age_vit/config.pbtxt,sha256=ASkLpkp2usoLsVXWCsEHP_R5-6cIug58VNLv9zDkx78,344
278
287
  clarifai_utils/models/model_serving/examples/image_classification/age_vit/labels.txt,sha256=Rz-TfQDxDe-uah31ssBzqGPi4nMaAf-cm-HmYea2Wag,57
279
- clarifai_utils/models/model_serving/examples/image_classification/age_vit/requirements.txt,sha256=Cfk5j5pVqJ16HFvxrXHoM3ak9Ss6DJ3VxAxsJ22EGUA,134
280
- clarifai_utils/models/model_serving/examples/image_classification/age_vit/triton_conda.yaml,sha256=ieqLJd4bIPzdQKO5RHKMj8DJ4x0yEcyyEGEWM_u6cqU,46
288
+ clarifai_utils/models/model_serving/examples/image_classification/age_vit/requirements.txt,sha256=jRtQHX2yn20Phl4mESZbT9b7N4YIKhnEasCWbUvwuWE,148
281
289
  clarifai_utils/models/model_serving/examples/image_classification/age_vit/1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
282
290
  clarifai_utils/models/model_serving/examples/image_classification/age_vit/1/inference.py,sha256=Iy7B3lAxyOXD6FjmTzoE4ec94zaty-ANjVVcQMYn4eY,2251
283
291
  clarifai_utils/models/model_serving/examples/image_classification/age_vit/1/model.py,sha256=kC2gglV8QI8G4TNwjerDOO-Xm3UHtoMGeapLRpnKP8E,1941
@@ -287,8 +295,7 @@ clarifai_utils/models/model_serving/examples/image_classification/age_vit/1/vit-
287
295
  clarifai_utils/models/model_serving/examples/text_classification/README.md,sha256=5ydYOxqxzX6nTcVjJx1kgBPN8k4QXHtB4CU4qDTiids,556
288
296
  clarifai_utils/models/model_serving/examples/text_classification/xlm-roberta/config.pbtxt,sha256=lql9vDtJJm0tWJMrWctgOhzluOuALnvOGjz6iQVlSH0,326
289
297
  clarifai_utils/models/model_serving/examples/text_classification/xlm-roberta/labels.txt,sha256=FYuCvooWVAzsLBJ9ZrdQuvPWZACP70DPceR7za_aQ9k,26
290
- clarifai_utils/models/model_serving/examples/text_classification/xlm-roberta/requirements.txt,sha256=Cfk5j5pVqJ16HFvxrXHoM3ak9Ss6DJ3VxAxsJ22EGUA,134
291
- clarifai_utils/models/model_serving/examples/text_classification/xlm-roberta/triton_conda.yaml,sha256=ieqLJd4bIPzdQKO5RHKMj8DJ4x0yEcyyEGEWM_u6cqU,46
298
+ clarifai_utils/models/model_serving/examples/text_classification/xlm-roberta/requirements.txt,sha256=jRtQHX2yn20Phl4mESZbT9b7N4YIKhnEasCWbUvwuWE,148
292
299
  clarifai_utils/models/model_serving/examples/text_classification/xlm-roberta/1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
293
300
  clarifai_utils/models/model_serving/examples/text_classification/xlm-roberta/1/inference.py,sha256=jzdWLJQ8K6h-CFrmZju-DTuQNPSRXhJTS3zXdNaiA7A,2173
294
301
  clarifai_utils/models/model_serving/examples/text_classification/xlm-roberta/1/model.py,sha256=kC2gglV8QI8G4TNwjerDOO-Xm3UHtoMGeapLRpnKP8E,1941
@@ -298,49 +305,51 @@ clarifai_utils/models/model_serving/examples/text_classification/xlm-roberta/1/t
298
305
  clarifai_utils/models/model_serving/examples/text_embedding/README.md,sha256=MOcC3NXCmTx3-pfHT_Y4u13KhSXtApnIgcs0wN3hf5Q,476
299
306
  clarifai_utils/models/model_serving/examples/text_to_image/README.md,sha256=fPz8NJYQBNwiqz25j_QaSJWm6nptZVpra6u_Mu2cuN0,463
300
307
  clarifai_utils/models/model_serving/examples/text_to_image/sd-v1.5/config.pbtxt,sha256=XPod_q-5EgkSYL6AIAjcgNKf9y0SOrFUci4ezuyXArs,299
301
- clarifai_utils/models/model_serving/examples/text_to_image/sd-v1.5/requirements.txt,sha256=1N0N5Z_Rdu7vOzXP0t-fgP04MA1QA7Y_83vmMa1R0qk,87
302
- clarifai_utils/models/model_serving/examples/text_to_image/sd-v1.5/triton_conda.yaml,sha256=ieqLJd4bIPzdQKO5RHKMj8DJ4x0yEcyyEGEWM_u6cqU,46
308
+ clarifai_utils/models/model_serving/examples/text_to_image/sd-v1.5/requirements.txt,sha256=KoiR_eJhEfRtdybQghtM8NmGgTPNsgDf0z8-iWHdtD4,101
303
309
  clarifai_utils/models/model_serving/examples/text_to_image/sd-v1.5/1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
304
310
  clarifai_utils/models/model_serving/examples/text_to_image/sd-v1.5/1/inference.py,sha256=ICVrU25goQonqQqeVM1q0FgJAoQQkhaFbyqExXC3IDY,1945
305
311
  clarifai_utils/models/model_serving/examples/text_to_image/sd-v1.5/1/model.py,sha256=gLIP0dNXLD9lfBQmXEnGgjDo39QnCcu0PiFB37Wqxgg,1863
306
312
  clarifai_utils/models/model_serving/examples/text_to_text/README.md,sha256=pKsUbV4Y8631YYkxLso7R7S4ZFUhrLMOjH80ry31BzI,831
307
313
  clarifai_utils/models/model_serving/examples/text_to_text/bart-summarize/config.pbtxt,sha256=2Hjku9zefBJdQf7j8Eaf4r0mIznrYO6mOc9cO5YcJFI,284
308
- clarifai_utils/models/model_serving/examples/text_to_text/bart-summarize/requirements.txt,sha256=Xg6N5JMDS2x1hdIJPNR_uH5Dgz5z1z20nDYrzXILEvc,54
309
- clarifai_utils/models/model_serving/examples/text_to_text/bart-summarize/triton_conda.yaml,sha256=ieqLJd4bIPzdQKO5RHKMj8DJ4x0yEcyyEGEWM_u6cqU,46
314
+ clarifai_utils/models/model_serving/examples/text_to_text/bart-summarize/requirements.txt,sha256=-zgX5gRiqwFPx2r9KsmpNmou4aQ9lpLsWzWxpVT7zL4,68
310
315
  clarifai_utils/models/model_serving/examples/text_to_text/bart-summarize/1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
311
316
  clarifai_utils/models/model_serving/examples/text_to_text/bart-summarize/1/inference.py,sha256=ekHKG926K3JOKUvFPdL0wuhPyTCpkCYsiY39YhchKaA,1847
312
317
  clarifai_utils/models/model_serving/examples/text_to_text/bart-summarize/1/model.py,sha256=gLIP0dNXLD9lfBQmXEnGgjDo39QnCcu0PiFB37Wqxgg,1863
313
318
  clarifai_utils/models/model_serving/examples/visual_detection/README.md,sha256=DXCdZIaA2Efw1A7kS_w995akWcvhgRPHAuWizyQYF9Q,521
314
319
  clarifai_utils/models/model_serving/examples/visual_detection/yolov5x/config.pbtxt,sha256=51IL1nLzq-A5D053QQoxlcp14QHLqV1z85h-36tHEqA,520
315
320
  clarifai_utils/models/model_serving/examples/visual_detection/yolov5x/labels.txt,sha256=rKdtMr4IEIfx8xzCj9315gNEh2NrZqWrLBn6JJApv3g,621
316
- clarifai_utils/models/model_serving/examples/visual_detection/yolov5x/requirements.txt,sha256=esPt3gD-Qt38YV9812vz7BNSv6IuygUnUrWF2zMC29k,281
317
- clarifai_utils/models/model_serving/examples/visual_detection/yolov5x/triton_conda.yaml,sha256=ieqLJd4bIPzdQKO5RHKMj8DJ4x0yEcyyEGEWM_u6cqU,46
321
+ clarifai_utils/models/model_serving/examples/visual_detection/yolov5x/requirements.txt,sha256=MklRHZ8VOab-pLbmY_ifLUynqwf9891_8K6p4x7ffRk,286
318
322
  clarifai_utils/models/model_serving/examples/visual_detection/yolov5x/1/inference.py,sha256=bF-hhNBIZTq5Fci182OkWnToAQMJz4W2tzRf9D4oIsQ,2906
319
323
  clarifai_utils/models/model_serving/examples/visual_detection/yolov5x/1/model.py,sha256=kC2gglV8QI8G4TNwjerDOO-Xm3UHtoMGeapLRpnKP8E,1941
320
324
  clarifai_utils/models/model_serving/examples/visual_embedding/README.md,sha256=RIYM4T9yY6cOgDc3P_VyId3nuR9XJVNIS_bEAwjkLHM,445
321
325
  clarifai_utils/models/model_serving/examples/visual_embedding/vit-base/config.pbtxt,sha256=9bNKQ0n0etMZ5lQB4Psoezn80PPQwPhZDrUy7HvTP9s,305
322
- clarifai_utils/models/model_serving/examples/visual_embedding/vit-base/requirements.txt,sha256=xROiuSdvOA8h7TJ2YxGo2hCJCOzH6h_IkaH-wBrfg7g,69
323
- clarifai_utils/models/model_serving/examples/visual_embedding/vit-base/triton_conda.yaml,sha256=ieqLJd4bIPzdQKO5RHKMj8DJ4x0yEcyyEGEWM_u6cqU,46
326
+ clarifai_utils/models/model_serving/examples/visual_embedding/vit-base/requirements.txt,sha256=dqvnIN60PvExFAcv9QoBq1siPYpl6GuXwQ-8VaruThs,83
324
327
  clarifai_utils/models/model_serving/examples/visual_embedding/vit-base/1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
325
328
  clarifai_utils/models/model_serving/examples/visual_embedding/vit-base/1/inference.py,sha256=P1JLU-N7IzYRzAjRlJjiqat0CF8M7Fzl_U6sfOBa2jM,1971
326
329
  clarifai_utils/models/model_serving/examples/visual_embedding/vit-base/1/model.py,sha256=gLIP0dNXLD9lfBQmXEnGgjDo39QnCcu0PiFB37Wqxgg,1863
327
330
  clarifai_utils/models/model_serving/examples/visual_segmentation/README.md,sha256=o_2hD1SL8yBaxpSZOfOrKIXCUhwKfCxns_JTJRYra5I,467
328
331
  clarifai_utils/models/model_serving/examples/visual_segmentation/segformer-b2/config.pbtxt,sha256=qzavRmtEsjAATer8xn8iuZgA4UcRsaSQ0D7jyAZMnR4,356
329
332
  clarifai_utils/models/model_serving/examples/visual_segmentation/segformer-b2/labels.txt,sha256=pvh3a6LoIabfklJeb9d_W19MsD2vpaMxWXBC4cWDZyI,140
330
- clarifai_utils/models/model_serving/examples/visual_segmentation/segformer-b2/requirements.txt,sha256=xROiuSdvOA8h7TJ2YxGo2hCJCOzH6h_IkaH-wBrfg7g,69
331
- clarifai_utils/models/model_serving/examples/visual_segmentation/segformer-b2/triton_conda.yaml,sha256=ieqLJd4bIPzdQKO5RHKMj8DJ4x0yEcyyEGEWM_u6cqU,46
333
+ clarifai_utils/models/model_serving/examples/visual_segmentation/segformer-b2/requirements.txt,sha256=QR1T3Hcz_V4_nokb3ZfWOt_x0qp5g1IqaIbe_DEpQXA,83
332
334
  clarifai_utils/models/model_serving/examples/visual_segmentation/segformer-b2/1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
333
335
  clarifai_utils/models/model_serving/examples/visual_segmentation/segformer-b2/1/inference.py,sha256=Det16IapShTKwD6eEOFm7zczNF73ctoJ3sEb9EIY9nU,2119
334
336
  clarifai_utils/models/model_serving/examples/visual_segmentation/segformer-b2/1/model.py,sha256=gLIP0dNXLD9lfBQmXEnGgjDo39QnCcu0PiFB37Wqxgg,1863
335
- clarifai_utils/models/model_serving/model_config/__init__.py,sha256=Nls28G-fedNw2oQZIkPQSN__TgjJXbG9RDzzuHIM0VI,575
336
- clarifai_utils/models/model_serving/model_config/deploy.py,sha256=4JJlor543ePredE88kR8vwvw25xpYb8ESctp7Jr7A_c,2801
337
- clarifai_utils/models/model_serving/model_config/serializer.py,sha256=rr5Bc7vuExT6L1hoBOaMNKeESQ-qH4TzPleopvdthR4,4231
338
- clarifai_utils/models/model_serving/model_config/triton_config.py,sha256=TJomcgXH5d53c0oLlma_G2-vvnQhIUzsDgv4dH-Uc7o,6752
337
+ clarifai_utils/models/model_serving/model_config/__init__.py,sha256=wNmIBwhgQaYlVNKYdDqBgbgdnfP4e9vtqKoDbL4cf34,712
338
+ clarifai_utils/models/model_serving/model_config/config.py,sha256=mCLi9TzU5MB1S2q9o9GONsQC0sZjmrbWdqb0Vq1nLNQ,7392
339
+ clarifai_utils/models/model_serving/model_config/serializer.py,sha256=Am4jvIRye9c-D82wJ2bnjTV94E6tfoHWRXgY4gV8MSs,4224
340
+ clarifai_utils/models/model_serving/model_config/model_types_config/text-classifier.yaml,sha256=zX2CGlyZr0Pg4eIEs3Du-Ymk14fSaMBZUFWVRcNGEm8,358
341
+ clarifai_utils/models/model_serving/model_config/model_types_config/text-embedder.yaml,sha256=JUqKZOR10GhcnBTGNwYYtlO5omhsRrt1N-b7DCBlnfs,340
342
+ clarifai_utils/models/model_serving/model_config/model_types_config/text-to-image.yaml,sha256=GepiAaDqSnfEMBoX6oJxgqHefbuUyQGE0RhvfBvnVW8,329
343
+ clarifai_utils/models/model_serving/model_config/model_types_config/text-to-text.yaml,sha256=-224qTe32EadryifTPykwQouRsaLT-juwxzzv4Bnvw8,317
344
+ clarifai_utils/models/model_serving/model_config/model_types_config/visual-classifier.yaml,sha256=vcqcPkJUt-q10UljxW6p4L2gfSOCiMipOPnCiCyausE,370
345
+ clarifai_utils/models/model_serving/model_config/model_types_config/visual-detector.yaml,sha256=gqM7jR1Z1RCuGn3M4eGqs3viIjwaD88_L6t7wlSjB2I,720
346
+ clarifai_utils/models/model_serving/model_config/model_types_config/visual-embedder.yaml,sha256=-kWXlM7m2DBSWcjBF1PWThKTXr8pE1eh8vuml0uBB3o,352
347
+ clarifai_utils/models/model_serving/model_config/model_types_config/visual-segmenter.yaml,sha256=3sG07bc6j8Sbxeos8dU0cJH16ZFDkYd9FGkwXiIVyXc,411
339
348
  clarifai_utils/models/model_serving/models/__init__.py,sha256=Nls28G-fedNw2oQZIkPQSN__TgjJXbG9RDzzuHIM0VI,575
340
- clarifai_utils/models/model_serving/models/default_test.py,sha256=YVPFTqcpfn4eTXWWu8CHf6QYCWr7Y8ZkQRRuM0VwDOo,8895
349
+ clarifai_utils/models/model_serving/models/default_test.py,sha256=M5CcmpNzB72GbbpvW8V5Rbe0g4Zng3Of0kvgUYNJ5Bs,9157
341
350
  clarifai_utils/models/model_serving/models/inference.py,sha256=BpniZvGAVjMaJaBkZMQob3qqG1QKEA7px12WKzMBMeo,1639
342
351
  clarifai_utils/models/model_serving/models/model_types.py,sha256=MI9liI-Isg1LxQbtOLhILMmK4vQZi5DunEY6GmftIZc,7069
343
- clarifai_utils/models/model_serving/models/output.py,sha256=jzF6QMUXnQIWAeyY3-7qGfrr8HtFCth5wr10eSPyFdI,3852
352
+ clarifai_utils/models/model_serving/models/output.py,sha256=iNOxlcLwF9I_1ULMTOdbjlx5VbjVByYbd1XNO9klg2g,3852
344
353
  clarifai_utils/models/model_serving/models/pb_model.py,sha256=gLIP0dNXLD9lfBQmXEnGgjDo39QnCcu0PiFB37Wqxgg,1863
345
354
  clarifai_utils/models/model_serving/models/test.py,sha256=dq2jZ1114YCj2Or_wQwZMneOMx_Ki2Ja6d-QrSbq9u0,1983
346
355
  clarifai_utils/modules/README.md,sha256=mx8pVx6cPp-pP4LcFPT_nX3ngGmhygVK0WiXeD3cbIo,367
@@ -348,13 +357,20 @@ clarifai_utils/modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
348
357
  clarifai_utils/modules/css.py,sha256=kadCEunmyh5h2yf0-4aysE3ZcZ6qaQcxuAgDXS96yF8,2020
349
358
  clarifai_utils/modules/pages.py,sha256=iOoM3RNRMgXlV0qBqcdQofxoXo2RuRQh0h9c9BIS0-I,1383
350
359
  clarifai_utils/modules/style.css,sha256=j7FNPZVhLPj35vvBksAJ90RuX5sLuqzDR5iM2WIEhiA,6073
360
+ clarifai_utils/runners/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
361
+ clarifai_utils/runners/example.py,sha256=7pEzNjP7qnJsXWmGC3KMxM4xIJoN50MKa1uBDq5o1SE,1005
362
+ clarifai_utils/schema/search.py,sha256=OX0mQWzDvf_CoVc_pL-y9MIr3RJ_NYhKKGY0CLX8BcM,1962
351
363
  clarifai_utils/urls/helper.py,sha256=vFzGfV0GKc272pArQgEAGuPWTzxN1v9mp34sWSaErZ0,4208
352
364
  clarifai_utils/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
353
- clarifai_utils/utils/logging.py,sha256=8TSlJvTAT7trgIPmXMYAUmzGkEvRNgip-4A_mCdlhhY,1088
365
+ clarifai_utils/utils/logging.py,sha256=LE7mLIJGdPAHQQP-oEHannYgjP_0BjXTG5YzuY3vTco,2911
354
366
  clarifai_utils/utils/misc.py,sha256=YBYFGaGdGeBVLwYi1vfJsg4gCjt-S6MDswj4wiqChLw,732
355
- clarifai-9.8.1.dist-info/LICENSE,sha256=mUqF_d12-qE2n41g7C5_sq-BMLOcj6CNN-jevr15YHU,555
356
- clarifai-9.8.1.dist-info/METADATA,sha256=E6l0Zpl6HlYKWH_qsJaKeSLawuZma3s6SfJ82_iZWaA,7689
357
- clarifai-9.8.1.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
358
- clarifai-9.8.1.dist-info/entry_points.txt,sha256=cna1vVlFIZZZlxHy1AbhooFGy-dw1W2xRfbOVRSWSKg,255
359
- clarifai-9.8.1.dist-info/top_level.txt,sha256=w3e8wx1HuK3_huGQosppv1_FSoNjBUd09KBKMK3wR-U,24
360
- clarifai-9.8.1.dist-info/RECORD,,
367
+ clarifai_utils/workflows/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
368
+ clarifai_utils/workflows/export.py,sha256=vICRhIreqDSShxLKjHNM2JwzKsf1B4fdXB0ciMcA70k,1945
369
+ clarifai_utils/workflows/utils.py,sha256=nGeB_yjVgUO9kOeKTg4OBBaBz-AwXI3m-huSVj-9W18,1924
370
+ clarifai_utils/workflows/validate.py,sha256=iCEKBTtB-57uE3LVU7D4AI9BRHxIxahk3U1Ro08HP-o,2535
371
+ clarifai-9.9.0.dist-info/LICENSE,sha256=mUqF_d12-qE2n41g7C5_sq-BMLOcj6CNN-jevr15YHU,555
372
+ clarifai-9.9.0.dist-info/METADATA,sha256=JILbZ86iNrkdJIpnpXb1RcsNwIpQ8sx7JOWv4xsI7KM,8339
373
+ clarifai-9.9.0.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
374
+ clarifai-9.9.0.dist-info/entry_points.txt,sha256=cna1vVlFIZZZlxHy1AbhooFGy-dw1W2xRfbOVRSWSKg,255
375
+ clarifai-9.9.0.dist-info/top_level.txt,sha256=w3e8wx1HuK3_huGQosppv1_FSoNjBUd09KBKMK3wR-U,24
376
+ clarifai-9.9.0.dist-info/RECORD,,
@@ -1,5 +1,8 @@
1
+ import os
2
+ import uuid
1
3
  from typing import Any, Dict, List
2
4
 
5
+ import yaml
3
6
  from clarifai_grpc.grpc.api import resources_pb2, service_pb2
4
7
  from clarifai_grpc.grpc.api.status import status_code_pb2
5
8
  from google.protobuf.json_format import MessageToDict
@@ -10,22 +13,30 @@ from clarifai.client.input import Inputs
10
13
  from clarifai.client.lister import Lister
11
14
  from clarifai.client.model import Model
12
15
  from clarifai.client.module import Module
16
+ from clarifai.client.search import Search
13
17
  from clarifai.client.workflow import Workflow
14
18
  from clarifai.errors import UserError
15
19
  from clarifai.urls.helper import ClarifaiUrlHelper
16
- from clarifai.utils.logging import get_logger
20
+ from clarifai.utils.logging import display_workflow_tree, get_logger
21
+ from clarifai.workflows.utils import get_yaml_output_info_proto, is_same_yaml_model
22
+ from clarifai.workflows.validate import validate
17
23
 
18
24
 
19
25
  class App(Lister, BaseClient):
20
26
  """App is a class that provides access to Clarifai API endpoints related to App information."""
21
27
 
22
- def __init__(self, url_init: str = "", app_id: str = "", **kwargs):
28
+ def __init__(self,
29
+ url_init: str = "",
30
+ app_id: str = "",
31
+ base_url: str = "https://api.clarifai.com",
32
+ **kwargs):
23
33
  """Initializes an App object.
24
34
 
25
35
  Args:
26
36
  url_init (str): The URL to initialize the app object.
27
37
  app_id (str): The App ID for the App to interact with.
28
- **kwargs: Additional keyword arguments to be passed to the ClarifaiAuthHelper.
38
+ base_url (str): Base API url. Default "https://api.clarifai.com"
39
+ **kwargs: Additional keyword arguments to be passed to the App.
29
40
  - name (str): The name of the app.
30
41
  - description (str): The description of the app.
31
42
  """
@@ -37,7 +48,7 @@ class App(Lister, BaseClient):
37
48
  self.kwargs = {**kwargs, 'id': app_id}
38
49
  self.app_info = resources_pb2.App(**self.kwargs)
39
50
  self.logger = get_logger(logger_level="INFO", name=__name__)
40
- BaseClient.__init__(self, user_id=self.user_id, app_id=self.id)
51
+ BaseClient.__init__(self, user_id=self.user_id, app_id=self.id, base=base_url)
41
52
  Lister.__init__(self)
42
53
 
43
54
  def list_datasets(self) -> List[Dataset]:
@@ -236,30 +247,96 @@ class App(Lister, BaseClient):
236
247
 
237
248
  return Model(model_id=model_id, **kwargs)
238
249
 
239
- def create_workflow(self, workflow_id: str, **kwargs) -> Workflow:
250
+ def create_workflow(self,
251
+ config_filepath: str,
252
+ generate_new_id: bool = False,
253
+ display: bool = True) -> Workflow:
240
254
  """Creates a workflow for the app.
241
255
 
242
256
  Args:
243
- workflow_id (str): The workflow ID for the workflow to create.
244
- **kwargs: Additional keyword arguments to be passed to the workflow.
257
+ config_filepath (str): The path to the yaml workflow config file.
258
+ generate_new_id (bool): If True, generate a new workflow ID.
259
+ display (bool): If True, display the workflow nodes tree.
245
260
 
246
261
  Returns:
247
- Workflow: A Workflow object for the specified workflow ID.
262
+ Workflow: A Workflow object for the specified workflow config.
248
263
 
249
264
  Example:
250
265
  >>> from clarifai.client.app import App
251
266
  >>> app = App(app_id="app_id", user_id="user_id")
252
- >>> workflow = app.create_workflow(workflow_id="workflow_id")
267
+ >>> workflow = app.create_workflow(config_filepath="config.yml")
253
268
  """
269
+ if not os.path.exists(config_filepath):
270
+ raise UserError(f"Workflow config file not found at {config_filepath}")
271
+
272
+ with open(config_filepath, 'r') as file:
273
+ data = yaml.safe_load(file)
274
+
275
+ data = validate(data)
276
+ workflow = data['workflow']
277
+
278
+ # Get all model objects from the workflow nodes.
279
+ all_models = []
280
+ for node in workflow['nodes']:
281
+ output_info = get_yaml_output_info_proto(node['model'].get('output_info', None))
282
+ try:
283
+ model = self.model(
284
+ node['model']['model_id'],
285
+ node['model'].get('model_version_id', ""),
286
+ user_id=node['model'].get('user_id', ""),
287
+ app_id=node['model'].get('app_id', ""))
288
+ except Exception as e:
289
+ if "Model does not exist" in str(e):
290
+ model = self.create_model(
291
+ **{k: v
292
+ for k, v in node['model'].items() if k != 'output_info'})
293
+ model_version = model.create_model_version(output_info=output_info)
294
+ all_models.append(model_version.model_info)
295
+ continue
296
+
297
+ # If the model version ID is specified, or if the yaml model is the same as the one in the api
298
+ if node["model"].get("model_version_id", "") or is_same_yaml_model(
299
+ model.model_info, node["model"]):
300
+ all_models.append(model.model_info)
301
+ else: # Create a new model version
302
+ model = model.create_model_version(output_info=output_info)
303
+ all_models.append(model.model_info)
304
+
305
+ # Convert nodes to resources_pb2.WorkflowNodes.
306
+ nodes = []
307
+ for i, yml_node in enumerate(workflow['nodes']):
308
+ node = resources_pb2.WorkflowNode(
309
+ id=yml_node['id'],
310
+ model=all_models[i],
311
+ )
312
+ # Add node inputs if they exist, i.e. if these nodes do not connect directly to the input.
313
+ if yml_node.get("node_inputs"):
314
+ for ni in yml_node.get("node_inputs"):
315
+ node.node_inputs.append(resources_pb2.NodeInput(node_id=ni['node_id']))
316
+ nodes.append(node)
317
+
318
+ workflow_id = workflow['id']
319
+ if generate_new_id:
320
+ workflow_id = str(uuid.uuid4())
321
+
322
+ # Create the workflow.
254
323
  request = service_pb2.PostWorkflowsRequest(
255
- user_app_id=self.user_app_id, workflows=[resources_pb2.Workflow(id=workflow_id, **kwargs)])
324
+ user_app_id=self.user_app_id,
325
+ workflows=[resources_pb2.Workflow(id=workflow_id, nodes=nodes)])
326
+
256
327
  response = self._grpc_request(self.STUB.PostWorkflows, request)
257
328
  if response.status.code != status_code_pb2.SUCCESS:
258
329
  raise Exception(response.status)
259
330
  self.logger.info("\nWorkflow created\n%s", response.status)
260
- kwargs.update({'app_id': self.id, 'user_id': self.user_id})
261
331
 
262
- return Workflow(workflow_id=workflow_id, **kwargs)
332
+ dict_response = MessageToDict(response, preserving_proto_field_name=True)
333
+ # Display the workflow nodes tree.
334
+ if display:
335
+ display_workflow_tree(dict_response["workflows"][0]["nodes"])
336
+ kwargs = self.process_response_keys(dict_response[list(dict_response.keys())[1]][0],
337
+ "workflow")
338
+
339
+ return Workflow(**kwargs)
263
340
 
264
341
  def create_module(self, module_id: str, description: str, **kwargs) -> Module:
265
342
  """Creates a module for the app.
@@ -329,8 +406,16 @@ class App(Lister, BaseClient):
329
406
  >>> app = App(app_id="app_id", user_id="user_id")
330
407
  >>> model_v1 = app.model(model_id="model_id", model_version_id="model_version_id")
331
408
  """
332
- request = service_pb2.GetModelRequest(
333
- user_app_id=self.user_app_id, model_id=model_id, version_id=model_version_id)
409
+ # Change user_app_id based on whether user_id or app_id is specified.
410
+ if kwargs.get("user_id") or kwargs.get("app_id"):
411
+ request = service_pb2.GetModelRequest(
412
+ user_app_id=self.auth_helper.get_user_app_id_proto(
413
+ kwargs.get("user_id"), kwargs.get("app_id")),
414
+ model_id=model_id,
415
+ version_id=model_version_id)
416
+ else:
417
+ request = service_pb2.GetModelRequest(
418
+ user_app_id=self.user_app_id, model_id=model_id, version_id=model_version_id)
334
419
  response = self._grpc_request(self.STUB.GetModel, request)
335
420
 
336
421
  if response.status.code != status_code_pb2.SUCCESS:
@@ -471,6 +556,22 @@ class App(Lister, BaseClient):
471
556
  raise Exception(response.status)
472
557
  self.logger.info("\nModule Deleted\n%s", response.status)
473
558
 
559
+ def search(self, **kwargs) -> Model:
560
+ """Returns a Search object for the user and app ID.
561
+
562
+ Args:
563
+ see the Search class in clarifai.client.search for kwargs.
564
+
565
+ Returns:
566
+ Search: A Search object for the user and app ID.
567
+
568
+ Example:
569
+ >>> from clarifai.client.app import App
570
+ >>> app = App(app_id="app_id", user_id="user_id")
571
+ >>> search_client = app.search(top_k=12, metric="euclidean")
572
+ """
573
+ return Search(**kwargs)
574
+
474
575
  def __getattr__(self, name):
475
576
  return getattr(self.app_info, name)
476
577
 
@@ -2,7 +2,7 @@ import os
2
2
  from datetime import datetime
3
3
  from typing import Any, Callable
4
4
 
5
- from google.protobuf.json_format import MessageToDict # noqa
5
+ from google.protobuf import struct_pb2
6
6
  from google.protobuf.timestamp_pb2 import Timestamp
7
7
  from google.protobuf.wrappers_pb2 import BoolValue
8
8
 
@@ -71,7 +71,10 @@ class BaseClient:
71
71
  try:
72
72
  datetime_obj = datetime.strptime(date_str, '%Y-%m-%dT%H:%M:%S.%fZ')
73
73
  except ValueError:
74
- datetime_obj = datetime.strptime(date_str, '%Y-%m-%dT%H:%M:%SZ')
74
+ try:
75
+ datetime_obj = datetime.strptime(date_str, '%Y-%m-%dT%H:%M:%SZ')
76
+ except ValueError:
77
+ return Timestamp()
75
78
 
76
79
  # Convert the datetime object to a Timestamp object
77
80
  timestamp_obj = Timestamp()
@@ -99,8 +102,12 @@ class BaseClient:
99
102
  value = self.convert_string_to_timestamp(value)
100
103
  elif key in ['workflow_recommended']:
101
104
  value = BoolValue(value=True)
102
- elif key in ['metadata', 'fields_map', 'params']:
103
- continue # TODO Fix "app_duplication",proto struct
105
+ elif key in ['fields_map', 'params']:
106
+ value_s = struct_pb2.Struct()
107
+ value_s.update(value)
108
+ value = value_s
109
+ elif key in ['metadata']:
110
+ continue # TODO Fix "app_duplication"
104
111
  new_item[key] = convert_recursive(value)
105
112
  return new_item
106
113
  elif isinstance(item, list):