Hello! I am trying to use Ray Tune to tune hyperparameters for my model deployed on Streamlit Cloud, but I get this error:
Traceback (most recent call last):
File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 430, in _run_script
exec(code, module.__dict__)
File "/app/fyp/streamlit.py", line 437, in <module>
progress_reporter=reporter)
File "/home/appuser/venv/lib/python3.7/site-packages/ray/tune/tune.py", line 321, in run
_ray_auto_init()
File "/home/appuser/venv/lib/python3.7/site-packages/ray/tune/tune.py", line 768, in _ray_auto_init
ray.init()
File "/home/appuser/venv/lib/python3.7/site-packages/ray/_private/client_mode_hook.py", line 105, in wrapper
return func(*args, **kwargs)
File "/home/appuser/venv/lib/python3.7/site-packages/ray/worker.py", line 937, in init
ray_params=ray_params)
File "/home/appuser/venv/lib/python3.7/site-packages/ray/node.py", line 189, in __init__
self._init_temp()
File "/home/appuser/venv/lib/python3.7/site-packages/ray/node.py", line 386, in _init_temp
try_to_create_directory(self._temp_dir)
File "/home/appuser/venv/lib/python3.7/site-packages/ray/_private/utils.py", line 835, in try_to_create_directory
os.makedirs(directory_path, exist_ok=True)
File "/usr/local/lib/python3.7/os.py", line 223, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/tmp/ray'
I’m quite new to this, so I’m not sure if its because I can’t create a temp folder on Streamlit itself or on Github. Thanks for helping!