I never know if I'm actually doing this right tbh... But as per this post I would love to see some environmental variables added to the webui.bat that automatically protect us forge fans from telemetry being sent to huggingface-hub (in venv/lib/site-packages or c:\users[yourusername].cache\huggingface) or any other telemetry that sdforge becomes aware of that could be automatically opted out of. Such as in transformers/utils/hub.py and hf_api.py.
Telemetry was an issue in Comfy-cli recently which was sending telemetry data by default. They made a ton of removals And now it filters properly and seems to better protect non-technical users. I know telemetry can be necessary to gather feedback for developers, but should not happen if there's any chance (even accidentally) of sensitive data like strings, tokens, images, embeddings, or training dataset information without the user knowing.
It seems OP from reddit misread a line of code about prompt_tracking_consent for comfy-cli, but I still don't think their post should have been removed as there are legitimate security concerns. But I know I'll definitely be renaming all of my datasets with an _ in front of everything now before training just in case ;)
Huggingface recently changed TRANSFORMERS_OFFLINE=1 so I duplicate it a bunch of times in activate.bat in comfyui/venv/scripts/ for example because I don't know exactly where to put it. But anyway here is the opt-out code that could be added if you like:
REM Disable Huggingface Telemetry
set "HF_HUB_DISABLE_TELEMETRY=1"
REM Set Huggingface Transformers to Offline mode
set "TRANSFORMERS_OFFLINE=1"
Not sure if this next one would cause any issues but I believe it allows from_pretrained to use local_files_only=True universally now I read, it was recently added.
REM Set Huggingface Offline mode
set "HF_HUB_OFFLINE=1"
It would be great if we could completely uninstall huggingface-hub it will not break sdforge like it does with comfyui. Still completely working with local models in offline mode. sd1_clip.py seems to be a problem in comfyui when attempting this, and a few other areas.
Another alternative... maybe on any upload requests outside of localhost the outgoing must be approved in the console by pressing y? We can do that with a firewall but for the sake of convenience? I tried to implement this into aiohttp for comfyui for some post and requests stuff I didn't like but it broke many things of course.
I never know if I'm actually doing this right tbh... But as per this post I would love to see some environmental variables added to the webui.bat that automatically protect us forge fans from telemetry being sent to huggingface-hub (in venv/lib/site-packages or c:\users[yourusername].cache\huggingface) or any other telemetry that sdforge becomes aware of that could be automatically opted out of. Such as in transformers/utils/hub.py and hf_api.py.
Telemetry was an issue in Comfy-cli recently which was sending telemetry data by default. They made a ton of removals And now it filters properly and seems to better protect non-technical users. I know telemetry can be necessary to gather feedback for developers, but should not happen if there's any chance (even accidentally) of sensitive data like strings, tokens, images, embeddings, or training dataset information without the user knowing.
It seems OP from reddit misread a line of code about prompt_tracking_consent for comfy-cli, but I still don't think their post should have been removed as there are legitimate security concerns. But I know I'll definitely be renaming all of my datasets with an _ in front of everything now before training just in case ;)
Huggingface recently changed TRANSFORMERS_OFFLINE=1 so I duplicate it a bunch of times in activate.bat in comfyui/venv/scripts/ for example because I don't know exactly where to put it. But anyway here is the opt-out code that could be added if you like:
It would be great if we could completely uninstall huggingface-hub it will not break sdforge like it does with comfyui. Still completely working with local models in offline mode. sd1_clip.py seems to be a problem in comfyui when attempting this, and a few other areas.
Another alternative... maybe on any upload requests outside of localhost the outgoing must be approved in the console by pressing y? We can do that with a firewall but for the sake of convenience? I tried to implement this into aiohttp for comfyui for some post and requests stuff I didn't like but it broke many things of course.