mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GPU to 72 (https://www.mersenneforum.org/forumdisplay.php?f=95)
-   -   Colab question (https://www.mersenneforum.org/showthread.php?t=24875)

David703 2019-10-28 15:52

Hi, sorry to bother you guys, but I've been experiencing this error on all my Google accounts recently:

"Failed to execute cell. Could not send execute message to runtime: SecurityError: Permission denied to access property "traceDefinedHardwareId" on cross-origin object"
Is it a known problem with a known solution?


Here are the error details:
Permission denied to access property "traceDefinedHardwareId" on cross-origin object self.tr_NMvxyzOxhGbceXrQ/<@https://colab.research.google.com/github/chalsall/GPU72_CoLab/blob/master/gpu72_tf.ipynb:3:9 [EMAIL="self.tr_NMvxyzOxhGbceXrQ@https://colab.research.google.com/github/chalsall/GPU72_CoLab/blob/master/gpu72_tf.ipynb"]self.tr_NMvxyzOxhGbceXrQ@https://colab.research.google.com/github/chalsall/GPU72_CoLab/blob/master/gpu72_tf.ipynb[/EMAIL]:41:6 [EMAIL="get@https://colab.research.google.com/github/chalsall/GPU72_CoLab/blob/master/gpu72_tf.ipynb"]get@https://colab.research.google.com/github/chalsall/GPU72_CoLab/blob/master/gpu72_tf.ipynb[/EMAIL]:59:23 [EMAIL="get@https://colab.research.google.com/github/chalsall/GPU72_CoLab/blob/master/gpu72_tf.ipynb"]get@https://colab.research.google.com/github/chalsall/GPU72_CoLab/blob/master/gpu72_tf.ipynb[/EMAIL]:94:25 [EMAIL="get@https://colab.research.google.com/github/chalsall/GPU72_CoLab/blob/master/gpu72_tf.ipynb"]get@https://colab.research.google.com/github/chalsall/GPU72_CoLab/blob/master/gpu72_tf.ipynb[/EMAIL]:50:25 [EMAIL="get@https://colab.research.google.com/github/chalsall/GPU72_CoLab/blob/master/gpu72_tf.ipynb"]get@https://colab.research.google.com/github/chalsall/GPU72_CoLab/blob/master/gpu72_tf.ipynb[/EMAIL]:36:25 [EMAIL="get@https://colab.research.google.com/github/chalsall/GPU72_CoLab/blob/master/gpu72_tf.ipynb"]get@https://colab.research.google.com/github/chalsall/GPU72_CoLab/blob/master/gpu72_tf.ipynb[/EMAIL]:37:25 [EMAIL="I_@https://colab.research.google.com/v2/external/external_polymer_binary.js"]I_@https://colab.research.google.com/v2/external/external_polymer_binary.js[/EMAIL]?vrz=colab-20191025-092551-RC00_276702382:2519:66 Ida/<@https://colab.research.google.com/v2/external/external_polymer_binary.js?vrz=colab-20191025-092551-RC00_276702382:2562:424 [EMAIL="za@https://colab.research.google.com/v2/external/external_polymer_binary.js"]za@https://colab.research.google.com/v2/external/external_polymer_binary.js[/EMAIL]?vrz=colab-20191025-092551-RC00_276702382:12:336 [EMAIL="xa.prototype.next_@https://colab.research.google.com/v2/external/external_polymer_binary.js"]xa.prototype.next_@https://colab.research.google.com/v2/external/external_polymer_binary.js[/EMAIL]?vrz=colab-20191025-092551-RC00_276702382:10:453 Ba/this.next@https://colab.research.google.com/v2/external/external_polymer_binary.js?vrz=colab-20191025-092551-RC00_276702382:13:206 [EMAIL="b@https://colab.research.google.com/v2/external/external_polymer_binary.js"]b@https://colab.research.google.com/v2/external/external_polymer_binary.js[/EMAIL]?vrz=colab-20191025-092551-RC00_276702382:22:43

chalsall 2019-10-28 16:20

[QUOTE=David703;529117]Hi, sorry to bother you guys, but I've been experiencing this error on all my Google accounts recently:[/QUOTE]

Hmmm... Google is being a bit "grumpy" this morning -- refusing to give my shivering virtual selves (read: SOCKS tunneled "human instances") environments. My two Barbados manifesting accounts are getting instances, but they are being killed after an hour.

But... No errors such as you're reporting.

A couple of thoughts... I do remember Google presents a warning message when running the GPU72_TF Section for the first time. Something along the lines of "Google didn't author this -- be sure you review and trust it before running". Perhaps you didn't acknowledge that?

Alternatively, rather than cloning from Github, you can also just copy-and-paste the code from the GPU72 "View Note Access Key" -> "Notebook Access Key" page into a new Colab and/or Kaggle Notebook.

Remember that both Colab and Kaggle are very particular about the copy-and-paste. You can't just highlight the code, and then middle-button-click. You have to highlight, then "Cntl-C", then "Cntl-V" into the Notebook Section.

Please let us know if either of the above resolves your issue.

David703 2019-10-28 16:37

It always displays the message "Google didn't authorize etc etc" and I always press "Run anyways" so I don't think that is the problem. Just tried to copy and paste the code from the Notebooks Acces Keys section but Colab is still displaying the same error.

chalsall 2019-10-28 16:40

[QUOTE=David703;529122]Just tried to copy and paste the code from the Notebooks Acces Keys section but Colab is still displaying the same error.[/QUOTE]

Hmmm... Have you tried turning it off and on again?

That's meant to be funny, and serious, at the same time...

Perhaps try fulling exiting from your browser, and restarting. I can't think of a reason a full reboot would be needed, but if a browser reset doesn't help, perhaps try going to Settings, and flush your cache.

David703 2019-10-28 17:02

Tried to exit Firefox and then run Colab but it still displays the same error. Not weirdly, it seems to work fine using Chrome, it must have to do with the dozen addons I installed yesterday. I'm going to try to disable them one at a time and see which one is causing problems. Will let you know if I can figure this out.


EDIT: Just found the problem: the addon "Trace" was somehow preventing the cell from running, now that I jave disabled it Colab works fine, thank you guys for your help!

chalsall 2019-10-28 17:19

[QUOTE=David703;529125]EDIT: Just found the problem: the addon "Trace" was somehow preventing the cell from running, now that I jave disabled it Colab works fine, thank you guys for your help![/QUOTE]

Excellent. Good you found the cause of the "regression".

It's our pleasure to help with stuff like this. It's an important way to find the "edge-cases" of our code.

David703 2019-10-29 13:43

Sounds great! I would like to ask just another thing. Out of sheer curiosity: how come trial factoring a number in the 97M exponent range from 2^74 to 2^75 "costs" around 40GHz-days while an exponent in the 63M range still from 2^74 to 2^75 costs 60? Why, in general, is the TF algorithm that we run slower with lower exponents?

Uncwilly 2019-10-29 14:04

[QUOTE=David703;529188]Sounds great! I would like to ask just another thing. Out of sheer curiosity: how come trial factoring a number in the 97M exponent range from 2^74 to 2^75 "costs" around 40GHz-days while an exponent in the 63M range still from 2^74 to 2^75 costs 60? Why, in general, is the TF algorithm that we run slower with lower exponents?[/QUOTE]The number of candidates that need to be tested at each bit level goes down as the exponent goes up. Any divisor of a Mersenne number must be in the form 2kp+1 , where the p is the exponent in question. As it gets larger, there are fewer numbers in each bit size that will fit that requirement.

David703 2019-10-29 16:37

[QUOTE=Uncwilly;529193]Any divisor of a Mersenne number must be in the form 2kp+1 , where the p is the exponent in question[/QUOTE]


Oh, got it, thank you!

dcheuk 2019-11-08 21:09

Just got assigned 2 Tesla P100s on 2 different accounts! :smile::smile::smile:

dcheuk 2019-11-08 21:12

[QUOTE=dcheuk;530045]Just got assigned 2 Tesla P100s on 2 different accounts! :smile::smile::smile:[/QUOTE]

Make it 3 including my university's google account. :picard::picard::picard:


All times are UTC. The time now is 13:53.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.