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

Error with pz.Execute() when installing from source #22

Open
aychang95 opened this issue Jun 12, 2024 · 2 comments
Open

Error with pz.Execute() when installing from source #22

aychang95 opened this issue Jun 12, 2024 · 2 comments

Comments

@aychang95
Copy link

I installed palimpzest from source and tried to run the example notebook but the line below gave an error that Execute() method does not exist:

results, plan = pz.Execute(emails, policy, num_samples=2, nocache=True, verbose=True)

Works well when installing via PyPI: pip install palimpzest.

@mdr223
Copy link
Collaborator

mdr223 commented Jun 12, 2024

Hi @aychang95, thanks for opening an issue!

You're absolutely correct that the Execute() functionality will error at the moment if you install from source. Shortly after releasing the paper pre-print we began embarking on an overdue refactor of our code, which is slated to be merged back into main on June 17th.

If the pip package is not sufficient for your use case, please let me know and I'd be happy to help debug things so you can get a working version in the 5-day interim.

Also, if you don't mind my asking, what is your intended use case for PZ? We're very interested in learning more about the problems / workloads people are trying to solve with this system.

@aychang95
Copy link
Author

Ah I saw prof. @mikecafarella speak on Palimpzest at the MIT CSAIL Summit event last week, and found the premise super interesting and potentially useful for our python notebook environments.
If you're almost done with the refactoring, I can definitely wait to try it out.

I've personally been wanting to experiment it from source with our GPU notebook servers. I'm curious to see how it could work with locally running LLMs.

For now we've got the pip package working in our palimpzest notebook environment on our CPU and GPU servers your demo as a quickstart notebook:

Open In American Data Science

Also as an aside, I would love the ability to set the gradio port param as well e.g. 5000 (instead of the default)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants