-
When sending ASGI response:
```py
await send({
"type": "http.response.body",
"body": body,
"more_body": False,
})
```
Nginx Unit currently allows body to be only`bytes` type, but P…
-
## Describe the problem this feature would solve
Currently you cannot conveniently manipulate strided memory via `Memory` and `Span`, as they have no support for stride. While it may soon be possible…
-
When I run train.py python train.py --datacfg cfg/ape.data --modelcfg cfg/yolo-pose.cfg --initweightfile backup/ape/init.weights
i got this error AttributeError: 'memoryview' object has no attr…
-
I want to use tomopy to align the projections using the align_joint function
**To Reproduce (if applicable)**
`proj=tomopy.prep.alignment.align_joint(proj, angles, fdir='./', iters=3, pad=(4, 4)…
-
## 🚀 Feature
[RFC] Support MemoryView for Tensors
## Motivation
When we are checkpointing the state dict to remote storage, we currently move entire tensors from GPU to CPU before uploading the b…
-
I know that some python libraries with native code have added support for this (i needs some kind of explicit reference type).
Reference: https://github.com/indygreg/python-zstandard/issues/26
T…
-
While talking with @laurawatkins about this example, we realized that the notebook in this repo is not consistent with the examples files. I think this is because in #1 I updated the files but didn't…
-
make `float` not act like `float | int` (and `complex` act like `complex | float`) , and `bytes` not act like `bytes | memoryview | bytearray`
we can still infer `float | int` though:
```py
a = 1…
-
**Bug Report**
Specifying a subtype for `memoryview` is required to pass mypy checks, but this create a `TypeError` in Python.
**To Reproduce**
This fails mypy checks:
```python
import …
-
It occurs to me that if SCP reads and writes used `memoryview`s much more internally it may be possible to extract further performance improvements.
- [ ] Allow the `data` part of SDP and SCP packets …