Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A few Python fixes#1471

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
levkk merged 3 commits intomasterfromlevkk-py312
May 17, 2024
Merged

A few Python fixes#1471

levkk merged 3 commits intomasterfromlevkk-py312
May 17, 2024

Conversation

levkk
Copy link
Contributor

@levkklevkk commentedMay 17, 2024
edited
Loading

  1. Show the Python executable when creating the extension (validating Python dependencies).
  2. Print virtualenv error to stderr instead of stdout; this way, it will be captured in Postgres logs.
  3. Add a working Python 3.12 environment, with support forpgml.train(),pgml.embed(),pgml.transform(),pgml.chunk().

@levkklevkk changed the titleA few fixesA few Python fixesMay 17, 2024
@levkklevkk requested a review fromkczimmMay 17, 2024 08:14
Copy link
Contributor

@kczimmkczimm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM

@@ -0,0 +1,97 @@
accelerate==0.30.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I'm guessing these are linux python 3.12 requirements. Why not replace requirements.linux.txt with this, and document 3.12 as the Python version required, to avoid sprawling too much. These frozen requirements are for deployments/dockerfiles more than development.

Copy link
ContributorAuthor

@levkklevkkMay 17, 2024
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I'm guessing these are linux python 3.12 requirements.

Don't have to guess, it's in the PR description.

Why not replace requirements.linux.txt with this, and document 3.12 as the Python version required, to avoid sprawling too much.

ray doesn't run on Python 3.12 and above, which is required byvllm andpgml.transform_stream(). So we actually don't have full support for our extension in Python 3.12.

These frozen requirements are for deployments/dockerfiles more than development.

Well, we have to start somewhere. I need this to run on Python 3.12 locally since I've seen the light and now am using Arch with latest available Python version. Arch users now officially outnumber Ubuntu users, so ...there you go.

@levkklevkk merged commitc321a4c intomasterMay 17, 2024
@levkklevkk deleted the levkk-py312 branchMay 17, 2024 17:27
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@montanalowmontanalowmontanalow left review comments

@kczimmkczimmkczimm approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@levkk@montanalow@kczimm

[8]ページ先頭

©2009-2025 Movatter.jp