Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LSTM to ngen extern #1

Closed
arpita0911patel opened this issue Oct 31, 2024 · 2 comments
Closed

Add LSTM to ngen extern #1

arpita0911patel opened this issue Oct 31, 2024 · 2 comments

Comments

@arpita0911patel
Copy link
Member

https://github.com/CIROH-UA/lstm

@JoshCu
Copy link
Collaborator

JoshCu commented Nov 26, 2024

added in add_lstm_extern which was merged into #2 too.

adding to ngiab is just these two lines in the final image stage

COPY --from=ngen_clone /ngen/ngen/extern/lstm/lstm /ngen/ngen/extern/lstm
RUN uv pip install --no-cache-dir /ngen/ngen/extern/lstm --extra-index-url https://download.pytorch.org/whl/cpu

the extra index parameter installs cpu only pytorch which reduces the image size by ~5Gb

@JoshCu
Copy link
Collaborator

JoshCu commented Dec 17, 2024

now also in the ngiab branch which will be used for nextgen in a box from now on

@JoshCu JoshCu closed this as completed Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants