Skip to content

Commit baa96cd

Browse files
committed
adding conda
1 parent 2e4e21f commit baa96cd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/source/user_guide/model_registration/frameworks/huggingfacemodel.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,16 @@ Load a `ImageSegmentationPipeline <https://huggingface.co/docs/transformers/main
3939
'label': 'cat',
4040
'mask': <PIL.Image.Image image mode=L size=960x686>}]
4141
42+
Prepare a Custom Conda Pack
43+
===========================
44+
45+
You can start with the PyTorch conda pack with slug ``pytorch110_p38_cpu_v1``.
46+
47+
#. Run ``pip install timm`` since image segmentation model requires ``timm``.
48+
#. Then use ``odsc conda init -b your_bucket_name -n bucket_namespace`` to config where to store the published conda pack if you have not done this yet.
49+
#. Lastly, run ``odsc conda publish -s pytorch110_p38_cpu_v1``.
50+
#. Once it's done, you can find the path of the pusblished conda pack under the Environment Explorer ``Published`` tab. Refresh the page if you cannot find it.
51+
4252
Prepare Model Artifact
4353
======================
4454

0 commit comments

Comments
 (0)