Basic-UI-for-GPT-J-6B-with-low-vram
A repository to run gpt-j-6b on low vram machines (4.2 gb minimum vram for 2000 token context, 3.5 gb for 1000 token context). Model loading takes 12gb free ram.
- 112
- Jupyter Notebook
- Apache-2.0
- 5 y ago
arrmansa
Built from arrmansa's public GitHub profile. Not on Take My Repo yet, so there are no posts or updates here.
A repository to run gpt-j-6b on low vram machines (4.2 gb minimum vram for 2000 token context, 3.5 gb for 1000 token context). Model loading takes 12gb free ram.
A basic ui for running gpt neo 2.7B on low vram (3 gb Vram minimum)
A notebook that runs GPT-Neo with low vram (6 gb) and cuda acceleration by loading it into gpu memory in smaller parts.
I am using this to load gpt-j-6b to prevent excessive ram usage
A test to see the speed of transfer of tensors from cpu to gpu in pytorch with 2 cuda streams
Basic Proof of concept for using simulated annealing on the sofa problem to get a rough shape.
StrongMock is a powerful mocking library for Python that leverages low-level ctypes functionality to provide extensive mocking capabilities. Some care may be needed while using this.
An implementation of Variance Pruning: Pruning Language Models via Temporal Neuron Variance by Berry Weinstein, Yonatan Belinkov
log unique request id, while replacing newlines for a good log format
A python package to offload a function call to an http server running on localhost automatically using a decorator. Compatible with multiprocessing, pickle, flask, fastapi, async etc..
Decrease the model size by replacing fully connected layers with partially connected layers
A set of scripts and tools to enhance accuracy on qwen image edit border shifting and distortion
My guide to setup windows in a way that is private, fast and updateless.
Some solutions for leetcode problems that I found fun - either the algorithm or using numpy bruteforce where it shouldn't be
A scheduler to maximize throughput and optimize latency for ML in realtime systems
shortcuts to unrecommend and dislike videos on youtube
a benchmark to check the ipc speed compared to native speed when incrementing a counter
A non-conventional rapid meringue recipe that results in a limited lifespan treat. (Warning - Uses magnesium)
Methods to modify python immutable python objects inplace using ctypes. Experimental. Warning - Do not use these in your code unless you are very, very sure what you are doing and have very good reasons.