-
Notifications
You must be signed in to change notification settings - Fork 2
Revise README with installation and usage details #34
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
base: master
Are you sure you want to change the base?
Conversation
Alternative version of the README. This is not at all meant to be a drop-in replacement for the current readme, but rather a starting point for discussion and a push for better documentation. Let's discuss what to carry over to the README.
| ``` | ||
| docker build -t project-name -f docker/Dockerfile . | ||
| docker run --gpus all -it \ | ||
| -v $(pwd):/workspace \ | ||
| project-name | ||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want the user to build their own Docker image? We have a CI that builds a new one on every push on the master (for both ARM64 and AMD64 architecture), if a user wants to revert back to an old version of the master, they can do so by updating the tag. It would be better for them to just:
| ``` | |
| docker build -t project-name -f docker/Dockerfile . | |
| docker run --gpus all -it \ | |
| -v $(pwd):/workspace \ | |
| project-name | |
| ``` | |
| # Uncomment for ARM64 architecture | |
| # docker pull michelducartier24/multimeditron-git:latest-arm64 | |
| docker pull michelducartier24/multimeditron-git:latest-amd64 |
|
|
||
| If Docker is not used, install dependencies manually: | ||
| ``` | ||
| pip install -r requirements.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| pip install -r requirements.txt | |
| pip install ".[flash-attn]" |
| Aggregate and post-process results: | ||
| ```bash | ||
| python scripts/analyze.py | ||
| ``` | ||
|
|
||
| Generate plots and figures: | ||
| ```bash | ||
| python scripts/plot.py | ||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't really have a lot of plots and figures at the moment (just tables), but maybe for the future, it would be great
Alternative version of the README.
This is not at all meant to be a drop-in replacement for the current readme, but rather a starting point for discussion and a push for better documentation.
Let's discuss what to carry over to the README.