Buckets:

download
raw
374 Bytes
import pytest
from nos.common.runtime import is_torch_neuron_available
pytestmark = pytest.mark.skipif(not is_torch_neuron_available(), reason="Requires torch_neuron")
def test_neuron_device():
from nos.neuron.device import NeuronDevice
neuron_env = NeuronDevice.get()
assert neuron_env.device_count() > 0
assert neuron_env.setup_environment() is None

Xet Storage Details

Size:
374 Bytes
·
Xet hash:
f8147eadaf9cb8135007facd9552d41e620f0e9a1bae69480047b13de22b4409

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.