Skip to content

Commit 22c5ec0

Browse files
Update AgentQnA and DocSum for Gaudi Compatibility
Signed-off-by: Mahathi Vatsal <mahathi.vatsal.salopanthula@intel.com>
1 parent 13dd27e commit 22c5ec0

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

AgentQnA/retrieval_tool/run_ingest_data.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,14 @@ port=6007
66
FILEDIR=${WORKDIR}/GenAIExamples/AgentQnA/example_data/
77
FILENAME=test_docs_music.jsonl
88

9+
# Check if packages are installed
10+
for package in "${packages[@]}"; do
11+
if pip freeze | grep -q "$package="; then
12+
echo "$package is installed"
13+
else
14+
echo "$package is not installed"
15+
pip install --no-cache-dir "$package"
16+
fi
17+
done
18+
919
python3 index_data.py --filedir ${FILEDIR} --filename ${FILENAME} --host_ip $host_ip --port $port

DocSum/docker_compose/intel/hpu/gaudi/compose.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,6 @@ services:
107107
networks:
108108
default:
109109
driver: bridge
110+
111+
volumes:
112+
data:

0 commit comments

Comments
 (0)