Skip to content

Commit

Permalink
neptune.internal.hardware removed (#1783)
Browse files Browse the repository at this point in the history
  • Loading branch information
Raalsky authored May 27, 2024
1 parent 7b2f7a4 commit 1f4f371
Show file tree
Hide file tree
Showing 35 changed files with 1 addition and 1,394 deletions.
19 changes: 0 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -209,25 +209,6 @@ module = [
"neptune.attributes.utils",
"neptune.internal.exceptions",
"neptune.internal.utils.git_info",
"neptune.internal.hardware.cgroup.cgroup_filesystem_reader",
"neptune.internal.hardware.cgroup.cgroup_monitor",
"neptune.internal.hardware.gauges.cpu",
"neptune.internal.hardware.gauges.gauge",
"neptune.internal.hardware.gauges.gauge_factory",
"neptune.internal.hardware.gauges.gpu",
"neptune.internal.hardware.gauges.memory",
"neptune.internal.hardware.gpu.gpu_monitor",
"neptune.internal.hardware.metrics.metric",
"neptune.internal.hardware.metrics.metrics_container",
"neptune.internal.hardware.metrics.metrics_factory",
"neptune.internal.hardware.metrics.reports.metric_reporter",
"neptune.internal.hardware.metrics.reports.metric_reporter_factory",
"neptune.internal.hardware.metrics.service.metric_service",
"neptune.internal.hardware.metrics.service.metric_service_factory",
"neptune.internal.hardware.resources.gpu_card_indices_provider",
"neptune.internal.hardware.resources.system_resource_info",
"neptune.internal.hardware.resources.system_resource_info_factory",
"neptune.internal.hardware.system.system_monitor",
"neptune.internal.oauth",
"neptune.internal.patches.bravado",
"neptune.internal.storage.datastream",
Expand Down
2 changes: 1 addition & 1 deletion src/neptune/internal/backends/hosted_file_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
NeptuneException,
UploadedFileChanged,
)
from neptune.internal.hardware.constants import BYTES_IN_ONE_MB
from neptune.internal.storage import (
AttributeUploadConfiguration,
FileChunk,
Expand All @@ -88,6 +87,7 @@
from neptune.typing import ProgressBarType

logger = get_logger()
BYTES_IN_ONE_MB = 2**20
DEFAULT_CHUNK_SIZE = 5 * BYTES_IN_ONE_MB
DEFAULT_UPLOAD_CONFIG = AttributeUploadConfiguration(chunk_size=DEFAULT_CHUNK_SIZE)

Expand Down
15 changes: 0 additions & 15 deletions src/neptune/internal/hardware/__init__.py

This file was deleted.

15 changes: 0 additions & 15 deletions src/neptune/internal/hardware/cgroup/__init__.py

This file was deleted.

69 changes: 0 additions & 69 deletions src/neptune/internal/hardware/cgroup/cgroup_filesystem_reader.py

This file was deleted.

76 changes: 0 additions & 76 deletions src/neptune/internal/hardware/cgroup/cgroup_monitor.py

This file was deleted.

19 changes: 0 additions & 19 deletions src/neptune/internal/hardware/constants.py

This file was deleted.

15 changes: 0 additions & 15 deletions src/neptune/internal/hardware/gauges/__init__.py

This file was deleted.

53 changes: 0 additions & 53 deletions src/neptune/internal/hardware/gauges/cpu.py

This file was deleted.

38 changes: 0 additions & 38 deletions src/neptune/internal/hardware/gauges/gauge.py

This file was deleted.

Loading

0 comments on commit 1f4f371

Please sign in to comment.