Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/da03/latex2im
https://github.com/da03/latex2im
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/da03/latex2im
- Owner: da03
- Created: 2024-08-25T22:47:09.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-26T01:59:34.000Z (3 months ago)
- Last Synced: 2024-08-27T01:21:10.917Z (3 months ago)
- Language: Python
- Size: 91.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# latex2im
## Usage
### Launch GPU Servers
```
CUDA_VISIBLE_DEVICES=0 stdbuf -oL python diffusion_server_flask.py 6666 > final_logs_gpu_servers/log.rushgpu01.0.6666.jan9 2>&1 &
CUDA_VISIBLE_DEVICES=1 stdbuf -oL python diffusion_server_flask.py 6667 > final_logs_gpu_servers/log.rushgpu01.1.6667.jan9 2>&1 &
CUDA_VISIBLE_DEVICES=2 stdbuf -oL python diffusion_server_flask.py 6668 > final_logs_gpu_servers/log.rushgpu01.2.6668.jan9 2>&1 &
CUDA_VISIBLE_DEVICES=3 stdbuf -oL python diffusion_server_flask.py 6669 > final_logs_gpu_servers/log.rushgpu01.3.6669.jan9 2>&1 &
```### Launch Redis Server
```
stdbuf -oL ./redis-server > ../log.redis_server.jan9 2>&1 & #(wd: /n/rush_lab/Lab/Users/yuntian/redis/redis-7.0.5/src)
```### Launch Main Server
```
stdbuf -oL gunicorn --bind localhost:4001 --workers 21 --worker-class=gevent --worker-connections=1000 --timeout 1200 web_server_flaskin_counter:app > final_logs_backendserver/log.gunicorn.4001.counter2 2>&1 &
```