-
Notifications
You must be signed in to change notification settings - Fork 2
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 it work on Colab #18
Labels
Comments
Initial experiment suggests this is possible with Colab's R runtime. system("python3 -m pip install simpletransformers", intern = TRUE)
install.packages("reticulate")
writeLines("import torch\ndef py_detect_cuda():\n return(torch.cuda.is_available())", "cuda2.py")
reticulate::source_python("cuda2.py")
py_detect_cuda() |
Initial idea is to rewrite this:
|
|
chainsawriot
added a commit
that referenced
this issue
Mar 22, 2024
chainsawriot
added a commit
that referenced
this issue
Mar 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The idea probably would be: Make grafzahl usable with non-Conda Python, e.g. the Python provided by Colab. As of writing, that's 3.8.
Install all the Python dependencies: pandas, emoji, tqdm, simpletransformers
The text was updated successfully, but these errors were encountered: