Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug: Ersilia prints not adapted to long outputs #1455

Open
GemmaTuron opened this issue Dec 17, 2024 · 8 comments
Open

🐛 Bug: Ersilia prints not adapted to long outputs #1455

GemmaTuron opened this issue Dec 17, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@GemmaTuron
Copy link
Member

Describe the bug.

I am running Ersilia using the Python API, though I believe this is a problem on the CLI as well. When I run a model, it prints the outputs, but in the case of descriptors for example, which can have thousands of columns, this just clutters my terminal and makes it very difficult to follow. I am talking about this kind of printing. If the output is an array, only the first few values should be printed for clarity.

09:14:42 | DEBUG    | numeric_array
09:14:42 | DEBUG    | fingerprint
09:14:42 | DEBUG    | [-0.16217069327831268, -0.22873231768608093, 0.2539016902446747, 0.13426335155963898, 1.504109501838684, 0.4392009675502777, -0.023386826738715172, -0.0983983650803566, 0.11921375244855881, -0.07556186616420746, 1.3512521982192993, 0.122133769094944, 0.7075703144073486, 0.1358049362897873, 0.015197365544736385, 0.13897401094436646, -0.5125395655632019, 0.17096830904483795, -0.03985976800322533, -0.04970547556877136, 0.40511372685432434, -0.002354992786422372, -0.04410088434815407, -0.4040205776691437, -0.2317405790090561, 0.2253933995962143, -0.15340487658977509, -0.58453369140625, ...

Describe the steps to reproduce the behavior

No response

Operating environment

Ubuntu 24.04 LTS

@GemmaTuron GemmaTuron added the bug Something isn't working label Dec 17, 2024
@GemmaTuron
Copy link
Member Author

Despite this the model seems to be working but I'd double check what is happening

@Abellegese
Copy link
Contributor

Hey @GemmaTuron assign me on this task.

@Abellegese
Copy link
Contributor

Hi @GemmaTuron how can i reproduce your bug?

@DhanshreeA
Copy link
Member

Hey @Abellegese easiest way is to run a model like a descriptor such as eos7w6n, for example. The output from this model has >1000 columns which creates this issue.

@DhanshreeA
Copy link
Member

@GemmaTuron @Abellegese I am removing Abel from this issue for now, because there are other tasks in the pipeline that Abel is taking up. Abel, let's come back to this after those.

@Abellegese
Copy link
Contributor

Thank you @DhanshreeA .

@Abellegese
Copy link
Contributor

Yeah no worries currently am on refactoring ersilia maintenance.

@DhanshreeA
Copy link
Member

@OlawumiSalaam I think this might be interesting for you to take up if you feel like it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: On Hold
Development

No branches or pull requests

3 participants