Skip to content

Commit

Permalink
[smith-waterman] Support Intel OFS IA-420F/R0 and OFS IA-840F/R0 FPGA…
Browse files Browse the repository at this point in the history
… platforms
  • Loading branch information
eliaskoromilas committed Feb 8, 2024
1 parent 2ec7d67 commit c49e4e2
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/smith-waterman/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ sources:
- https://docs.inaccel.com
- https://github.com/inaccel/marketplace
type: application
version: 1.1.3
version: 1.1.4
3 changes: 2 additions & 1 deletion charts/smith-waterman/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ RUN apt update \
&& rm --force --recursive /var/lib/apt/lists/*

RUN pip install --no-cache-dir \
gradio
gradio==3.20.* \
pydantic==1.*

RUN curl -sS https://setup.inaccel.com/repository | sh \
&& apt install --yes coral-api \
Expand Down
2 changes: 2 additions & 0 deletions charts/smith-waterman/questions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ questions:
- group: Platform
label: ' '
options:
- Intel OFS IA-420F/R0 (06dd1e32478657c38c353dc048cdb7e0)
- Intel OFS IA-840F/R0 (18f573d96298516d891fc9b6261e3a73)
- Intel PAC A10 (38d782e3b6125343b9342433e348ac4c)
- Intel PAC S10 (9346116da52d5ca8b06aa9a389ef7c8d)
required: true
Expand Down
6 changes: 3 additions & 3 deletions charts/smith-waterman/templates/_platform.tpl
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{{/* vim: set filetype=mustache: */}}

{{- define "platformName" -}}
{{- regexReplaceAll "^([^ ]+)[ /](.*)[ /]([^ ]+)$" $.Values.platform "${2}" | snakecase -}}
{{- regexReplaceAll "^([^ /]+)[ /](.*)[ /]([^ /]+)$" $.Values.platform "${2}" | lower | replace " " "_" | replace "-" "" | replace "/" "" -}}
{{- end -}}

{{- define "platformVendor" -}}
{{- regexReplaceAll "^([^ ]+)[ /](.*)[ /]([^ ]+)$" $.Values.platform "${1}" | lower -}}
{{- regexReplaceAll "^([^ /]+)[ /](.*)[ /]([^ /]+)$" $.Values.platform "${1}" | lower -}}
{{- end -}}

{{- define "platformVersion" -}}
{{- regexReplaceAll "^([^ ]+)[ /](.*)[ /]([^ ]+)$" $.Values.platform "${3}" | trimAll "()" -}}
{{- regexReplaceAll "^([^ /]+)[ /](.*)[ /]([^ /]+)$" $.Values.platform "${3}" | trimAll "()" -}}
{{- end -}}
2 changes: 2 additions & 0 deletions charts/smith-waterman/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ autoscaling:
# scaleToZeroPodRetentionPeriod: ...
# target: ...
bitstreams:
intel/ofs_ia420fr0/06dd1e32478657c38c353dc048cdb7e0: com/inaccel/klib/sw/2.0/1align
intel/ofs_ia840fr0/18f573d96298516d891fc9b6261e3a73: com/inaccel/klib/sw/2.0/1align
intel/pac_a10/38d782e3b6125343b9342433e348ac4c: com/inaccel/klib/sw/2.0/1align
intel/pac_s10/9346116da52d5ca8b06aa9a389ef7c8d: com/inaccel/klib/sw/2.0/1align
# cpu: ...
Expand Down

0 comments on commit c49e4e2

Please sign in to comment.