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

Make VM smaller: switch VCM to Python3 #111

Open
riebling opened this issue Feb 6, 2019 · 0 comments
Open

Make VM smaller: switch VCM to Python3 #111

riebling opened this issue Feb 6, 2019 · 0 comments

Comments

@riebling
Copy link
Contributor

riebling commented Feb 6, 2019

With a few code changes, VCM can use Python3 (in the virtualenv named 'divime' installed at provision time, configured by environment.yml) specifically the Torch package installed already there for Yunitator & Noisemes to use... thus eliminating the need to install Torch twice (once for Python2, once for Python3).

This will make the VM slightly smaller & faster to set up. Slightly.

Things that'd have to happen:

  • source activate divime in the VCM run script
  • don't change PATH in VCM run script
  • switch python2 to python3 in the VCM run script
  • add the gerbils, I mean pandas package to environment.yml (needed by vcm)
  • eliminate the lines in bootstrap.sh that install torch and cuda
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

1 participant