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
Rclone unable to access remote directory #1134
Comments
Thank you for reporting @willamloo3192 . There are multiple issues with the MLCommons cloud at the moment. I believe we had an alternative way to download models. Let me sync with @arjunsuresh today. |
Hi agian @willamloo3192 - actually you can't use rclone command like that because you need rclone config that will convert "mlc-inference" to an URL in the MLCommons cloud. CM is generating such config on the fly but we still need to fix the previous problem. I hope to provide fixes today ... Once again thank you for reporting! Related: #1136 |
For rclone to work without CM, you need to run this command before to set up rclone keys: |
Hi @gfursin I tried this before, but still unable to make it.
|
I have a feeling that it still related to your use of PROXY that rclone may not support (or may need explicit flags). I am checking it with @arjunsuresh and we will see if we can either emulate the environment with proxy to access internet or still try to provide a few possible solutions. It seems that each tool handles proxy differently. I see in rclone docs that it may be needed to set up the following var to use proxy:
Do you always have some env variables set in your environment to point to the proxy server? Is it a full URL with port? Is it different for HTTP and HTTPS ? I am just trying to see how we can set something like --proxy=yes in CM and then internally map some of your environment variables to the tool flags that are wrapped by CM ... |
@arjunsuresh - let's sync there too ... |
To answer this, we have set the proxy parameter with both capitalized and uncapitalized. The outcome is still the same. |
I believe the config should be as follows:
|
I have a quick check on my config file and i found some divergence based on what you provided.
After applied suggested config from you, I found some errors due to timeout.
|
Does adding this option help? |
it doesn't help out with the command |
@arjunsuresh I tried with
|
Unfortunately don't think so as the file is supposed to be in GBs. I believe this is the |
Doesn't help as the HTTP_PROXY and HTTPS_PROXY I had set in the environment variable. Might need your assistance. |
This means nothing really got downloaded. Since rclone download with proxy is not working outside of CM, it won't work via CM either. But we do see people using rclone behind proxy without any special settings in some MLPerf submissions. So I'm not sure what's the issue at your end. |
From my side, we set the proxy via For rclone wise, I'm kind out of idea |
Unfortunately we are also not entirely sure there as we just wrap the rclone command. We don't have an environment similar to yours to test further either. |
Would you rerun the same command and share with me the output of the CM? Thanks. |
It is still ongoing...
|
Awesome! Did you mind to share with me your environment variable? I just want to make apple-to-apple comparison. |
I'm not having any proxy in use. It is actually a clean docker running RHEL 8. |
The final output
|
I see. Okay, I have to consult my company's IT department how to unblock it. |
Command: rclone copy mlc-inference:mlcommons-inference-wg-public/stable_diffusion_fp32 ./stable_diffusion_fp32 -P
Error Message:
2024-02-28 13:54:17 ERROR : : error reading source directory: directory not found
2024-02-28 13:54:17 ERROR : Attempt 1/3 failed with 1 errors and: directory not found
2024-02-28 13:54:18 ERROR : : error reading source directory: directory not found
2024-02-28 13:54:18 ERROR : Attempt 2/3 failed with 1 errors and: directory not found
2024-02-28 13:54:18 ERROR : : error reading source directory: directory not found
2024-02-28 13:54:18 ERROR : Attempt 3/3 failed with 1 errors and: directory not found
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 1.8s
2024/02/28 13:54:18 Failed to copy: directory not found
The text was updated successfully, but these errors were encountered: