1

I'm working on a machine learning project on python and I have a VM on GCP with a persistent disk that contains my data. Following the new Colab update I'm no longer able to directly read my VM via colab. I'm asked to go through Colab Enterprise where I can directly create an instance and read my notebooks, but I can't manage to mount my SSD disk as an additional disk in the new Colab Enterprise instance.

Can anyone help me solve this problem? Thanks in advance.

1
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. Commented Apr 10 at 20:47

1 Answer 1

1

Attaching to an existing PD from a Colab Enterprise runtime is not currently supported. Nor is specifying an existing PD when creating a runtime template. You also cannot access the underlying VM for the runtime, as a means to use gcloud attach disk. I this captured this CUJ as a feature request.

A workaround, albeit possibly not supportive of your use case, would be to use gcloud fuse to fuse to content sitting within GCS. This would require you to copy the existing SSD content to GCS.

! gcsfuse gcs_test_fuse /content/fused

import sys
sys.path.append('/content/fused/')

import test_fuse_lib

! fusermount -u  /content/fused/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.