Closed logicReasoner closed 2 years ago
Try using the TRANSFORMERS_OFFLINE=1 env variable as documented here, it worked for me.
Try using the TRANSFORMERS_OFFLINE=1 env variable as documented here, it worked for me.
Any chance someone could explain how to do this? I'm not understanding the docs
In ~/miniconda3/lib/python3.9/site-packages/transformers/file_utils.py line 328 _is_offline_mode = True if os.environ.get("TRANSFORMERS_OFFLINE", "1").upper() in ENV_VARS_TRUE_VALUES else False I think this should be enabled by default, useful if you have spotty connection
Hello, thanks for the very useful project! :) Right now, after each run on the console, it takes ~30 seconds contacting some third-party websites before the actual inference starts. I am on a slow, laggy Internet connection and it's really annoying to wait each time. If I disconnect from the Internet entirely, then the tool complains about "cannot find the requested files in the cached path" but they must be there (in the cache) already since it no longer downloads anything...
Also, for some prompts like "Superman in the mountains" I get a black image as result. Is that to be expected?