Skip to content

Commit

Permalink
Add support for OpenBLAS
Browse files Browse the repository at this point in the history
Signed-off-by: Lazar Cvetković <[email protected]>
  • Loading branch information
cvetkovic committed Nov 14, 2024
1 parent 451b3b0 commit 79f27e6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/preprocessing_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements.txt') }}

- name: Install requirements
run: pip install -r ./requirements.txt
run: sudo apt install libopenblas-dev && pip install -r ./requirements.txt

- name: Preprocessing trace
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('tools/trace_synthesizer/requirements.txt') }}

- name: Install requirements
run: pip install -r ./tools/trace_synthesizer/requirements.txt
run: sudo apt install libopenblas-dev && pip install -r ./tools/trace_synthesizer/requirements.txt

- name: Build loader
run: go build cmd/loader.go
Expand All @@ -65,7 +65,7 @@ jobs:
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements.txt') }}

- name: Install requirements
run: pip install -r ./requirements.txt
run: sudo apt install libopenblas-dev && pip install -r ./requirements.txt

- name: Run loader tests
run: go test -v -cover -race ./pkg/${{ matrix.module }}
2 changes: 1 addition & 1 deletion scripts/setup/create_multinode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ function extend_CIDR() {
function clone_loader() {
server_exec $1 "git clone --depth=1 --branch=$LOADER_BRANCH $LOADER_REPO loader"
server_exec $1 'echo -en "\n\n" | sudo apt-get install -y python3-pip python-dev'
server_exec $1 'cd; cd loader; pip install -r config/requirements.txt'
server_exec $1 'cd; cd loader; sudo apt install libopenblas-dev && pip install -r config/requirements.txt'
}

function copy_k8s_certificates() {
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup/create_singlenode_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ server_exec() {
# Get loader and dependencies.
server_exec "git clone --branch=$LOADER_BRANCH $LOADER_REPO loader"
server_exec 'echo -en "\n\n" | sudo apt-get install python3-pip python-dev'
server_exec 'cd; cd loader; pip install -r config/requirements.txt'
server_exec 'cd; cd loader; sudo apt install libopenblas-dev && pip install -r config/requirements.txt'

server_exec '~/loader/scripts/setup/rewrite_yaml_files.sh'

Expand Down

0 comments on commit 79f27e6

Please sign in to comment.