Skip to main content

OSLO: Open Source framework for Large-scale transformer Optimization

Project description


O S L O

Open Source framework for Large-scale transformer Optimization

GitHub release Apache 2.0 Docs Issues



What's New:

What is OSLO about?

OSLO is a framework that provides various GPU based optimization technologies for large-scale modeling. 3D Parallelism and Kernel Fusion which could be useful when training a large model like EleutherAI/gpt-j-6B are the key features. OSLO makes these technologies easy-to-use by magical compatibility with Hugging Face Transformers that is being considered as a de facto standard in 2021.

Installation

OSLO can be easily installed using the pip package manager. All the dependencies such as torch and transformers should be installed automatically with the following command. Be careful that the 'core' is in the PyPI project name.

pip install oslo-core

Basic Usage

It only takes a single line of code. Now feel free to train and infer a large transformer model. 😎

import oslo

model = oslo.initialize(model, "oslo-config.json")

Documents

For detailed information, refer to our official document.

Administrative Notes

Citing OSLO

If you find our work useful, please consider citing:

@misc{oslo,
  author       = {Ko, Hyunwoong and Kim, Soohwan and Park, Kyubyong},
  title        = {OSLO: Open Source framework for Large-scale transformer Optimization},
  howpublished = {\url{https://github.com/tunib-ai/oslo}},
  year         = {2021},
}

Licensing

The Code of the OSLO project is licensed under the terms of the Apache License 2.0.

Copyright 2021 TUNiB Inc. http://www.tunib.ai All Rights Reserved.

Acknowledgements

The OSLO project is built with GPU support from the AICA (Artificial Intelligence Industry Cluster Agency).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oslo-core-2.0.0a2.tar.gz (42.7 kB view details)

Uploaded Source

File details

Details for the file oslo-core-2.0.0a2.tar.gz.

File metadata

  • Download URL: oslo-core-2.0.0a2.tar.gz
  • Upload date:
  • Size: 42.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.3

File hashes

Hashes for oslo-core-2.0.0a2.tar.gz
Algorithm Hash digest
SHA256 1f23a00076a4762b10dc7d9d2e41a6c678b527f9be662b71506556a2bb86710f
MD5 6c7e95684f3976f248d76fc21327ecdb
BLAKE2b-256 1a779eb51582f80b411388e3655115f872a6e9bdd0cc24cae8ffd0750202544f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page