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:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user