Skip to content

Conversation

@will-cromar
Copy link
Collaborator

  • Add optional dependencies for CPU, CUDA, and TPU. Use jax[cuda12] instead of jax[cuda12_pip] since it doesn't require an extra index.
  • Make use of global options in requirements.txts to install the CPU version of torch automatically.
  • Use tensorflow-cpu because it's much smaller
  • Recommend using VSCode to set up virtual env
  • Update package dependencies
  • Update name of test_requirements to match dev-requirements
  • Add ruff tool setup and adjust to be more like yapf settings in main package. ruff check shows 42 errors, so we can start fixing these in future PRs.

Tested locally by deleting my old environment and creating a new one with these instructions.

@will-cromar will-cromar requested a review from qihqi April 9, 2024 22:56
Copy link
Collaborator

@qihqi qihqi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is awesome. Thanks!

@qihqi qihqi merged commit 89efd17 into master Apr 24, 2024
@qihqi qihqi deleted the wcromar/tx2-simplify-setup branch April 24, 2024 15:34
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.

3 participants