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

Added pixi for easy install + run #1

Merged
merged 2 commits into from
Apr 15, 2024
Merged

Conversation

pablovela5620
Copy link
Contributor

Congratulations on the release!

I'm in the process of seeing how to add DSINE as an alternative surface normal network. In the meantime, I wanted to add Pixi as an alternative installation for this repo as it makes installation + dependency management MUCH easier.

Why?

Pixi combines the conda and pypi environment in a reproducible and easy way, The biggest benefit is that instead of having to go through the long process of Nerfstudio install, having a pixi.toml file takes care of the entire installation with a single command (include cuda dependencies!!). It also includes a .lock file to make sure the environment is reproducible.

How to test

I added a small task that downloads omnidata checkpoints + mushroom sequence + starts training dn-splatter model,
all that's required is having pixi installed (more info here, tldr run curl -fsSL https://pixi.sh/install.sh | bash and source your shell)

  1. Install Pixi
  2. pixi run train-example

To use all commands as if inside a conda environment (that is what pixi uses under the hood) just use
pixi shell
This will install everything and activate the environment

I have personally tested this on two different machines (one with a 1080ti and another one with an A6000) and has worked fine for both!

Let me know if this is helpful or any other questions. Also incase you don't want to add a pixi.toml file Pixi recently added support for using pyproject.toml without needing a pixi.toml but I haven't quite gotten that working yet

@maturk
Copy link
Owner

maturk commented Apr 15, 2024

@pablovela5620, sorry for taking so long the check this out. It's pretty cool,I think this is a good alternative installation for those who are more used to it. Thanks for your effort :)

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