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

Add more LLM providers and their tests, improve docs #170

Merged
merged 15 commits into from
Jan 17, 2025
Merged

Conversation

kp2pml30
Copy link
Contributor

No description provided.

@@ -3,6 +3,9 @@
from pathlib import Path
import sys
import typing
import enum

import numpy

Check notice

Code scanning / CodeQL

Unused import Note

Import of 'numpy' is not used.
raise Exception(f'during building type/instantiation {cls!r}') from e


from .numpy import try_handle_np

Check notice

Code scanning / CodeQL

Cyclic import Note

Import of module
genlayer.py.storage._internal.numpy
begins an import cycle.
@@ -452,3 +409,5 @@


_known_descs[datetime.datetime] = _DateTimeDesc()

import genlayer.py.storage._internal.numpy

Check notice

Code scanning / CodeQL

Unused import Note

Import of 'genlayer' is not used.
import sys
import typing

from .core import *

Check notice

Code scanning / CodeQL

'import *' may pollute namespace Note

Import pollutes the enclosing namespace, as the imported module
genlayer.py.storage._internal.core
does not define '__all__'.
return _imp(cls)


from .generate import _known_descs, _Instantiation, LitTuple, LitPy

Check notice

Code scanning / CodeQL

Cyclic import Note

Import of module
genlayer.py.storage._internal.generate
begins an import cycle.
Comment on lines +16 to +21
from ._internal import (
decode_sub_vm_result,
decode_sub_vm_result_retn,
lazy_from_fd,
_lazy_api,
)

Check notice

Code scanning / CodeQL

Unused import Note

Import of 'decode_sub_vm_result_retn' is not used.

return lazy_from_fd(wasi.sandbox(cloudpickle.dumps(data)), decode)

return lazy_from_fd(wasi.sandbox(cloudpickle.dumps(fn)), decode_sub_vm_result)

Check warning

Code scanning / CodeQL

Use of the return value of a procedure Warning

The result of
sandbox
is used even though it is always None.
@kp2pml30 kp2pml30 changed the title Batch update Add more LLM providers and their tests, improve docs Jan 16, 2025
@kp2pml30 kp2pml30 enabled auto-merge January 16, 2025 23:52
@kp2pml30 kp2pml30 added this pull request to the merge queue Jan 16, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 17, 2025
@kp2pml30 kp2pml30 enabled auto-merge January 17, 2025 00:22
@kp2pml30 kp2pml30 added this pull request to the merge queue Jan 17, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 17, 2025
@kp2pml30 kp2pml30 added this pull request to the merge queue Jan 17, 2025
Merged via the queue into main with commit 6927e34 Jan 17, 2025
6 checks passed
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

Successfully merging this pull request may close these issues.

1 participant