-
This is a write up of a plan I've had for a long time to improve the performance of Pydantic/pydantic-core by another big step, hopefully up to 5x-10x in some cases.
# Summary
The core idea is t…
-
Hello, I have faced a problem and have not seen it in the issues.
(llm_unlearn) root@5e0bce17bb64:/home/chixu/ELEC631/llm_unlearn# python unlearn_harm.py --model_name=facebook/opt-1.3b --model_sav…
-
wanted to update the vfs file via python and other languages for convenience.
I tried blow with python.
```python
for _ in range(900):
try:
print(zlib.decompress(a[_:].decode('utf8'…
-
┌──(root💀nitrokali)-[~/Pyrit]
└─# python setup.py build
running build
running build_py
running build_ext
building 'cpyrit._cpyrit_cpu' extension
creating build/temp.linux-x86_64-3.9
creating bu…
-
I am running a `rosserial` node on an Arduino, I am using ROS Noetic. I initialize the node using the following:
```
```
The connection is establish…
-
I am looking to call C functions and access C structs using [llvmlite](https://github.com/numba/llvmlite), python bindings for the LLVM API (https://github.com/numba/llvmlite/issues/385).
This seem…
-
### System information
Type | Version/Name
--- | ---
Distribution Name | Ubuntu
Distribution Version | 23.10
Kernel Version | 6.5.0-10-generic
Architecture | x86_64/amd64
OpenZFS Version | 2.2…
FL140 updated
1 month ago
-
```
/Users/athena/Desktop/athena/sam_altman.py
/Users/athena/Library/Python/3.9/lib/python/site-packages/urllib3/__init__.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently…
-
The motivating example is the NumPy API that is exposed to other Python extensions such that they can work with arrays natively/directly without a round-trip through Python code/abstractions.
How t…
-
```
Consider the following header:
---------------------
enum testenum_e {
dummy0=0,
dummy1,
};
struct teststruct_s {
int dummy;
};
---------------------
This will give me the following objec…