Nachimak28 / evidently-data-analysis

A ⚡️ Lightning.ai ⚡️ component for train and test data drift detection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

runs ok on localhost, but no results after 15 min on the cloud

robert-s-lee opened this issue · comments

perhaps the default 1 CPU is not enough on the cloud to make progress.

Exactly, I've been facing the same problem and hence haven't confirmed with the team on the submission to the gallery. I've been meaning to ask about this in the slack channel but might just solve it here.

As seen in the logs, the html file which is the desired output format for this component does get generated successfully but it simply doesn't show up in the browser.

Would passing L.CloudCompute("cpu-small") to any of the work components help?
I can probably test this out with some trial and error.

I tried 8xCPUs but the same. Let me look at the code a bit and see what is going on.

I tried looking at the network calls and seeing a 404 error for the report_render request.
report_render is the object of StaticWebPage viewer component (LitFlow) in my app.py which inturn uses StaticWebFrontend to display the index.html generated by evidently work component. Am I using the StaticWebFrontend in a wrong way?

I even added a simple StaticWebFrontend component directly in the configure_layout function of the main component of the app. Still getting a similar 404 error. Could this be because of the time taken by evidently to build the dashboard?

Screen Shot 2022-08-23 at 8 50 53 PM

LightningWork and Flow cannot exchange files. Changed to use Flask inside the Work.

Ah, my bad - shall read the docs more carefully next time. Thank you so much for creating the PR and fixing the issue. Everything worked out perfectly in the cloud. Also really sorry if you had to spend too much time on it.

Closing this issue now