This release is a pre-release and may not be stable for production use.
WildTorch
WildTorch: Leveraging GPU Acceleration for High-Fidelity, Stochastic Wildfire Simulations with PyTorch
Installation
Install with minimal dependencies:
pip install wildtorch
Install with full dependencies (includes visualization and logging):
pip install 'wildtorch[full]'
Quick Start
pip install 'wildtorch[full]'
import wildtorch as wt
wildfire_map = wt.dataset.generate_empty_dataset()
simulator = wt.WildTorchSimulator(
wildfire_map=wildfire_map,
simulator_constants=wt.SimulatorConstants(p_continue_burn=0.7),
initial_ignition=wt.utils.create_ignition(shape=wildfire_map[0].shape),
)
logger = wt.logger.Logger()
for i in range(200):
simulator.step()
logger.log_stats(
step=i,
num_cells_on_fire=wt.metrics.cell_on_fire(simulator.fire_state).item(),
num_cells_burned_out=wt.metrics.cell_burned_out(simulator.fire_state).item(),
)
logger.snapshot_simulation(simulator)
logger.save_logs()
logger.save_snapshots()
Demo
See Our Live Demo at Hugging Face Space.
API Documents
See at Our Read the Docs.
Metadata
Release files for wildtorch 1.0.0b1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wildtorch-1.0.0b1.tar.gz | 22.3 kB | Without provenance | Details for wildtorch-1.0.0b1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wildtorch-1.0.0b1-py3-none-any.whl | Python 3 | none | any | Details for wildtorch-1.0.0b1-py3-none-any.whl |
Total release size: 39.3 kB
Release files / wildtorch-1.0.0b1.tar.gz
| Download URL | wildtorch-1.0.0b1.tar.gz |
|---|---|
| Size | 22.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25913285f48fa19b467904760cf54bde525200fc5c3d2cceba5320997884f397
|
|
BLAKE2b-256 checksum How to use checksums |
ac4897532ab5367918dbfe29e9380ff294c3fc1bad2b9b02582e64e9dcdb1b82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.0
|
Release files / wildtorch-1.0.0b1-py3-none-any.whl
| Download URL | wildtorch-1.0.0b1-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e01e31af83de917dd2340c5fa7e90b86fc67fae2267e5f1fca4bcd83ba822dcf
|
|
BLAKE2b-256 checksum How to use checksums |
93ee5c09497c1a65d6dae83052b24f4d5bed7d809e616550620334f503f9653e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.0
|
Security for wildtorch 1.0.0b1
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.