Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Prevent chmod errors in log after unexpected triton restart (#36)
* fix: Prevent chmod errors in log after unexpected triton restart Motivation Errors were observed by @tedhtchang in this situation: chmod: changing permissions of '/models/_triton_models/simple-string-1180__ksp-a53a19561f/config.pbtxt': Operation not permitted chmod: changing permissions of '/models/_triton_models/simple-string-167__ksp-a53a19561f': Operation not permitted chmod: changing permissions of '/models/_triton_models/simple-string-167__ksp-a53a19561f/config.pbtxt': Operation not permitted ... Since the /models/_triton_models dir contains files created by the adapter container which may run as a different user. Only the dir itself needs permissions set so that the adapter can write to it after it's first created. Modifications Remove -R from chmod command in triton-2.x ServingRuntime yaml. Result Avoid unnecessary errors in the log * Update unit test fixture accordingly
- Loading branch information