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

Pytorch example fails with relative mount path error #110

Open
anjalirai-intel opened this issue Jan 9, 2025 · 0 comments · May be fixed by #111
Open

Pytorch example fails with relative mount path error #110

anjalirai-intel opened this issue Jan 9, 2025 · 0 comments · May be fixed by #111

Comments

@anjalirai-intel
Copy link
Contributor

Pytorch example fails with error Relative mount path: 'fs.mounts[0].path' (".//my_venv/bin/python3") is disallowed! Consider converting it to absolute by adding "/" at the beginning.

Steps to Reproduce
python3 -m venv my_venv
source my_venv/bin/activate
pip3 install torchvision pillow
python3 download-pretrained-model.py
make clean && make

Actual Output:
make clean && make
rm -f *.token *.sig *.manifest.sgx *.manifest
gramine-manifest
-Dlog_level=error
-Darch_libdir=/lib/x86_64-linux-gnu
*-Dentrypoint=.//my_venv/bin/python3
-Dvenv_dir=.//my_venv *

pytorch.manifest.template > pytorch.manifest

gramine-direct pytorch pytorchexample.py
[P1:T1:] error: Relative mount path: 'fs.mounts[0].path' (".//my_venv/bin/python3") is disallowed! Consider converting it to absolute by adding "/" at the beginning.
[P1:T1:] error: libos_init() failed in init_mount: Invalid argument (EINVAL)

@adarshan-intel adarshan-intel linked a pull request Jan 9, 2025 that will close this issue
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 a pull request may close this issue.

1 participant