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

Update colab triage for triage 5.2 #910

Open
shaycrk opened this issue Oct 4, 2022 · 0 comments
Open

Update colab triage for triage 5.2 #910

shaycrk opened this issue Oct 4, 2022 · 0 comments

Comments

@shaycrk
Copy link
Contributor

shaycrk commented Oct 4, 2022

Unfortunately, colab uses python 3.7 by default so pip install triage installs triage 5.1.1, the latest version to support this version of python. To use newer triage versions here, we'll need:

  • Install (and tell colab to use) and updated python version (should be first thing in the notebook). This stackoverflow looks like a start, but will only update the python at the command line, not the colab kernel, so we might need to do a bit of experimentation here. Maybe this, though unfortunately conda-based and requires reloading the page (simply restarting the runtime isn't enough)?
  • Update the config in the notebook to v8 (and check if other things need to change)

If getting the colab runtime to use a newer python proves too troublesome, another option might be to actually store the config.yaml, database.yaml, and run.py to disk and run them with a newer python at the commandline via the first method (I believe the stdout logs should still show up in the notebook). Then, interrogating the results in the database can still be done with the python 3.7 kernel. This might get messy, however, with the audition piece.

Since it's meant as an easy introduction, we may also want to take advantage of some of the improvements to the config in newer versions of triage, such as only needing to specify the label query, to simplify the flow of the tutorial as well.

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