Open friediisch opened 4 hours ago
Validated similarly on Ubuntu 24.04 with magic version 0.4.0
I did magic search pytorch -vvv
and it appears not to try pytorch
channel.
darin@home:/media/darin/M2/magic/hello-magic$ magic search pytorch -vvv
DEBUG pixi_config: Loading config from /etc/magic/config.toml
DEBUG pixi_config: Failed to load system config: /etc/magic/config.toml (error: failed to read config from '/etc/magic/config.toml')
DEBUG pixi_config: Loading config from /home/darin/.config/magic/config.toml
DEBUG pixi_config: Failed to load global config: /home/darin/.config/magic/config.toml (error: failed to read config from '/home/darin/.config/magic/config.toml')
DEBUG pixi_config: Loading config from /home/darin/.config/magic/config.toml
DEBUG pixi_config: Failed to load global config: /home/darin/.config/magic/config.toml (error: failed to read config from '/home/darin/.config/magic/config.toml')
DEBUG pixi_config: Loading config from /home/darin/.modular/config.toml
INFO pixi_config: Loaded config from: /home/darin/.modular/config.toml
DEBUG pixi_config: Loading config from /media/darin/M2/magic/hello-magic/.magic/config.toml
DEBUG pixi_config: Failed to load local config: /media/darin/M2/magic/hello-magic/.magic/config.toml (error: failed to read config from '/media/darin/M2/magic/hello-magic/.magic/config.toml')
Using channels: pytorch, conda-forge, https://conda.modular.com/max/
DEBUG pixi_config: Loading config from /etc/magic/config.toml
DEBUG pixi_config: Failed to load system config: /etc/magic/config.toml (error: failed to read config from '/etc/magic/config.toml')
DEBUG pixi_config: Loading config from /home/darin/.config/magic/config.toml
DEBUG pixi_config: Failed to load global config: /home/darin/.config/magic/config.toml (error: failed to read config from '/home/darin/.config/magic/config.toml')
DEBUG pixi_config: Loading config from /home/darin/.config/magic/config.toml
DEBUG pixi_config: Failed to load global config: /home/darin/.config/magic/config.toml (error: failed to read config from '/home/darin/.config/magic/config.toml')
DEBUG pixi_config: Loading config from /home/darin/.modular/config.toml
INFO pixi_config: Loaded config from: /home/darin/.modular/config.toml
DEBUG rattler_repodata_gateway::fetch: Unsupported cache-control value 'max-age=30, must-revalidate'. Assuming out of date...
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: rattler_repodata_gateway::fetch: fetching 'https://conda.modular.com/max/linux-64/repodata.json.bz2'
DEBUG rattler_repodata_gateway::fetch: Unsupported cache-control value 'max-age=30, must-revalidate'. Assuming out of date...
DEBUG rattler_repodata_gateway::fetch: Cache is 2days 23h 55m 52s 554ms 813us 905ns old but can at most be 20m old. Assuming out of date...
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: reqwest::connect: starting new connection: https://conda.modular.com/
DEBUG hyper_util::client::legacy::connect::dns: resolving host="conda.modular.com"
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: rattler_repodata_gateway::fetch: fetching 'https://conda.modular.com/max/noarch/repodata.json.bz2'
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: reqwest::connect: starting new connection: https://conda.modular.com/
INFO get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.anaconda.org")), port: None, path: "/pytorch/", query: None, fragment: None }, name: Some("pytorch") } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: rattler_repodata_gateway::fetch::jlap: fetching JLAP state from https://conda.anaconda.org/pytorch/noarch/repodata.jlap (bytes=680-)
DEBUG hyper_util::client::legacy::connect::dns: resolving host="conda.modular.com"
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.anaconda.org")), port: None, path: "/pytorch/", query: None, fragment: None }, name: Some("pytorch") } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: reqwest::connect: starting new connection: https://conda.anaconda.org/
DEBUG hyper_util::client::legacy::connect::dns: resolving host="conda.anaconda.org"
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: hyper_util::client::legacy::connect::http: connecting to 18.238.192.58:443
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: hyper_util::client::legacy::connect::http: connecting to 18.238.192.73:443
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: hyper_util::client::legacy::connect::http: connected to 18.238.192.58:443
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: hyper_util::client::legacy::connect::http: connected to 18.238.192.73:443
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.anaconda.org")), port: None, path: "/pytorch/", query: None, fragment: None }, name: Some("pytorch") } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: hyper_util::client::legacy::connect::http: connecting to 104.19.144.37:443
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: h2::client: binding client connection
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: h2::client: client connection bound
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: h2::codec::framed_write: send frame=Settings { flags: (0x0), enable_push: 0, initial_window_size: 2097152, max_frame_size: 16384, max_header_list_size: 16384 }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: hyper_util::client::legacy::pool: pooling idle connection for ("https", conda.modular.com)
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: hyper_util::client::legacy::pool: reuse idle connection for ("https", conda.modular.com)
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_write: send frame=WindowUpdate { stream_id: StreamId(0), size_increment: 5177345 }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_write: send frame=Headers { stream_id: StreamId(1), flags: (0x5: END_HEADERS | END_STREAM) }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_write: send frame=Headers { stream_id: StreamId(3), flags: (0x5: END_HEADERS | END_STREAM) }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.anaconda.org")), port: None, path: "/pytorch/", query: None, fragment: None }, name: Some("pytorch") } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: hyper_util::client::legacy::connect::http: connected to 104.19.144.37:443
DEBUG h2::client: binding client connection
DEBUG h2::client: client connection bound
DEBUG h2::codec::framed_write: send frame=Settings { flags: (0x0), enable_push: 0, initial_window_size: 2097152, max_frame_size: 16384, max_header_list_size: 16384 }
DEBUG Connection{peer=Client}: h2::codec::framed_write: send frame=GoAway { error_code: NO_ERROR, last_stream_id: StreamId(0) }
DEBUG Connection{peer=Client}: h2::proto::connection: Connection::poll; connection error error=GoAway(b"", NO_ERROR, Library)
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_read: received frame=Settings { flags: (0x0), max_concurrent_streams: 128, initial_window_size: 65536, max_frame_size: 16777215 }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_write: send frame=Settings { flags: (0x1: ACK) }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_read: received frame=WindowUpdate { stream_id: StreamId(0), size_increment: 2147418112 }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_read: received frame=Settings { flags: (0x1: ACK) }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::proto::settings: received settings ACK; applying Settings { flags: (0x0), enable_push: 0, initial_window_size: 2097152, max_frame_size: 16384, max_header_list_size: 16384 }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.anaconda.org")), port: None, path: "/pytorch/", query: None, fragment: None }, name: Some("pytorch") } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: h2::client: binding client connection
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.anaconda.org")), port: None, path: "/pytorch/", query: None, fragment: None }, name: Some("pytorch") } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: h2::client: client connection bound
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.anaconda.org")), port: None, path: "/pytorch/", query: None, fragment: None }, name: Some("pytorch") } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: h2::codec::framed_write: send frame=Settings { flags: (0x0), enable_push: 0, initial_window_size: 2097152, max_frame_size: 16384, max_header_list_size: 16384 }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.anaconda.org")), port: None, path: "/pytorch/", query: None, fragment: None }, name: Some("pytorch") } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: hyper_util::client::legacy::pool: pooling idle connection for ("https", conda.anaconda.org)
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.anaconda.org")), port: None, path: "/pytorch/", query: None, fragment: None }, name: Some("pytorch") } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_write: send frame=WindowUpdate { stream_id: StreamId(0), size_increment: 5177345 }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.anaconda.org")), port: None, path: "/pytorch/", query: None, fragment: None }, name: Some("pytorch") } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_write: send frame=Headers { stream_id: StreamId(1), flags: (0x5: END_HEADERS | END_STREAM) }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.anaconda.org")), port: None, path: "/pytorch/", query: None, fragment: None }, name: Some("pytorch") } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_read: received frame=Settings { flags: (0x0), max_concurrent_streams: 100, initial_window_size: 65536, max_frame_size: 16777215 }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.anaconda.org")), port: None, path: "/pytorch/", query: None, fragment: None }, name: Some("pytorch") } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_write: send frame=Settings { flags: (0x1: ACK) }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.anaconda.org")), port: None, path: "/pytorch/", query: None, fragment: None }, name: Some("pytorch") } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_read: received frame=WindowUpdate { stream_id: StreamId(0), size_increment: 2147418112 }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.anaconda.org")), port: None, path: "/pytorch/", query: None, fragment: None }, name: Some("pytorch") } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_read: received frame=Settings { flags: (0x1: ACK) }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.anaconda.org")), port: None, path: "/pytorch/", query: None, fragment: None }, name: Some("pytorch") } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::proto::settings: received settings ACK; applying Settings { flags: (0x0), enable_push: 0, initial_window_size: 2097152, max_frame_size: 16384, max_header_list_size: 16384 }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.anaconda.org")), port: None, path: "/pytorch/", query: None, fragment: None }, name: Some("pytorch") } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_read: received frame=Headers { stream_id: StreamId(1), flags: (0x4: END_HEADERS) }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.anaconda.org")), port: None, path: "/pytorch/", query: None, fragment: None }, name: Some("pytorch") } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.anaconda.org")), port: None, path: "/pytorch/", query: None, fragment: None }, name: Some("pytorch") } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1), flags: (0x1: END_STREAM) }
INFO get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.anaconda.org")), port: None, path: "/pytorch/", query: None, fragment: None }, name: Some("pytorch") } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: rattler_repodata_gateway::fetch::jlap: The latest hash matches our local data. File up to date.
INFO get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.anaconda.org")), port: None, path: "/pytorch/", query: None, fragment: None }, name: Some("pytorch") } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}: rattler_repodata_gateway::fetch: fetched JLAP patches successfully
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_read: received frame=Headers { stream_id: StreamId(3), flags: (0x4: END_HEADERS) }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(3) }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(3), flags: (0x1: END_STREAM) }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=NoArch}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:stream_and_decode_to_file: rattler_repodata_gateway::fetch: downloaded 2.65 kB, decoded that into 12.21 kB, BLAKE2 hash: 83a604071c33a9bf9f0ee929dd5d30702c89f994a39e0d2528bded0e221eea2b
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_read: received frame=Headers { stream_id: StreamId(1), flags: (0x4: END_HEADERS) }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1), flags: (0x1: END_STREAM) }
DEBUG get_or_create_subdir{channel=Channel { platforms: None, base_url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("conda.modular.com")), port: None, path: "/max/", query: None, fragment: None }, name: None } platform=Linux64}:fetch_repo_data{cache_path=/home/darin/.cache/rattler/cache/repodata}:stream_and_decode_to_file: rattler_repodata_gateway::fetch: downloaded 2.60 kB, decoded that into 11.42 kB, BLAKE2 hash: 8fd4cf02e263ae45d68f81001e3304b419f6bd18a78bcec58a69f604a5e25197
Name pytorch
Version 2.4.1
Build cuda118_py311hb6eb748_301
Size 35915273
License BSD-3-Clause
Subdir linux-64
File Name pytorch-2.4.1-cuda118_py311hb6eb748_301.conda
URL https://conda.anaconda.org/conda-forge/linux-64/pytorch-2.4.1-cuda118_py311hb6eb748_301.conda
MD5 fe7145613d4098fbb36cd21dc96dc430
SHA256 90a940cdd9e41bd7f942afdb6039bcf7ad3a79124d60cbfb342b027978d9fac7
...
Verified that problem exists in pixi 0.32.1 as well
Where is the problem?
https://docs.modular.com/max/tutorials/magic
What can we do better?
When overwriting the
pytorch
installation fromconda-forge
installation with the one from thepytorch
channel, themagic.lock
file shows the correct package metadata:However when running the
magic search pytorch
command, the old metadata from theconda-forge
channel is displayed:Steps to reproduce (on M2 Macbook Air):
magic init hello-magic --format mojoproject
cd hello-magic
magic add pytorch
mojoproject.toml
tochannels = ["pytorch", "conda-forge", "https://conda.modular.com/max"]
magic remove pytorch
magic add pytorch
magic search pytorch
Anything else?
Huge fan of the project 🔥