semvec/pypi-packages huggingface dataset:
dit-ml 0.2.10
DiT (Diffusion Transformer)
Requires Python: >=3.10

<div align="center">

[![PyPI - Version](https://img.shields.io/pypi/v/dit_ml)](https://pypi.org/project/dit_ml/)
[![CI](https://github.com/Forbu/dit_ml/actions/workflows/ci.yml/badge.svg)](https://github.com/Forbu/dit_ml/actions/workflows/ci.yml)

</div>

### dit_ml

The goal of dit_ml is to create a python repository to create the base model for diffusion transformer (https://arxiv.org/abs/2212.09748)

Also we incorporate RoPe embedding (for equivariance) taking inspiration from https://arxiv.org/pdf/2104.09864, https://arxiv.org/pdf/2403.13298 (2D mixed rope) 

## Installation

You can install `dit_ml` using pip:

```bash
pip install dit_ml
```

## Usage

Here's a basic example of how to use `dit_ml`:

```python
from dit_ml.dit import DiT

model = DiT(
    num_patches=input_size*input_size, # if 2d with flatten size
    hidden_size=hidden_size,
    depth=depth,
    num_heads=num_heads,
    learn_sigma=learn_sigma
)

dummy_x = torch.randn(batch_size, input_size * input_size, hidden_size)

dummy_c = torch.randn(batch_size, hidden_size) # Dummy conditioning vector

output = model(dummy_x, dummy_c) # of shape (batch_size, input_size * input_size, hidden_size)
```

## Development

To set up the development environment:

1. Clone the repository:

```bash
git clone https://github.com/Forbu/dit_ml.git
cd dit_ml
```

2. Install dependencies using uv:

```bash
uv sync
```

3. Run tests:

```bash
uv run pytest
```

## Contributing

Contributions are welcome! Please see the [LICENSE](LICENSE) for details.

## License

This project is licensed under the Apache 2.0 - see the [LICENSE](LICENSE) file for details.
boomcode 0.1.1
A fun, cool prank package that is easy to code in.
Requires Python: >=3.6

Hello, I am daredevilmonkeyface (AKA daredevilmonke), and am a begginer in python. I thought that it would be cool if someone could prank their friend with just a line of code. That would be great! But still, keep  in mind I am a beginner and could not make this any better (mabye I could add more functions). Thank you for using this package! 🫠🐁





https://github.com/daredevilmonkeyface/boomcode
This project is licensed under the [MIT License](./LICENSE).