Skip to main content

PreFab

PreFab logo

PreFab is a virtual nanofabrication environment that leverages deep learning and computer vision to predict and correct for structural variations in integrated photonic devices during nanofabrication.

Try Rosette: Want a more visual experience? Try Rosette - our new layout tool with PreFab models built in, designed for rapid chip design.

Prediction

PreFab predicts process-induced structural variations, including corner rounding, loss of small lines and islands, filling of narrow holes and channels, sidewall angle deviations, and stochastic effects. This allows designers to rapidly prototype and evaluate expected performance pre-fabrication.

Example of PreFab prediction

Correction

PreFab corrects device designs to ensure that the fabricated outcome closely matches the intended specifications. This minimizes structural variations and reduces performance discrepancies between simulations and actual experiments.

Example of PreFab correction

Models

Each photonic nanofabrication process requires unique models, which are regularly updated with the latest data. The current models include (see the full list in docs/models.md):

Foundry Process Latest Version Latest Dataset Model Name
ANT NanoSOI ANF1 (May 6 2024) d10 (Jun 8 2024) ANT_NanoSOI_ANF1_d10
ANT SiN ANF1 (May 6 2024) d1 (Jan 31 2024) ANT_SiN_ANF1_d1

New models are to be regularly added. Usage may change. For additional foundry and process models, feel free to contact us or raise an issue.

Installation

Install PreFab via pip:

pip install prefab

Or clone the repository and install in development mode:

git clone https://github.com/PreFab-Photonics/PreFab.git
cd PreFab
pip install -e .

Getting Started

Account setup

Before you can make PreFab requests, you will need to create an account.

To link your account, you will need an token. You can do this by running the following command in your terminal. This will open a browser window where you can log in and authenticate your token.

python3 -m prefab setup

Guides

Visit /docs/examples or our docs to get started with your first predictions.

Performance and Usage

PreFab models are hosted on a serverless cloud platform. Please keep in mind:

  • 🐢 Default CPU inference may be slower.
  • 🥶 The first prediction using optional GPU inference may take longer due to cold start server loading. Subsequent predictions will be faster.
  • 😊 Please be considerate of usage. Start with small tasks and limit usage during the initial stages. Thank you!

License

This project is licensed under the LGPL-2.1 license. © 2024 PreFab Photonics.

Metadata

Release files for prefab 1.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prefab 1.1.9
File Size Uploaded Provenance Actions
prefab-1.1.9.tar.gz 11.9 MB Without provenance Details for prefab-1.1.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for prefab 1.1.9
File Interpreter ABI Platform Actions
prefab-1.1.9-py3-none-any.whl Python 3 none any Details for prefab-1.1.9-py3-none-any.whl

Total release size: 11.9 MB

Release files / prefab-1.1.9.tar.gz

Download URL prefab-1.1.9.tar.gz
Size 11.9 MB
Tags Source
SHA-256 checksum
How to use checksums
19e2d14ba9cb99e80a2ef63238911e401050e838e8fec65a1298d81e98c6ff91
BLAKE2b-256 checksum
How to use checksums
b3bee2c6a56b060bb9e86eef5cd5e14f95750cf3f576422b613f268ce0425923
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release files / prefab-1.1.9-py3-none-any.whl

Download URL prefab-1.1.9-py3-none-any.whl
Size 50.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
372fde5f135ae21a076934cede1d44a58fdd096aaf43d4a8e4bb79884b91909f
BLAKE2b-256 checksum
How to use checksums
6f24c1a4f8a86241024f08294d475d5f088e5b94bcede73b6d69f1148eda9d8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Security for prefab 1.1.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.9 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page