colab_stable_diffusion icon indicating copy to clipboard operation
colab_stable_diffusion copied to clipboard

Colab is disconnecting

Open gokuldaskumar opened this issue 2 years ago • 13 comments

After running the last cell it is disconnecting after 8-9 minutes.

gokuldaskumar avatar Sep 21 '23 03:09 gokuldaskumar

I think this time is still to detect folder keywords, the detection of the running code is not likely, because I was a clickable link, the code was cut off later.

wage666 avatar Sep 21 '23 08:09 wage666

There can be three possibilities:

  1. Detect based on signature of running code (kinda how antivirus works) - very less likely
  2. Detect folder names on the HDD (highly likely)
  3. Detect gradio link (if this is the case, ngrok should work) - less likely

To bypass the 2nd, we can encode folder names into some cryptic names and then override imports in the main file as shown here: https://stackoverflow.com/a/3074642/10193890

What do you guys think?

ParikhKadam avatar Sep 21 '23 17:09 ParikhKadam

提示这个信息,现在无法使用! 2023-09-22_105728

Benson80 avatar Sep 22 '23 02:09 Benson80

给个思路,去掉--share参数,我用https://github.com/camenduru/tunnels 插件,已完美运行, 这样绕来绕去,不定哪天colab就把我封了 😅@s4afa451dgf415f

tangtang30 avatar Sep 22 '23 08:09 tangtang30

好的,你们先按这个方法用,我有时间就提交

s4afa451dgf415f avatar Sep 22 '23 10:09 s4afa451dgf415f

its not possible to fix that right ? ı look in comunity and its like google wanna force people to but plan in colab and they make keyword trigger to disconnect ...

biowaea avatar Sep 24 '23 13:09 biowaea

好的,你们先按这个方法用,我有时间就提交

还没有提交新的代码上去吗?

Benson80 avatar Sep 25 '23 02:09 Benson80

给个思路,去掉--share参数,我用https://github.com/camenduru/tunnels 插件,已完美运行, 这样绕来绕去,不定哪天colab就把我封了 😅@s4afa451dgf415f

怎么去掉--share参数?

Benson80 avatar Sep 25 '23 02:09 Benson80

谷歌已经禁用有关外部链接的方式,2个PRO号就算GPU用完了也够一个月了。一个月消费在200多。更新方式以后还是放在版本上吧。可能最坏的结局就是 谷歌彻底关停普通用户对于GPU的使用。

GHIUJH avatar Sep 25 '23 09:09 GHIUJH

给个思路,去掉--share参数,我用https://github.com/camenduru/tunnels 插件,已完美运行, 这样绕来绕去,不定哪天colab就把我封了 😅@s4afa451dgf415f

去掉share之后怎么穿透出来呀,我在Googledrive里加载了tunnels还需要怎么操作才能穿透出来呀

yuanye0077 avatar Sep 27 '23 10:09 yuanye0077

给个思路,去掉--share参数,我用https://github.com/camenduru/tunnels 插件,已完美运行, 这样绕来绕去,不定哪天colab就把我封了 😅@s4afa451dgf415f

去掉share之后怎么穿透出来呀,我在Googledrive里加载了tunnels还需要怎么操作才能穿透出来呀

不用试了,已经不行了,我故意没更新的。谷歌看来也会看评论区的,这种得自己想办法。

s4afa451dgf415f avatar Sep 27 '23 11:09 s4afa451dgf415f

给个思路,去掉--share参数,我用https://github.com/camenduru/tunnels 插件,已完美运行, 这样绕来绕去,不定哪天colab就把我封了 😅@s4afa451dgf415f

去掉share之后怎么穿透出来呀,我在Googledrive里加载了tunnels还需要怎么操作才能穿透出来呀

不用试了,已经不行了,我故意没更新的。谷歌看来也会看评论区的,这种得自己想办法。

哈哈哈所以建个群势在必行

yuanye0077 avatar Sep 27 '23 12:09 yuanye0077

给个思路,去掉--share参数,我用https://github.com/camenduru/tunnels 插件,已完美运行, 这样绕来绕去,不定哪天colab就把我封了 😅@s4afa451dgf415f

去掉share之后怎么穿透出来呀,我在Googledrive里加载了tunnels还需要怎么操作才能穿透出来呀

不用试了,已经不行了,我故意没更新的。谷歌看来也会看评论区的,这种得自己想办法。

大佬,建个TG讨论群吧,我们需要用到SD

Benson80 avatar Sep 28 '23 06:09 Benson80