Organize set_env.sh paths and update README.md (#1920)

Signed-off-by: ZePan110 <ze.pan@intel.com>
Co-authored-by: chen, suyue <suyue.chen@intel.com>
Co-authored-by: Ying Hu <ying.hu@intel.com>
This commit is contained in:
ZePan110
2025-05-20 10:05:00 +08:00
committed by GitHub
parent 09d93ecce6
commit 8a9f3f4351
20 changed files with 34 additions and 30 deletions

View File

@@ -42,9 +42,9 @@ Some HuggingFace resources, such as some models, are only accessible if you have
To set up environment variables for deploying Translation service, source the set_env.sh script in this directory:
```
cd ../../../
cd ../../
source set_env.sh
cd intel/cpu/xeon
cd cpu/xeon
```
The set_env.sh script will prompt for required and optional environment variables used to configure the Translation service. If a value is not entered, the script will use a default value for the same. It will also generate a env file defining the desired configuration. Consult the section on [Translation Service configuration](#translation-service-configuration) for information on how service specific configuration parameters affect deployments.

View File

@@ -42,9 +42,9 @@ Some HuggingFace resources, such as some models, are only accessible if you have
To set up environment variables for deploying Translation service, source the _set_env.sh_ script in this directory:
```
cd ../../../
cd ../../
source set_env.sh
cd intel/hpu/gaudi/
cd hpu/gaudi/
```
The set_env.sh script will prompt for required and optional environment variables used to configure the Translation service. If a value is not entered, the script will use a default value for the same. It will also generate a env file defining the desired configuration. Consult the section on [Translation Service configuration](#translation-service-configuration) for information on how service specific configuration parameters affect deployments.

View File

@@ -2,7 +2,7 @@
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
pushd "../../" > /dev/null
pushd "../../../" > /dev/null
source .set_env.sh
popd > /dev/null