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

Manually detect and force CUDA version passed into install_v2.sh #226

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

kevinaboos
Copy link
Contributor

@kevinaboos kevinaboos commented Aug 20, 2024

The install_v2.sh script does not properly detect CUDA installations at the moment (see #255), so we do the detection ourselves in moxin-runner and then pass in the correctly-detected CUDA version as an argument into that bash script.

Partially addresses #225.

Also, this PR allows moxin-runner to behave as a general cargo command runner:

cargo run -p moxin-runner -- cargo build --release

which saves Moxin devs a lot of time & effort because they don't have to manually install WasmEdge and set up all the necessary environment variables. Let moxin-runner do it for you!

Also closes #207.

The `install_v2.sh` script does not properly detect CUDA installations
at the moment (see moxin-org#255), so we do the detection ourselves in
`moxin-runner` and then pass in the correctly-detected CUDA version
as an argument into that bash script.

Partially addresses moxin-org#255.
@kevinaboos
Copy link
Contributor Author

kevinaboos commented Aug 20, 2024

Still needs some testing, marking as draft until I can test it thoroughly.

ready now.

@kevinaboos kevinaboos marked this pull request as draft August 20, 2024 17:58
For example, a Moxin developer can save time and effort of
setting up their own WasmEdge installation properly
by relying on `moxin-runner` to do it for them:
```sh
cargo run -p moxin-runner -- cargo build
```
All other cargo commands are supported too!
@kevinaboos kevinaboos marked this pull request as ready for review August 20, 2024 21:03
@jmbejar jmbejar merged commit d6110a8 into moxin-org:dev Aug 20, 2024
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants