All Projects → lehner → gpt

lehner / gpt

Licence: GPL-2.0 license
A Python toolkit for lattice field theory, quantum computing, and machine learning

Programming Languages

python
139335 projects - #7 most used programming language
C++
36643 projects - #6 most used programming language
OpenEdge ABL
179 projects
shell
77523 projects
c
50402 projects - #5 most used programming language
TeX
3793 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to gpt

LatticeQCD.jl
A native Julia code for lattice QCD with dynamical fermions in 4 dimension.
Stars: ✭ 85 (+41.67%)
Mutual labels:  lattice-gauge-theory, lattice-field-theory, lattice-qcd
ngx-widget-grid
Angular 2.x or in general ng-x module for dashboards
Stars: ✭ 65 (+8.33%)
Mutual labels:  grid
ekzo
💫 Functional Sass framework for rapid and painless development
Stars: ✭ 32 (-46.67%)
Mutual labels:  grid
FasterTransformer
Transformer related optimization, including BERT, GPT
Stars: ✭ 1,571 (+2518.33%)
Mutual labels:  gpt
flex-box-grid
Responsive, mobile first Flexbox Grid
Stars: ✭ 39 (-35%)
Mutual labels:  grid
BeeGridTable
BeeGridTable , is a Highly Customizable Table UI component library based on Vue.js. Rich functions、More efficient、Easy to use!
Stars: ✭ 45 (-25%)
Mutual labels:  grid
gridmap
Easily map Python functions onto a cluster using a DRMAA-compatible grid engine like Sun Grid Engine (SGE).
Stars: ✭ 79 (+31.67%)
Mutual labels:  grid
NLP-paper
🎨 🎨NLP 自然语言处理教程 🎨🎨 https://dataxujing.github.io/NLP-paper/
Stars: ✭ 23 (-61.67%)
Mutual labels:  gpt
svelte-datagrid
Svelte data grid spreadsheet best best features and performance from excel
Stars: ✭ 48 (-20%)
Mutual labels:  grid
TeeGrid-VCL-FMX-Samples
Grid control for Delphi and C++ (VCL and FMX)
Stars: ✭ 132 (+120%)
Mutual labels:  grid
GlitchyGrid
An experimental grid layout slideshow with a stack-like navigation and glitch effect.
Stars: ✭ 33 (-45%)
Mutual labels:  grid
masonry-css
Create mosaic grid, like masonry, with css only
Stars: ✭ 17 (-71.67%)
Mutual labels:  grid
grids
A grid comparison standard
Stars: ✭ 74 (+23.33%)
Mutual labels:  grid
THREE.InfiniteGridHelper
Infinite anti-aliased grid.
Stars: ✭ 101 (+68.33%)
Mutual labels:  grid
jismesh
Utilities for the Japanese regional grid square system defined in Japanese Industrial Standards (JIS X 0410 地域メッシュ).
Stars: ✭ 33 (-45%)
Mutual labels:  grid
agrid
A grid for modelling, analyse, map and visualise multidimensional and multivariate data
Stars: ✭ 16 (-73.33%)
Mutual labels:  grid
extjs-reactjs-examples
Code examples for ExtJS to React transition
Stars: ✭ 48 (-20%)
Mutual labels:  grid
Dsure
Dsure Front-end Development Framework ( Ultimate Personal Learning Edition 2014 )
Stars: ✭ 14 (-76.67%)
Mutual labels:  grid
minGPT-TF
A minimal TF2 re-implementation of the OpenAI GPT training
Stars: ✭ 36 (-40%)
Mutual labels:  gpt
parts
A GPT Partition Manager
Stars: ✭ 14 (-76.67%)
Mutual labels:  gpt

Build/Test codecov

GPT Logo

GPT - Grid Python Toolkit

GPT is a Python measurement toolkit built on Grid data parallelism (MPI, OpenMP, SIMD, and SIMT). It provides a physics library for lattice QCD and related theories, a QIS module including a digital quantum computing simulator, and an experimental machine learning module.

Quick Start

The fastest way to try GPT is to install Docker, start a Jupyter notebook server with the latest GPT version by running

docker run --rm -p 8888:8888 gptdev/notebook

and then open the shown link http://127.0.0.1:8888/?token=<token> in a browser. You should see the tutorials folder pre-installed.

Note that this session does not retain data after termination. Run

docker run --rm -p 8888:8888 -v $(pwd):/notebooks gptdev/notebook

to instead mount the current working directory on your machine.

Please consult the GPT Docker documentation for additional options.

Installation

A detailed description on how to install GPT locally can be found here.

Tutorials

You may also visit a static version of the tutorials here.

Usage

import gpt as g

# Double-precision 8^4 grid
grid = g.grid([8,8,8,8], g.double)

# Parallel random number generator
rng = g.random("seed text")

# Random gauge field
U = g.qcd.gauge.random(grid, rng)

# Mobius domain-wall fermion
fermion = g.qcd.fermion.mobius(U, mass=0.1, M5=1.8, b=1.0, c=0.0, Ls=24,
                               boundary_phases=[1,1,1,-1])

# Short-cuts
inv = g.algorithms.inverter
pc = g.qcd.fermion.preconditioner

# Even-odd-preconditioned CG solver
slv_5d = inv.preconditioned(pc.eo2_ne(), inv.cg(eps = 1e-4, maxiter = 1000))

# Abstract fermion propagator using this solver
fermion_propagator = fermion.propagator(slv_5d)

# Create point source
src = g.mspincolor(U[0].grid)
g.create.point(src, [0, 0, 0, 0])

# Solve propagator on 12 spin-color components
prop = g( fermion_propagator * src )

# Pion correlator
g.message(g.slice(g.trace(prop * g.adj(prop)), 3))
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].