# What is the directory that is storing the JniLib files?

**URL:** <https://forum.opensearch.org/t/what-is-the-directory-that-is-storing-the-jnilib-files/23878>\
**Category:** Machine Learning\
**Created:** [March 21, 2025, 5:48pm UTC](https://forum.opensearch.org/t/what-is-the-directory-that-is-storing-the-jnilib-files/23878 "2025-03-21T17:48:32Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![yeonghyeonKo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/yeonghyeonko/32/8202_2.png) [@yeonghyeonKo](https://forum.opensearch.org/u/yeonghyeonKo)\
**Post date:** [March 29, 2025, 2:33am UTC](https://forum.opensearch.org/t/what-is-the-directory-that-is-storing-the-jnilib-files/23878/6 "2025-03-29T02:33:34Z")

</div>

Sure! @dhrubo I hope it will help others who are not familiar with the same issue.

Have you read [my comment](https://forum.opensearch.org/t/how-can-we-deploy-ml-model-zip-to-nodes-locally-not-via-ssl-or-the-firewall/20438/9) that detours Firewall issues by pre-downloading **pytorch** and **tokenizers** folders and copying them to the `opensearch/data/ml_cache` path in a ML Node?  
(and then defining a docker image for new pods or using docker copy for existing pods)

I think there might be better way instead of the above because it still needs proxy CDN or downloading files from public internet to your air-gapped environments. In my point of view, it’s quite complicated for developers who just want to follow a guide.

@dhrubo If you still think the above way is still valuable, I will create a PR as much detail as in [ml-commons/docs/tutorials at main · opensearch-project/ml-commons · GitHub](https://github.com/opensearch-project/ml-commons/tree/main/docs/tutorials)

---

_[View the full topic](https://forum.opensearch.org/t/what-is-the-directory-that-is-storing-the-jnilib-files/23878)._
